1. Packages
  2. Azure Classic
  3. API Docs
  4. appplatform
  5. SpringCloudApp

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.appplatform.SpringCloudApp

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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=[{
            "mount_path": "string",
            "share_name": "string",
            "storage_name": "string",
            "mount_options": ["string"],
            "read_only_enabled": False,
        }],
        https_only=False,
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        },
        ingress_settings={
            "backend_protocol": "string",
            "read_timeout_in_seconds": 0,
            "send_timeout_in_seconds": 0,
            "session_affinity": "string",
            "session_cookie_max_age": 0,
        },
        is_public=False,
        name="string",
        persistent_disk={
            "size_in_gb": 0,
            "mount_path": "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SpringCloudApp resource accepts the following input properties:

    ResourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    ServiceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    AddonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    CustomPersistentDisks List<SpringCloudAppCustomPersistentDisk>
    A custom_persistent_disk block as defined below.
    HttpsOnly bool
    Is only HTTPS allowed? Defaults to false.
    Identity SpringCloudAppIdentity
    An identity block as defined below.
    IngressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    IsPublic 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.
    PersistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    PublicEndpointEnabled bool
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    TlsEnabled bool
    Is End to End TLS Enabled? Defaults to false.
    ResourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    ServiceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    AddonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    CustomPersistentDisks []SpringCloudAppCustomPersistentDiskArgs
    A custom_persistent_disk block as defined below.
    HttpsOnly bool
    Is only HTTPS allowed? Defaults to false.
    Identity SpringCloudAppIdentityArgs
    An identity block as defined below.
    IngressSettings SpringCloudAppIngressSettingsArgs
    An ingress_settings block as defined below.
    IsPublic 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.
    PersistentDisk SpringCloudAppPersistentDiskArgs
    An persistent_disk block as defined below.
    PublicEndpointEnabled bool
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    TlsEnabled bool
    Is End to End TLS Enabled? Defaults to false.
    resourceGroupName String
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName String
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    addonJson String
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks List<SpringCloudAppCustomPersistentDisk>
    A custom_persistent_disk block as defined below.
    httpsOnly Boolean
    Is only HTTPS allowed? Defaults to false.
    identity SpringCloudAppIdentity
    An identity block as defined below.
    ingressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    publicEndpointEnabled Boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    tlsEnabled Boolean
    Is End to End TLS Enabled? Defaults to false.
    resourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    addonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks SpringCloudAppCustomPersistentDisk[]
    A custom_persistent_disk block as defined below.
    httpsOnly boolean
    Is only HTTPS allowed? Defaults to false.
    identity SpringCloudAppIdentity
    An identity block as defined below.
    ingressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    publicEndpointEnabled boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    tlsEnabled boolean
    Is End to End TLS Enabled? Defaults to false.
    resource_group_name str
    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_disks Sequence[SpringCloudAppCustomPersistentDiskArgs]
    A custom_persistent_disk block as defined below.
    https_only bool
    Is only HTTPS allowed? Defaults to false.
    identity SpringCloudAppIdentityArgs
    An identity block as defined below.
    ingress_settings SpringCloudAppIngressSettingsArgs
    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 SpringCloudAppPersistentDiskArgs
    An persistent_disk block as defined below.
    public_endpoint_enabled bool
    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.
    resourceGroupName String
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName String
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    addonJson String
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks List<Property Map>
    A custom_persistent_disk block as defined below.
    httpsOnly Boolean
    Is only HTTPS allowed? Defaults to false.
    identity Property Map
    An identity block as defined below.
    ingressSettings Property Map
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk Property Map
    An persistent_disk block as defined below.
    publicEndpointEnabled Boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    tlsEnabled 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:

    Fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The public endpoint of the Spring Cloud Application.
    Fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The public endpoint of the Spring Cloud Application.
    fqdn String
    The Fully Qualified DNS Name of the Spring Application in the service.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The public endpoint of the Spring Cloud Application.
    fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    The public endpoint of the Spring Cloud Application.
    fqdn str
    The Fully Qualified DNS Name of the Spring Application in the service.
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    The public endpoint of the Spring Cloud Application.
    fqdn String
    The Fully Qualified DNS Name of the Spring Application in the service.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The public endpoint of the Spring Cloud Application.

    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.
    The following state arguments are supported:
    AddonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    CustomPersistentDisks List<SpringCloudAppCustomPersistentDisk>
    A custom_persistent_disk block as defined below.
    Fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    HttpsOnly bool
    Is only HTTPS allowed? Defaults to false.
    Identity SpringCloudAppIdentity
    An identity block as defined below.
    IngressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    IsPublic 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.
    PersistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    PublicEndpointEnabled bool
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    ResourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    ServiceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    TlsEnabled bool
    Is End to End TLS Enabled? Defaults to false.
    Url string
    The public endpoint of the Spring Cloud Application.
    AddonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    CustomPersistentDisks []SpringCloudAppCustomPersistentDiskArgs
    A custom_persistent_disk block as defined below.
    Fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    HttpsOnly bool
    Is only HTTPS allowed? Defaults to false.
    Identity SpringCloudAppIdentityArgs
    An identity block as defined below.
    IngressSettings SpringCloudAppIngressSettingsArgs
    An ingress_settings block as defined below.
    IsPublic 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.
    PersistentDisk SpringCloudAppPersistentDiskArgs
    An persistent_disk block as defined below.
    PublicEndpointEnabled bool
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    ResourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    ServiceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    TlsEnabled bool
    Is End to End TLS Enabled? Defaults to false.
    Url string
    The public endpoint of the Spring Cloud Application.
    addonJson String
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks List<SpringCloudAppCustomPersistentDisk>
    A custom_persistent_disk block as defined below.
    fqdn String
    The Fully Qualified DNS Name of the Spring Application in the service.
    httpsOnly Boolean
    Is only HTTPS allowed? Defaults to false.
    identity SpringCloudAppIdentity
    An identity block as defined below.
    ingressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    publicEndpointEnabled Boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    resourceGroupName String
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName String
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    tlsEnabled Boolean
    Is End to End TLS Enabled? Defaults to false.
    url String
    The public endpoint of the Spring Cloud Application.
    addonJson string
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks SpringCloudAppCustomPersistentDisk[]
    A custom_persistent_disk block as defined below.
    fqdn string
    The Fully Qualified DNS Name of the Spring Application in the service.
    httpsOnly boolean
    Is only HTTPS allowed? Defaults to false.
    identity SpringCloudAppIdentity
    An identity block as defined below.
    ingressSettings SpringCloudAppIngressSettings
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk SpringCloudAppPersistentDisk
    An persistent_disk block as defined below.
    publicEndpointEnabled boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    resourceGroupName string
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName string
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    tlsEnabled 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_disks Sequence[SpringCloudAppCustomPersistentDiskArgs]
    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 SpringCloudAppIdentityArgs
    An identity block as defined below.
    ingress_settings SpringCloudAppIngressSettingsArgs
    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 SpringCloudAppPersistentDiskArgs
    An persistent_disk block as defined below.
    public_endpoint_enabled bool
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    resource_group_name str
    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.
    addonJson String
    A JSON object that contains the addon configurations of the Spring Cloud Service.
    customPersistentDisks List<Property Map>
    A custom_persistent_disk block as defined below.
    fqdn String
    The Fully Qualified DNS Name of the Spring Application in the service.
    httpsOnly Boolean
    Is only HTTPS allowed? Defaults to false.
    identity Property Map
    An identity block as defined below.
    ingressSettings Property Map
    An ingress_settings block as defined below.
    isPublic 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.
    persistentDisk Property Map
    An persistent_disk block as defined below.
    publicEndpointEnabled Boolean
    Should the App in vnet injection instance exposes endpoint which could be accessed from Internet?
    resourceGroupName String
    Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
    serviceName String
    Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
    tlsEnabled Boolean
    Is End to End TLS Enabled? Defaults to false.
    url String
    The public endpoint of the Spring Cloud Application.

    Supporting Types

    SpringCloudAppCustomPersistentDisk, SpringCloudAppCustomPersistentDiskArgs

    MountPath string
    The mount path of the persistent disk.
    ShareName string
    The share name of the Azure File share.
    StorageName string
    The name of the Spring Cloud Storage.
    MountOptions List<string>
    These are the mount options for a persistent disk.
    ReadOnlyEnabled bool
    Indicates whether the persistent disk is a readOnly one.
    MountPath string
    The mount path of the persistent disk.
    ShareName string
    The share name of the Azure File share.
    StorageName string
    The name of the Spring Cloud Storage.
    MountOptions []string
    These are the mount options for a persistent disk.
    ReadOnlyEnabled bool
    Indicates whether the persistent disk is a readOnly one.
    mountPath String
    The mount path of the persistent disk.
    shareName String
    The share name of the Azure File share.
    storageName String
    The name of the Spring Cloud Storage.
    mountOptions List<String>
    These are the mount options for a persistent disk.
    readOnlyEnabled Boolean
    Indicates whether the persistent disk is a readOnly one.
    mountPath string
    The mount path of the persistent disk.
    shareName string
    The share name of the Azure File share.
    storageName string
    The name of the Spring Cloud Storage.
    mountOptions string[]
    These are the mount options for a persistent disk.
    readOnlyEnabled boolean
    Indicates whether the persistent disk is a readOnly one.
    mount_path str
    The mount path of the persistent disk.
    share_name 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_enabled bool
    Indicates whether the persistent disk is a readOnly one.
    mountPath String
    The mount path of the persistent disk.
    shareName String
    The share name of the Azure File share.
    storageName String
    The name of the Spring Cloud Storage.
    mountOptions List<String>
    These are the mount options for a persistent disk.
    readOnlyEnabled Boolean
    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).
    IdentityIds 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 to UserAssigned or SystemAssigned, UserAssigned.

    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
    TenantId 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).
    IdentityIds []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 to UserAssigned or SystemAssigned, UserAssigned.

    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
    TenantId 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).
    identityIds 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 to UserAssigned or SystemAssigned, UserAssigned.

    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
    tenantId 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).
    identityIds 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 to UserAssigned or SystemAssigned, UserAssigned.

    principalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
    tenantId 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 to UserAssigned or SystemAssigned, 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).
    identityIds 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 to UserAssigned or SystemAssigned, UserAssigned.

    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.
    tenantId String
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Spring Cloud Application.

    SpringCloudAppIngressSettings, SpringCloudAppIngressSettingsArgs

    BackendProtocol string
    Specifies how ingress should communicate with this app backend service. Allowed values are GRPC and Default. Defaults to Default.
    ReadTimeoutInSeconds int
    Specifies the ingress read time out in seconds. Defaults to 300.
    SendTimeoutInSeconds int
    Specifies the ingress send time out in seconds. Defaults to 60.
    SessionAffinity string
    Specifies the type of the affinity, set this to Cookie to enable session affinity. Allowed values are Cookie and None. Defaults to None.
    SessionCookieMaxAge int
    Specifies the time in seconds until the cookie expires.
    BackendProtocol string
    Specifies how ingress should communicate with this app backend service. Allowed values are GRPC and Default. Defaults to Default.
    ReadTimeoutInSeconds int
    Specifies the ingress read time out in seconds. Defaults to 300.
    SendTimeoutInSeconds int
    Specifies the ingress send time out in seconds. Defaults to 60.
    SessionAffinity string
    Specifies the type of the affinity, set this to Cookie to enable session affinity. Allowed values are Cookie and None. Defaults to None.
    SessionCookieMaxAge int
    Specifies the time in seconds until the cookie expires.
    backendProtocol String
    Specifies how ingress should communicate with this app backend service. Allowed values are GRPC and Default. Defaults to Default.
    readTimeoutInSeconds Integer
    Specifies the ingress read time out in seconds. Defaults to 300.
    sendTimeoutInSeconds Integer
    Specifies the ingress send time out in seconds. Defaults to 60.
    sessionAffinity String
    Specifies the type of the affinity, set this to Cookie to enable session affinity. Allowed values are Cookie and None. Defaults to None.
    sessionCookieMaxAge Integer
    Specifies the time in seconds until the cookie expires.
    backendProtocol string
    Specifies how ingress should communicate with this app backend service. Allowed values are GRPC and Default. Defaults to Default.
    readTimeoutInSeconds number
    Specifies the ingress read time out in seconds. Defaults to 300.
    sendTimeoutInSeconds number
    Specifies the ingress send time out in seconds. Defaults to 60.
    sessionAffinity string
    Specifies the type of the affinity, set this to Cookie to enable session affinity. Allowed values are Cookie and None. Defaults to None.
    sessionCookieMaxAge 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 and Default. Defaults to Default.
    read_timeout_in_seconds int
    Specifies the ingress read time out in seconds. Defaults to 300.
    send_timeout_in_seconds int
    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 are Cookie and None. Defaults to None.
    session_cookie_max_age int
    Specifies the time in seconds until the cookie expires.
    backendProtocol String
    Specifies how ingress should communicate with this app backend service. Allowed values are GRPC and Default. Defaults to Default.
    readTimeoutInSeconds Number
    Specifies the ingress read time out in seconds. Defaults to 300.
    sendTimeoutInSeconds Number
    Specifies the ingress send time out in seconds. Defaults to 60.
    sessionAffinity String
    Specifies the type of the affinity, set this to Cookie to enable session affinity. Allowed values are Cookie and None. Defaults to None.
    sessionCookieMaxAge Number
    Specifies the time in seconds until the cookie expires.

    SpringCloudAppPersistentDisk, SpringCloudAppPersistentDiskArgs

    SizeInGb int
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    MountPath string
    Specifies the mount path of the persistent disk. Defaults to /persistent.
    SizeInGb int
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    MountPath string
    Specifies the mount path of the persistent disk. Defaults to /persistent.
    sizeInGb Integer
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    mountPath String
    Specifies the mount path of the persistent disk. Defaults to /persistent.
    sizeInGb number
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    mountPath string
    Specifies the mount path of the persistent disk. Defaults to /persistent.
    size_in_gb int
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    mount_path str
    Specifies the mount path of the persistent disk. Defaults to /persistent.
    sizeInGb Number
    Specifies the size of the persistent disk in GB. Possible values are between 0 and 50.
    mountPath String
    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.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi