We recommend using Azure Native.
azure.appplatform.SpringCloudApp
Explore with Pulumi AI
Manage an Azure Spring Cloud Application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
name: "example-springcloud",
resourceGroupName: example.name,
location: example.location,
});
const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
name: "example-springcloudapp",
resourceGroupName: example.name,
serviceName: exampleSpringCloudService.name,
identity: {
type: "SystemAssigned",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_spring_cloud_service = azure.appplatform.SpringCloudService("example",
name="example-springcloud",
resource_group_name=example.name,
location=example.location)
example_spring_cloud_app = azure.appplatform.SpringCloudApp("example",
name="example-springcloudapp",
resource_group_name=example.name,
service_name=example_spring_cloud_service.name,
identity={
"type": "SystemAssigned",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appplatform"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleSpringCloudService, err := appplatform.NewSpringCloudService(ctx, "example", &appplatform.SpringCloudServiceArgs{
Name: pulumi.String("example-springcloud"),
ResourceGroupName: example.Name,
Location: example.Location,
})
if err != nil {
return err
}
_, err = appplatform.NewSpringCloudApp(ctx, "example", &appplatform.SpringCloudAppArgs{
Name: pulumi.String("example-springcloudapp"),
ResourceGroupName: example.Name,
ServiceName: exampleSpringCloudService.Name,
Identity: &appplatform.SpringCloudAppIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("example", new()
{
Name = "example-springcloud",
ResourceGroupName = example.Name,
Location = example.Location,
});
var exampleSpringCloudApp = new Azure.AppPlatform.SpringCloudApp("example", new()
{
Name = "example-springcloudapp",
ResourceGroupName = example.Name,
ServiceName = exampleSpringCloudService.Name,
Identity = new Azure.AppPlatform.Inputs.SpringCloudAppIdentityArgs
{
Type = "SystemAssigned",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appplatform.SpringCloudService;
import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
import com.pulumi.azure.appplatform.SpringCloudApp;
import com.pulumi.azure.appplatform.SpringCloudAppArgs;
import com.pulumi.azure.appplatform.inputs.SpringCloudAppIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()
.name("example-springcloud")
.resourceGroupName(example.name())
.location(example.location())
.build());
var exampleSpringCloudApp = new SpringCloudApp("exampleSpringCloudApp", SpringCloudAppArgs.builder()
.name("example-springcloudapp")
.resourceGroupName(example.name())
.serviceName(exampleSpringCloudService.name())
.identity(SpringCloudAppIdentityArgs.builder()
.type("SystemAssigned")
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleSpringCloudService:
type: azure:appplatform:SpringCloudService
name: example
properties:
name: example-springcloud
resourceGroupName: ${example.name}
location: ${example.location}
exampleSpringCloudApp:
type: azure:appplatform:SpringCloudApp
name: example
properties:
name: example-springcloudapp
resourceGroupName: ${example.name}
serviceName: ${exampleSpringCloudService.name}
identity:
type: SystemAssigned
Create SpringCloudApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SpringCloudApp(name: string, args: SpringCloudAppArgs, opts?: CustomResourceOptions);
@overload
def SpringCloudApp(resource_name: str,
args: SpringCloudAppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SpringCloudApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
addon_json: Optional[str] = None,
custom_persistent_disks: Optional[Sequence[SpringCloudAppCustomPersistentDiskArgs]] = None,
https_only: Optional[bool] = None,
identity: Optional[SpringCloudAppIdentityArgs] = None,
ingress_settings: Optional[SpringCloudAppIngressSettingsArgs] = None,
is_public: Optional[bool] = None,
name: Optional[str] = None,
persistent_disk: Optional[SpringCloudAppPersistentDiskArgs] = None,
public_endpoint_enabled: Optional[bool] = None,
tls_enabled: Optional[bool] = None)
func NewSpringCloudApp(ctx *Context, name string, args SpringCloudAppArgs, opts ...ResourceOption) (*SpringCloudApp, error)
public SpringCloudApp(string name, SpringCloudAppArgs args, CustomResourceOptions? opts = null)
public SpringCloudApp(String name, SpringCloudAppArgs args)
public SpringCloudApp(String name, SpringCloudAppArgs args, CustomResourceOptions options)
type: azure:appplatform:SpringCloudApp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SpringCloudAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SpringCloudAppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SpringCloudAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpringCloudAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpringCloudAppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var springCloudAppResource = new Azure.AppPlatform.SpringCloudApp("springCloudAppResource", new()
{
ResourceGroupName = "string",
ServiceName = "string",
AddonJson = "string",
CustomPersistentDisks = new[]
{
new Azure.AppPlatform.Inputs.SpringCloudAppCustomPersistentDiskArgs
{
MountPath = "string",
ShareName = "string",
StorageName = "string",
MountOptions = new[]
{
"string",
},
ReadOnlyEnabled = false,
},
},
HttpsOnly = false,
Identity = new Azure.AppPlatform.Inputs.SpringCloudAppIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
IngressSettings = new Azure.AppPlatform.Inputs.SpringCloudAppIngressSettingsArgs
{
BackendProtocol = "string",
ReadTimeoutInSeconds = 0,
SendTimeoutInSeconds = 0,
SessionAffinity = "string",
SessionCookieMaxAge = 0,
},
IsPublic = false,
Name = "string",
PersistentDisk = new Azure.AppPlatform.Inputs.SpringCloudAppPersistentDiskArgs
{
SizeInGb = 0,
MountPath = "string",
},
PublicEndpointEnabled = false,
TlsEnabled = false,
});
example, err := appplatform.NewSpringCloudApp(ctx, "springCloudAppResource", &appplatform.SpringCloudAppArgs{
ResourceGroupName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
AddonJson: pulumi.String("string"),
CustomPersistentDisks: appplatform.SpringCloudAppCustomPersistentDiskArray{
&appplatform.SpringCloudAppCustomPersistentDiskArgs{
MountPath: pulumi.String("string"),
ShareName: pulumi.String("string"),
StorageName: pulumi.String("string"),
MountOptions: pulumi.StringArray{
pulumi.String("string"),
},
ReadOnlyEnabled: pulumi.Bool(false),
},
},
HttpsOnly: pulumi.Bool(false),
Identity: &appplatform.SpringCloudAppIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
IngressSettings: &appplatform.SpringCloudAppIngressSettingsArgs{
BackendProtocol: pulumi.String("string"),
ReadTimeoutInSeconds: pulumi.Int(0),
SendTimeoutInSeconds: pulumi.Int(0),
SessionAffinity: pulumi.String("string"),
SessionCookieMaxAge: pulumi.Int(0),
},
IsPublic: pulumi.Bool(false),
Name: pulumi.String("string"),
PersistentDisk: &appplatform.SpringCloudAppPersistentDiskArgs{
SizeInGb: pulumi.Int(0),
MountPath: pulumi.String("string"),
},
PublicEndpointEnabled: pulumi.Bool(false),
TlsEnabled: pulumi.Bool(false),
})
var springCloudAppResource = new SpringCloudApp("springCloudAppResource", SpringCloudAppArgs.builder()
.resourceGroupName("string")
.serviceName("string")
.addonJson("string")
.customPersistentDisks(SpringCloudAppCustomPersistentDiskArgs.builder()
.mountPath("string")
.shareName("string")
.storageName("string")
.mountOptions("string")
.readOnlyEnabled(false)
.build())
.httpsOnly(false)
.identity(SpringCloudAppIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.ingressSettings(SpringCloudAppIngressSettingsArgs.builder()
.backendProtocol("string")
.readTimeoutInSeconds(0)
.sendTimeoutInSeconds(0)
.sessionAffinity("string")
.sessionCookieMaxAge(0)
.build())
.isPublic(false)
.name("string")
.persistentDisk(SpringCloudAppPersistentDiskArgs.builder()
.sizeInGb(0)
.mountPath("string")
.build())
.publicEndpointEnabled(false)
.tlsEnabled(false)
.build());
spring_cloud_app_resource = azure.appplatform.SpringCloudApp("springCloudAppResource",
resource_group_name="string",
service_name="string",
addon_json="string",
custom_persistent_disks=[{
"mountPath": "string",
"shareName": "string",
"storageName": "string",
"mountOptions": ["string"],
"readOnlyEnabled": False,
}],
https_only=False,
identity={
"type": "string",
"identityIds": ["string"],
"principalId": "string",
"tenantId": "string",
},
ingress_settings={
"backendProtocol": "string",
"readTimeoutInSeconds": 0,
"sendTimeoutInSeconds": 0,
"sessionAffinity": "string",
"sessionCookieMaxAge": 0,
},
is_public=False,
name="string",
persistent_disk={
"sizeInGb": 0,
"mountPath": "string",
},
public_endpoint_enabled=False,
tls_enabled=False)
const springCloudAppResource = new azure.appplatform.SpringCloudApp("springCloudAppResource", {
resourceGroupName: "string",
serviceName: "string",
addonJson: "string",
customPersistentDisks: [{
mountPath: "string",
shareName: "string",
storageName: "string",
mountOptions: ["string"],
readOnlyEnabled: false,
}],
httpsOnly: false,
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
ingressSettings: {
backendProtocol: "string",
readTimeoutInSeconds: 0,
sendTimeoutInSeconds: 0,
sessionAffinity: "string",
sessionCookieMaxAge: 0,
},
isPublic: false,
name: "string",
persistentDisk: {
sizeInGb: 0,
mountPath: "string",
},
publicEndpointEnabled: false,
tlsEnabled: false,
});
type: azure:appplatform:SpringCloudApp
properties:
addonJson: string
customPersistentDisks:
- mountOptions:
- string
mountPath: string
readOnlyEnabled: false
shareName: string
storageName: string
httpsOnly: false
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
ingressSettings:
backendProtocol: string
readTimeoutInSeconds: 0
sendTimeoutInSeconds: 0
sessionAffinity: string
sessionCookieMaxAge: 0
isPublic: false
name: string
persistentDisk:
mountPath: string
sizeInGb: 0
publicEndpointEnabled: false
resourceGroupName: string
serviceName: string
tlsEnabled: false
SpringCloudApp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SpringCloudApp resource accepts the following input properties:
- Resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- Service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- Addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- Custom
Persistent List<SpringDisks Cloud App Custom Persistent Disk> - A
custom_persistent_disk
block as defined below. - Https
Only bool - Is only HTTPS allowed? Defaults to
false
. - Identity
Spring
Cloud App Identity - An
identity
block as defined below. - Ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - Is
Public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - Name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- Persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - Public
Endpoint boolEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- Tls
Enabled bool - Is End to End TLS Enabled? Defaults to
false
.
- Resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- Service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- Addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- Custom
Persistent []SpringDisks Cloud App Custom Persistent Disk Args - A
custom_persistent_disk
block as defined below. - Https
Only bool - Is only HTTPS allowed? Defaults to
false
. - Identity
Spring
Cloud App Identity Args - An
identity
block as defined below. - Ingress
Settings SpringCloud App Ingress Settings Args - An
ingress_settings
block as defined below. - Is
Public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - Name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- Persistent
Disk SpringCloud App Persistent Disk Args - An
persistent_disk
block as defined below. - Public
Endpoint boolEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- Tls
Enabled bool - Is End to End TLS Enabled? Defaults to
false
.
- resource
Group StringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name String - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- addon
Json String - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent List<SpringDisks Cloud App Custom Persistent Disk> - A
custom_persistent_disk
block as defined below. - https
Only Boolean - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity - An
identity
block as defined below. - ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - is
Public Boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name String
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - public
Endpoint BooleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- tls
Enabled Boolean - Is End to End TLS Enabled? Defaults to
false
.
- resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent SpringDisks Cloud App Custom Persistent Disk[] - A
custom_persistent_disk
block as defined below. - https
Only boolean - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity - An
identity
block as defined below. - ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - is
Public boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - public
Endpoint booleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- tls
Enabled boolean - Is End to End TLS Enabled? Defaults to
false
.
- resource_
group_ strname - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service_
name str - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- addon_
json str - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom_
persistent_ Sequence[Springdisks Cloud App Custom Persistent Disk Args] - A
custom_persistent_disk
block as defined below. - https_
only bool - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity Args - An
identity
block as defined below. - ingress_
settings SpringCloud App Ingress Settings Args - An
ingress_settings
block as defined below. - is_
public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name str
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent_
disk SpringCloud App Persistent Disk Args - An
persistent_disk
block as defined below. - public_
endpoint_ boolenabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- tls_
enabled bool - Is End to End TLS Enabled? Defaults to
false
.
- resource
Group StringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name String - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- addon
Json String - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent List<Property Map>Disks - A
custom_persistent_disk
block as defined below. - https
Only Boolean - Is only HTTPS allowed? Defaults to
false
. - identity Property Map
- An
identity
block as defined below. - ingress
Settings Property Map - An
ingress_settings
block as defined below. - is
Public Boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name String
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk Property Map - An
persistent_disk
block as defined below. - public
Endpoint BooleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- tls
Enabled Boolean - Is End to End TLS Enabled? Defaults to
false
.
Outputs
All input properties are implicitly available as output properties. Additionally, the SpringCloudApp resource produces the following output properties:
Look up Existing SpringCloudApp Resource
Get an existing SpringCloudApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SpringCloudAppState, opts?: CustomResourceOptions): SpringCloudApp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addon_json: Optional[str] = None,
custom_persistent_disks: Optional[Sequence[SpringCloudAppCustomPersistentDiskArgs]] = None,
fqdn: Optional[str] = None,
https_only: Optional[bool] = None,
identity: Optional[SpringCloudAppIdentityArgs] = None,
ingress_settings: Optional[SpringCloudAppIngressSettingsArgs] = None,
is_public: Optional[bool] = None,
name: Optional[str] = None,
persistent_disk: Optional[SpringCloudAppPersistentDiskArgs] = None,
public_endpoint_enabled: Optional[bool] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
tls_enabled: Optional[bool] = None,
url: Optional[str] = None) -> SpringCloudApp
func GetSpringCloudApp(ctx *Context, name string, id IDInput, state *SpringCloudAppState, opts ...ResourceOption) (*SpringCloudApp, error)
public static SpringCloudApp Get(string name, Input<string> id, SpringCloudAppState? state, CustomResourceOptions? opts = null)
public static SpringCloudApp get(String name, Output<String> id, SpringCloudAppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- Custom
Persistent List<SpringDisks Cloud App Custom Persistent Disk> - A
custom_persistent_disk
block as defined below. - Fqdn string
- The Fully Qualified DNS Name of the Spring Application in the service.
- Https
Only bool - Is only HTTPS allowed? Defaults to
false
. - Identity
Spring
Cloud App Identity - An
identity
block as defined below. - Ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - Is
Public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - Name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- Persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - Public
Endpoint boolEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- Resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- Service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- Tls
Enabled bool - Is End to End TLS Enabled? Defaults to
false
. - Url string
- The public endpoint of the Spring Cloud Application.
- Addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- Custom
Persistent []SpringDisks Cloud App Custom Persistent Disk Args - A
custom_persistent_disk
block as defined below. - Fqdn string
- The Fully Qualified DNS Name of the Spring Application in the service.
- Https
Only bool - Is only HTTPS allowed? Defaults to
false
. - Identity
Spring
Cloud App Identity Args - An
identity
block as defined below. - Ingress
Settings SpringCloud App Ingress Settings Args - An
ingress_settings
block as defined below. - Is
Public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - Name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- Persistent
Disk SpringCloud App Persistent Disk Args - An
persistent_disk
block as defined below. - Public
Endpoint boolEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- Resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- Service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- Tls
Enabled bool - Is End to End TLS Enabled? Defaults to
false
. - Url string
- The public endpoint of the Spring Cloud Application.
- addon
Json String - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent List<SpringDisks Cloud App Custom Persistent Disk> - A
custom_persistent_disk
block as defined below. - fqdn String
- The Fully Qualified DNS Name of the Spring Application in the service.
- https
Only Boolean - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity - An
identity
block as defined below. - ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - is
Public Boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name String
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - public
Endpoint BooleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- resource
Group StringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name String - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- tls
Enabled Boolean - Is End to End TLS Enabled? Defaults to
false
. - url String
- The public endpoint of the Spring Cloud Application.
- addon
Json string - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent SpringDisks Cloud App Custom Persistent Disk[] - A
custom_persistent_disk
block as defined below. - fqdn string
- The Fully Qualified DNS Name of the Spring Application in the service.
- https
Only boolean - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity - An
identity
block as defined below. - ingress
Settings SpringCloud App Ingress Settings - An
ingress_settings
block as defined below. - is
Public boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name string
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk SpringCloud App Persistent Disk - An
persistent_disk
block as defined below. - public
Endpoint booleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- resource
Group stringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name string - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- tls
Enabled boolean - Is End to End TLS Enabled? Defaults to
false
. - url string
- The public endpoint of the Spring Cloud Application.
- addon_
json str - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom_
persistent_ Sequence[Springdisks Cloud App Custom Persistent Disk Args] - A
custom_persistent_disk
block as defined below. - fqdn str
- The Fully Qualified DNS Name of the Spring Application in the service.
- https_
only bool - Is only HTTPS allowed? Defaults to
false
. - identity
Spring
Cloud App Identity Args - An
identity
block as defined below. - ingress_
settings SpringCloud App Ingress Settings Args - An
ingress_settings
block as defined below. - is_
public bool - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name str
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent_
disk SpringCloud App Persistent Disk Args - An
persistent_disk
block as defined below. - public_
endpoint_ boolenabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- resource_
group_ strname - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service_
name str - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- tls_
enabled bool - Is End to End TLS Enabled? Defaults to
false
. - url str
- The public endpoint of the Spring Cloud Application.
- addon
Json String - A JSON object that contains the addon configurations of the Spring Cloud Service.
- custom
Persistent List<Property Map>Disks - A
custom_persistent_disk
block as defined below. - fqdn String
- The Fully Qualified DNS Name of the Spring Application in the service.
- https
Only Boolean - Is only HTTPS allowed? Defaults to
false
. - identity Property Map
- An
identity
block as defined below. - ingress
Settings Property Map - An
ingress_settings
block as defined below. - is
Public Boolean - Does the Spring Cloud Application have public endpoint? Defaults to
false
. - name String
- Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
- persistent
Disk Property Map - An
persistent_disk
block as defined below. - public
Endpoint BooleanEnabled - Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
- resource
Group StringName - Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
- service
Name String - Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
- tls
Enabled Boolean - Is End to End TLS Enabled? Defaults to
false
. - url String
- The public endpoint of the Spring Cloud Application.
Supporting Types
SpringCloudAppCustomPersistentDisk, SpringCloudAppCustomPersistentDiskArgs
- Mount
Path string - The mount path of the persistent disk.
- string
- The share name of the Azure File share.
- Storage
Name string - The name of the Spring Cloud Storage.
- Mount
Options List<string> - These are the mount options for a persistent disk.
- Read
Only boolEnabled - Indicates whether the persistent disk is a readOnly one.
- Mount
Path string - The mount path of the persistent disk.
- string
- The share name of the Azure File share.
- Storage
Name string - The name of the Spring Cloud Storage.
- Mount
Options []string - These are the mount options for a persistent disk.
- Read
Only boolEnabled - Indicates whether the persistent disk is a readOnly one.
- mount
Path String - The mount path of the persistent disk.
- String
- The share name of the Azure File share.
- storage
Name String - The name of the Spring Cloud Storage.
- mount
Options List<String> - These are the mount options for a persistent disk.
- read
Only BooleanEnabled - Indicates whether the persistent disk is a readOnly one.
- mount
Path string - The mount path of the persistent disk.
- string
- The share name of the Azure File share.
- storage
Name string - The name of the Spring Cloud Storage.
- mount
Options string[] - These are the mount options for a persistent disk.
- read
Only booleanEnabled - Indicates whether the persistent disk is a readOnly one.
- mount_
path str - The mount path of the persistent disk.
- str
- The share name of the Azure File share.
- storage_
name str - The name of the Spring Cloud Storage.
- mount_
options Sequence[str] - These are the mount options for a persistent disk.
- read_
only_ boolenabled - Indicates whether the persistent disk is a readOnly one.
- mount
Path String - The mount path of the persistent disk.
- String
- The share name of the Azure File share.
- storage
Name String - The name of the Spring Cloud Storage.
- mount
Options List<String> - These are the mount options for a persistent disk.
- read
Only BooleanEnabled - Indicates whether the persistent disk is a readOnly one.
SpringCloudAppIdentity, SpringCloudAppIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - Identity
Ids List<string> A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - Identity
Ids []string A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids string[] A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity_
ids Sequence[str] A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal_
id str - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- tenant_
id str - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Spring Cloud Application. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> A list of User Assigned Managed Identity IDs to be assigned to this Spring Cloud Application.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
SpringCloudAppIngressSettings, SpringCloudAppIngressSettingsArgs
- Backend
Protocol string - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - Read
Timeout intIn Seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - Send
Timeout intIn Seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - Session
Affinity string - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - int
- Specifies the time in seconds until the cookie expires.
- Backend
Protocol string - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - Read
Timeout intIn Seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - Send
Timeout intIn Seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - Session
Affinity string - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - int
- Specifies the time in seconds until the cookie expires.
- backend
Protocol String - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - read
Timeout IntegerIn Seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - send
Timeout IntegerIn Seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - session
Affinity String - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - Integer
- Specifies the time in seconds until the cookie expires.
- backend
Protocol string - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - read
Timeout numberIn Seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - send
Timeout numberIn Seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - session
Affinity string - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - number
- Specifies the time in seconds until the cookie expires.
- backend_
protocol str - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - read_
timeout_ intin_ seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - send_
timeout_ intin_ seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - session_
affinity str - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - int
- Specifies the time in seconds until the cookie expires.
- backend
Protocol String - Specifies how ingress should communicate with this app backend service. Allowed values are
GRPC
andDefault
. Defaults toDefault
. - read
Timeout NumberIn Seconds - Specifies the ingress read time out in seconds. Defaults to
300
. - send
Timeout NumberIn Seconds - Specifies the ingress send time out in seconds. Defaults to
60
. - session
Affinity String - Specifies the type of the affinity, set this to
Cookie
to enable session affinity. Allowed values areCookie
andNone
. Defaults toNone
. - Number
- Specifies the time in seconds until the cookie expires.
SpringCloudAppPersistentDisk, SpringCloudAppPersistentDiskArgs
- size_
in_ intgb - Specifies the size of the persistent disk in GB. Possible values are between
0
and50
. - mount_
path str - Specifies the mount path of the persistent disk. Defaults to
/persistent
.
Import
Spring Cloud Application can be imported using the resource id
, e.g.
$ pulumi import azure:appplatform/springCloudApp:SpringCloudApp example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.AppPlatform/spring/myservice/apps/myapp
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.