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

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

azure.appplatform.SpringCloudConnection

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

    Manages a service connector for spring cloud app.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleAccount = new Azure.CosmosDB.Account("exampleAccount", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            OfferType = "Standard",
            Kind = "GlobalDocumentDB",
            ConsistencyPolicy = new Azure.CosmosDB.Inputs.AccountConsistencyPolicyArgs
            {
                ConsistencyLevel = "BoundedStaleness",
                MaxIntervalInSeconds = 10,
                MaxStalenessPrefix = 200,
            },
            GeoLocations = new[]
            {
                new Azure.CosmosDB.Inputs.AccountGeoLocationArgs
                {
                    Location = exampleResourceGroup.Location,
                    FailoverPriority = 0,
                },
            },
        });
    
        var exampleSqlDatabase = new Azure.CosmosDB.SqlDatabase("exampleSqlDatabase", new()
        {
            ResourceGroupName = exampleAccount.ResourceGroupName,
            AccountName = exampleAccount.Name,
            Throughput = 400,
        });
    
        var exampleSqlContainer = new Azure.CosmosDB.SqlContainer("exampleSqlContainer", new()
        {
            ResourceGroupName = exampleAccount.ResourceGroupName,
            AccountName = exampleAccount.Name,
            DatabaseName = exampleSqlDatabase.Name,
            PartitionKeyPath = "/definition",
        });
    
        var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("exampleSpringCloudService", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
        });
    
        var exampleSpringCloudApp = new Azure.AppPlatform.SpringCloudApp("exampleSpringCloudApp", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            ServiceName = exampleSpringCloudService.Name,
            Identity = new Azure.AppPlatform.Inputs.SpringCloudAppIdentityArgs
            {
                Type = "SystemAssigned",
            },
        });
    
        var exampleSpringCloudJavaDeployment = new Azure.AppPlatform.SpringCloudJavaDeployment("exampleSpringCloudJavaDeployment", new()
        {
            SpringCloudAppId = exampleSpringCloudApp.Id,
        });
    
        var exampleSpringCloudConnection = new Azure.AppPlatform.SpringCloudConnection("exampleSpringCloudConnection", new()
        {
            SpringCloudId = exampleSpringCloudJavaDeployment.Id,
            TargetResourceId = exampleSqlDatabase.Id,
            Authentication = new Azure.AppPlatform.Inputs.SpringCloudConnectionAuthenticationArgs
            {
                Type = "systemAssignedIdentity",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appplatform"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cosmosdb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			OfferType:         pulumi.String("Standard"),
    			Kind:              pulumi.String("GlobalDocumentDB"),
    			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
    				ConsistencyLevel:     pulumi.String("BoundedStaleness"),
    				MaxIntervalInSeconds: pulumi.Int(10),
    				MaxStalenessPrefix:   pulumi.Int(200),
    			},
    			GeoLocations: cosmosdb.AccountGeoLocationArray{
    				&cosmosdb.AccountGeoLocationArgs{
    					Location:         exampleResourceGroup.Location,
    					FailoverPriority: pulumi.Int(0),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{
    			ResourceGroupName: exampleAccount.ResourceGroupName,
    			AccountName:       exampleAccount.Name,
    			Throughput:        pulumi.Int(400),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{
    			ResourceGroupName: exampleAccount.ResourceGroupName,
    			AccountName:       exampleAccount.Name,
    			DatabaseName:      exampleSqlDatabase.Name,
    			PartitionKeyPath:  pulumi.String("/definition"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSpringCloudService, err := appplatform.NewSpringCloudService(ctx, "exampleSpringCloudService", &appplatform.SpringCloudServiceArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleSpringCloudApp, err := appplatform.NewSpringCloudApp(ctx, "exampleSpringCloudApp", &appplatform.SpringCloudAppArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			ServiceName:       exampleSpringCloudService.Name,
    			Identity: &appplatform.SpringCloudAppIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSpringCloudJavaDeployment, err := appplatform.NewSpringCloudJavaDeployment(ctx, "exampleSpringCloudJavaDeployment", &appplatform.SpringCloudJavaDeploymentArgs{
    			SpringCloudAppId: exampleSpringCloudApp.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appplatform.NewSpringCloudConnection(ctx, "exampleSpringCloudConnection", &appplatform.SpringCloudConnectionArgs{
    			SpringCloudId:    exampleSpringCloudJavaDeployment.ID(),
    			TargetResourceId: exampleSqlDatabase.ID(),
    			Authentication: &appplatform.SpringCloudConnectionAuthenticationArgs{
    				Type: pulumi.String("systemAssignedIdentity"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.cosmosdb.Account;
    import com.pulumi.azure.cosmosdb.AccountArgs;
    import com.pulumi.azure.cosmosdb.inputs.AccountConsistencyPolicyArgs;
    import com.pulumi.azure.cosmosdb.inputs.AccountGeoLocationArgs;
    import com.pulumi.azure.cosmosdb.SqlDatabase;
    import com.pulumi.azure.cosmosdb.SqlDatabaseArgs;
    import com.pulumi.azure.cosmosdb.SqlContainer;
    import com.pulumi.azure.cosmosdb.SqlContainerArgs;
    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 com.pulumi.azure.appplatform.SpringCloudJavaDeployment;
    import com.pulumi.azure.appplatform.SpringCloudJavaDeploymentArgs;
    import com.pulumi.azure.appplatform.SpringCloudConnection;
    import com.pulumi.azure.appplatform.SpringCloudConnectionArgs;
    import com.pulumi.azure.appplatform.inputs.SpringCloudConnectionAuthenticationArgs;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .offerType("Standard")
                .kind("GlobalDocumentDB")
                .consistencyPolicy(AccountConsistencyPolicyArgs.builder()
                    .consistencyLevel("BoundedStaleness")
                    .maxIntervalInSeconds(10)
                    .maxStalenessPrefix(200)
                    .build())
                .geoLocations(AccountGeoLocationArgs.builder()
                    .location(exampleResourceGroup.location())
                    .failoverPriority(0)
                    .build())
                .build());
    
            var exampleSqlDatabase = new SqlDatabase("exampleSqlDatabase", SqlDatabaseArgs.builder()        
                .resourceGroupName(exampleAccount.resourceGroupName())
                .accountName(exampleAccount.name())
                .throughput(400)
                .build());
    
            var exampleSqlContainer = new SqlContainer("exampleSqlContainer", SqlContainerArgs.builder()        
                .resourceGroupName(exampleAccount.resourceGroupName())
                .accountName(exampleAccount.name())
                .databaseName(exampleSqlDatabase.name())
                .partitionKeyPath("/definition")
                .build());
    
            var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .build());
    
            var exampleSpringCloudApp = new SpringCloudApp("exampleSpringCloudApp", SpringCloudAppArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .serviceName(exampleSpringCloudService.name())
                .identity(SpringCloudAppIdentityArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .build());
    
            var exampleSpringCloudJavaDeployment = new SpringCloudJavaDeployment("exampleSpringCloudJavaDeployment", SpringCloudJavaDeploymentArgs.builder()        
                .springCloudAppId(exampleSpringCloudApp.id())
                .build());
    
            var exampleSpringCloudConnection = new SpringCloudConnection("exampleSpringCloudConnection", SpringCloudConnectionArgs.builder()        
                .springCloudId(exampleSpringCloudJavaDeployment.id())
                .targetResourceId(exampleSqlDatabase.id())
                .authentication(SpringCloudConnectionAuthenticationArgs.builder()
                    .type("systemAssignedIdentity")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_account = azure.cosmosdb.Account("exampleAccount",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        offer_type="Standard",
        kind="GlobalDocumentDB",
        consistency_policy=azure.cosmosdb.AccountConsistencyPolicyArgs(
            consistency_level="BoundedStaleness",
            max_interval_in_seconds=10,
            max_staleness_prefix=200,
        ),
        geo_locations=[azure.cosmosdb.AccountGeoLocationArgs(
            location=example_resource_group.location,
            failover_priority=0,
        )])
    example_sql_database = azure.cosmosdb.SqlDatabase("exampleSqlDatabase",
        resource_group_name=example_account.resource_group_name,
        account_name=example_account.name,
        throughput=400)
    example_sql_container = azure.cosmosdb.SqlContainer("exampleSqlContainer",
        resource_group_name=example_account.resource_group_name,
        account_name=example_account.name,
        database_name=example_sql_database.name,
        partition_key_path="/definition")
    example_spring_cloud_service = azure.appplatform.SpringCloudService("exampleSpringCloudService",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location)
    example_spring_cloud_app = azure.appplatform.SpringCloudApp("exampleSpringCloudApp",
        resource_group_name=example_resource_group.name,
        service_name=example_spring_cloud_service.name,
        identity=azure.appplatform.SpringCloudAppIdentityArgs(
            type="SystemAssigned",
        ))
    example_spring_cloud_java_deployment = azure.appplatform.SpringCloudJavaDeployment("exampleSpringCloudJavaDeployment", spring_cloud_app_id=example_spring_cloud_app.id)
    example_spring_cloud_connection = azure.appplatform.SpringCloudConnection("exampleSpringCloudConnection",
        spring_cloud_id=example_spring_cloud_java_deployment.id,
        target_resource_id=example_sql_database.id,
        authentication=azure.appplatform.SpringCloudConnectionAuthenticationArgs(
            type="systemAssignedIdentity",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAccount = new azure.cosmosdb.Account("exampleAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        offerType: "Standard",
        kind: "GlobalDocumentDB",
        consistencyPolicy: {
            consistencyLevel: "BoundedStaleness",
            maxIntervalInSeconds: 10,
            maxStalenessPrefix: 200,
        },
        geoLocations: [{
            location: exampleResourceGroup.location,
            failoverPriority: 0,
        }],
    });
    const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("exampleSqlDatabase", {
        resourceGroupName: exampleAccount.resourceGroupName,
        accountName: exampleAccount.name,
        throughput: 400,
    });
    const exampleSqlContainer = new azure.cosmosdb.SqlContainer("exampleSqlContainer", {
        resourceGroupName: exampleAccount.resourceGroupName,
        accountName: exampleAccount.name,
        databaseName: exampleSqlDatabase.name,
        partitionKeyPath: "/definition",
    });
    const exampleSpringCloudService = new azure.appplatform.SpringCloudService("exampleSpringCloudService", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
    });
    const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("exampleSpringCloudApp", {
        resourceGroupName: exampleResourceGroup.name,
        serviceName: exampleSpringCloudService.name,
        identity: {
            type: "SystemAssigned",
        },
    });
    const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("exampleSpringCloudJavaDeployment", {springCloudAppId: exampleSpringCloudApp.id});
    const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("exampleSpringCloudConnection", {
        springCloudId: exampleSpringCloudJavaDeployment.id,
        targetResourceId: exampleSqlDatabase.id,
        authentication: {
            type: "systemAssignedIdentity",
        },
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleAccount:
        type: azure:cosmosdb:Account
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          offerType: Standard
          kind: GlobalDocumentDB
          consistencyPolicy:
            consistencyLevel: BoundedStaleness
            maxIntervalInSeconds: 10
            maxStalenessPrefix: 200
          geoLocations:
            - location: ${exampleResourceGroup.location}
              failoverPriority: 0
      exampleSqlDatabase:
        type: azure:cosmosdb:SqlDatabase
        properties:
          resourceGroupName: ${exampleAccount.resourceGroupName}
          accountName: ${exampleAccount.name}
          throughput: 400
      exampleSqlContainer:
        type: azure:cosmosdb:SqlContainer
        properties:
          resourceGroupName: ${exampleAccount.resourceGroupName}
          accountName: ${exampleAccount.name}
          databaseName: ${exampleSqlDatabase.name}
          partitionKeyPath: /definition
      exampleSpringCloudService:
        type: azure:appplatform:SpringCloudService
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
      exampleSpringCloudApp:
        type: azure:appplatform:SpringCloudApp
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          serviceName: ${exampleSpringCloudService.name}
          identity:
            type: SystemAssigned
      exampleSpringCloudJavaDeployment:
        type: azure:appplatform:SpringCloudJavaDeployment
        properties:
          springCloudAppId: ${exampleSpringCloudApp.id}
      exampleSpringCloudConnection:
        type: azure:appplatform:SpringCloudConnection
        properties:
          springCloudId: ${exampleSpringCloudJavaDeployment.id}
          targetResourceId: ${exampleSqlDatabase.id}
          authentication:
            type: systemAssignedIdentity
    

    Create SpringCloudConnection Resource

    new SpringCloudConnection(name: string, args: SpringCloudConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def SpringCloudConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              authentication: Optional[SpringCloudConnectionAuthenticationArgs] = None,
                              client_type: Optional[str] = None,
                              name: Optional[str] = None,
                              secret_store: Optional[SpringCloudConnectionSecretStoreArgs] = None,
                              spring_cloud_id: Optional[str] = None,
                              target_resource_id: Optional[str] = None,
                              vnet_solution: Optional[str] = None)
    @overload
    def SpringCloudConnection(resource_name: str,
                              args: SpringCloudConnectionArgs,
                              opts: Optional[ResourceOptions] = None)
    func NewSpringCloudConnection(ctx *Context, name string, args SpringCloudConnectionArgs, opts ...ResourceOption) (*SpringCloudConnection, error)
    public SpringCloudConnection(string name, SpringCloudConnectionArgs args, CustomResourceOptions? opts = null)
    public SpringCloudConnection(String name, SpringCloudConnectionArgs args)
    public SpringCloudConnection(String name, SpringCloudConnectionArgs args, CustomResourceOptions options)
    
    type: azure:appplatform:SpringCloudConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SpringCloudConnectionArgs
    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 SpringCloudConnectionArgs
    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 SpringCloudConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpringCloudConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpringCloudConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SpringCloudConnection 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 SpringCloudConnection resource accepts the following input properties:

    Authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    SpringCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    TargetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    ClientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    Name string

    The name of the service connection. Changing this forces a new resource to be created.

    SecretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    VnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    Authentication SpringCloudConnectionAuthenticationArgs

    The authentication info. An authentication block as defined below.

    SpringCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    TargetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    ClientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    Name string

    The name of the service connection. Changing this forces a new resource to be created.

    SecretStore SpringCloudConnectionSecretStoreArgs

    An option to store secret value in secure place. An secret_store block as defined below.

    VnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    springCloudId String

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId String

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    clientType String

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name String

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    vnetSolution String

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    springCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    clientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name string

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    vnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthenticationArgs

    The authentication info. An authentication block as defined below.

    spring_cloud_id str

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    target_resource_id str

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    client_type str

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name str

    The name of the service connection. Changing this forces a new resource to be created.

    secret_store SpringCloudConnectionSecretStoreArgs

    An option to store secret value in secure place. An secret_store block as defined below.

    vnet_solution str

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication Property Map

    The authentication info. An authentication block as defined below.

    springCloudId String

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId String

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    clientType String

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name String

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore Property Map

    An option to store secret value in secure place. An secret_store block as defined below.

    vnetSolution String

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SpringCloudConnection resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing SpringCloudConnection Resource

    Get an existing SpringCloudConnection 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?: SpringCloudConnectionState, opts?: CustomResourceOptions): SpringCloudConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[SpringCloudConnectionAuthenticationArgs] = None,
            client_type: Optional[str] = None,
            name: Optional[str] = None,
            secret_store: Optional[SpringCloudConnectionSecretStoreArgs] = None,
            spring_cloud_id: Optional[str] = None,
            target_resource_id: Optional[str] = None,
            vnet_solution: Optional[str] = None) -> SpringCloudConnection
    func GetSpringCloudConnection(ctx *Context, name string, id IDInput, state *SpringCloudConnectionState, opts ...ResourceOption) (*SpringCloudConnection, error)
    public static SpringCloudConnection Get(string name, Input<string> id, SpringCloudConnectionState? state, CustomResourceOptions? opts = null)
    public static SpringCloudConnection get(String name, Output<String> id, SpringCloudConnectionState 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:
    Authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    ClientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    Name string

    The name of the service connection. Changing this forces a new resource to be created.

    SecretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    SpringCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    TargetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    VnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    Authentication SpringCloudConnectionAuthenticationArgs

    The authentication info. An authentication block as defined below.

    ClientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    Name string

    The name of the service connection. Changing this forces a new resource to be created.

    SecretStore SpringCloudConnectionSecretStoreArgs

    An option to store secret value in secure place. An secret_store block as defined below.

    SpringCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    TargetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    VnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    clientType String

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name String

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    springCloudId String

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId String

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    vnetSolution String

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthentication

    The authentication info. An authentication block as defined below.

    clientType string

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name string

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore SpringCloudConnectionSecretStore

    An option to store secret value in secure place. An secret_store block as defined below.

    springCloudId string

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId string

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    vnetSolution string

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication SpringCloudConnectionAuthenticationArgs

    The authentication info. An authentication block as defined below.

    client_type str

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name str

    The name of the service connection. Changing this forces a new resource to be created.

    secret_store SpringCloudConnectionSecretStoreArgs

    An option to store secret value in secure place. An secret_store block as defined below.

    spring_cloud_id str

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    target_resource_id str

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    vnet_solution str

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    authentication Property Map

    The authentication info. An authentication block as defined below.

    clientType String

    The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.

    name String

    The name of the service connection. Changing this forces a new resource to be created.

    secretStore Property Map

    An option to store secret value in secure place. An secret_store block as defined below.

    springCloudId String

    The ID of the data source spring cloud. Changing this forces a new resource to be created.

    targetResourceId String

    The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka. The integration guide can be found here.

    vnetSolution String

    The type of the VNet solution. Possible values are serviceEndpoint, privateLink.

    Supporting Types

    SpringCloudConnectionAuthentication, SpringCloudConnectionAuthenticationArgs

    Type string

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    Certificate string

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    ClientId string

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    Name string

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    PrincipalId string

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    Secret string

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    SubscriptionId string

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    Type string

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    Certificate string

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    ClientId string

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    Name string

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    PrincipalId string

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    Secret string

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    SubscriptionId string

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    type String

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    certificate String

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    clientId String

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    name String

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    principalId String

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    secret String

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    subscriptionId String

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    type string

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    certificate string

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    clientId string

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    name string

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    principalId string

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    secret string

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    subscriptionId string

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    type str

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    certificate str

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    client_id str

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    name str

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    principal_id str

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    secret str

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    subscription_id str

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    type String

    The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.

    certificate String

    Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.

    clientId String

    Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.

    name String

    Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.

    principalId String

    Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.

    secret String

    Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.

    subscriptionId String

    Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.

    SpringCloudConnectionSecretStore, SpringCloudConnectionSecretStoreArgs

    KeyVaultId string

    The key vault id to store secret.

    KeyVaultId string

    The key vault id to store secret.

    keyVaultId String

    The key vault id to store secret.

    keyVaultId string

    The key vault id to store secret.

    key_vault_id str

    The key vault id to store secret.

    keyVaultId String

    The key vault id to store secret.

    Import

    Service Connector for spring cloud can be imported using the resource id, e.g.

     $ pulumi import azure:appplatform/springCloudConnection:SpringCloudConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AppPlatform/Spring/springcloud/apps/springcloudapp/deployments/deployment/providers/Microsoft.ServiceLinker/linkers/serviceconnector1
    

    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 Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi