We recommend using Azure Native.
azure.appplatform.SpringCloudConnection
Manages a service connector for spring cloud app.
!> Note: Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the azure.appplatform.SpringCloudConnection resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleAccount:
    type: azure:cosmosdb:Account
    name: example
    properties:
      name: example-cosmosdb-account
      location: ${example.location}
      resourceGroupName: ${example.name}
      offerType: Standard
      kind: GlobalDocumentDB
      consistencyPolicy:
        consistencyLevel: BoundedStaleness
        maxIntervalInSeconds: 10
        maxStalenessPrefix: 200
      geoLocations:
        - location: ${example.location}
          failoverPriority: 0
  exampleSqlDatabase:
    type: azure:cosmosdb:SqlDatabase
    name: example
    properties:
      name: cosmos-sql-db
      resourceGroupName: ${exampleAccount.resourceGroupName}
      accountName: ${exampleAccount.name}
      throughput: 400
  exampleSqlContainer:
    type: azure:cosmosdb:SqlContainer
    name: example
    properties:
      name: example-container
      resourceGroupName: ${exampleAccount.resourceGroupName}
      accountName: ${exampleAccount.name}
      databaseName: ${exampleSqlDatabase.name}
      partitionKeyPath: /definition
  exampleSpringCloudService:
    type: azure:appplatform:SpringCloudService
    name: example
    properties:
      name: examplespringcloud
      resourceGroupName: ${example.name}
      location: ${example.location}
  exampleSpringCloudApp:
    type: azure:appplatform:SpringCloudApp
    name: example
    properties:
      name: examplespringcloudapp
      resourceGroupName: ${example.name}
      serviceName: ${exampleSpringCloudService.name}
      identity:
        type: SystemAssigned
  exampleSpringCloudJavaDeployment:
    type: azure:appplatform:SpringCloudJavaDeployment
    name: example
    properties:
      name: exampledeployment
      springCloudAppId: ${exampleSpringCloudApp.id}
  exampleSpringCloudConnection:
    type: azure:appplatform:SpringCloudConnection
    name: example
    properties:
      name: example-serviceconnector
      springCloudId: ${exampleSpringCloudJavaDeployment.id}
      targetResourceId: ${exampleSqlDatabase.id}
      authentication:
        type: systemAssignedIdentity
API Providers
This resource uses the following Azure API Providers:
- Microsoft.ServiceLinker- 2024-04-01, 2022-05-01
Create SpringCloudConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SpringCloudConnection(name: string, args: SpringCloudConnectionArgs, opts?: CustomResourceOptions);@overload
def SpringCloudConnection(resource_name: str,
                          args: SpringCloudConnectionArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def SpringCloudConnection(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          authentication: Optional[SpringCloudConnectionAuthenticationArgs] = None,
                          spring_cloud_id: Optional[str] = None,
                          target_resource_id: Optional[str] = None,
                          client_type: Optional[str] = None,
                          name: Optional[str] = None,
                          secret_store: Optional[SpringCloudConnectionSecretStoreArgs] = None,
                          vnet_solution: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var springCloudConnectionResource = new Azure.AppPlatform.SpringCloudConnection("springCloudConnectionResource", new()
{
    Authentication = new Azure.AppPlatform.Inputs.SpringCloudConnectionAuthenticationArgs
    {
        Type = "string",
        Certificate = "string",
        ClientId = "string",
        Name = "string",
        PrincipalId = "string",
        Secret = "string",
        SubscriptionId = "string",
    },
    SpringCloudId = "string",
    TargetResourceId = "string",
    ClientType = "string",
    Name = "string",
    SecretStore = new Azure.AppPlatform.Inputs.SpringCloudConnectionSecretStoreArgs
    {
        KeyVaultId = "string",
    },
    VnetSolution = "string",
});
example, err := appplatform.NewSpringCloudConnection(ctx, "springCloudConnectionResource", &appplatform.SpringCloudConnectionArgs{
	Authentication: &appplatform.SpringCloudConnectionAuthenticationArgs{
		Type:           pulumi.String("string"),
		Certificate:    pulumi.String("string"),
		ClientId:       pulumi.String("string"),
		Name:           pulumi.String("string"),
		PrincipalId:    pulumi.String("string"),
		Secret:         pulumi.String("string"),
		SubscriptionId: pulumi.String("string"),
	},
	SpringCloudId:    pulumi.String("string"),
	TargetResourceId: pulumi.String("string"),
	ClientType:       pulumi.String("string"),
	Name:             pulumi.String("string"),
	SecretStore: &appplatform.SpringCloudConnectionSecretStoreArgs{
		KeyVaultId: pulumi.String("string"),
	},
	VnetSolution: pulumi.String("string"),
})
var springCloudConnectionResource = new SpringCloudConnection("springCloudConnectionResource", SpringCloudConnectionArgs.builder()
    .authentication(SpringCloudConnectionAuthenticationArgs.builder()
        .type("string")
        .certificate("string")
        .clientId("string")
        .name("string")
        .principalId("string")
        .secret("string")
        .subscriptionId("string")
        .build())
    .springCloudId("string")
    .targetResourceId("string")
    .clientType("string")
    .name("string")
    .secretStore(SpringCloudConnectionSecretStoreArgs.builder()
        .keyVaultId("string")
        .build())
    .vnetSolution("string")
    .build());
spring_cloud_connection_resource = azure.appplatform.SpringCloudConnection("springCloudConnectionResource",
    authentication={
        "type": "string",
        "certificate": "string",
        "client_id": "string",
        "name": "string",
        "principal_id": "string",
        "secret": "string",
        "subscription_id": "string",
    },
    spring_cloud_id="string",
    target_resource_id="string",
    client_type="string",
    name="string",
    secret_store={
        "key_vault_id": "string",
    },
    vnet_solution="string")
const springCloudConnectionResource = new azure.appplatform.SpringCloudConnection("springCloudConnectionResource", {
    authentication: {
        type: "string",
        certificate: "string",
        clientId: "string",
        name: "string",
        principalId: "string",
        secret: "string",
        subscriptionId: "string",
    },
    springCloudId: "string",
    targetResourceId: "string",
    clientType: "string",
    name: "string",
    secretStore: {
        keyVaultId: "string",
    },
    vnetSolution: "string",
});
type: azure:appplatform:SpringCloudConnection
properties:
    authentication:
        certificate: string
        clientId: string
        name: string
        principalId: string
        secret: string
        subscriptionId: string
        type: string
    clientType: string
    name: string
    secretStore:
        keyVaultId: string
    springCloudId: string
    targetResourceId: string
    vnetSolution: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SpringCloudConnection resource accepts the following input properties:
- Authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- SpringCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- TargetResource stringId 
- 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
- Name string
- The name of the service connection. Changing this forces a new resource to be created.
- SecretStore SpringCloud Connection Secret Store 
- VnetSolution string
- Authentication
SpringCloud Connection Authentication Args 
- The authentication info. An authenticationblock as defined below.
- SpringCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- TargetResource stringId 
- 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
- Name string
- The name of the service connection. Changing this forces a new resource to be created.
- SecretStore SpringCloud Connection Secret Store Args 
- VnetSolution string
- authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- springCloud StringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource StringId 
- 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
- name String
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore SpringCloud Connection Secret Store 
- vnetSolution String
- authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- springCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource stringId 
- 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
- name string
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore SpringCloud Connection Secret Store 
- vnetSolution string
- authentication
SpringCloud Connection Authentication Args 
- The authentication info. An authenticationblock as defined below.
- spring_cloud_ strid 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- target_resource_ strid 
- 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
- name str
- The name of the service connection. Changing this forces a new resource to be created.
- secret_store SpringCloud Connection Secret Store Args 
- vnet_solution str
- authentication Property Map
- The authentication info. An authenticationblock as defined below.
- springCloud StringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource StringId 
- 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
- name String
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore Property Map
- vnetSolution String
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) -> SpringCloudConnectionfunc 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)resources:  _:    type: azure:appplatform:SpringCloudConnection    get:      id: ${id}- 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.
- Authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- ClientType string
- Name string
- The name of the service connection. Changing this forces a new resource to be created.
- SecretStore SpringCloud Connection Secret Store 
- SpringCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- TargetResource stringId 
- 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
- Authentication
SpringCloud Connection Authentication Args 
- The authentication info. An authenticationblock as defined below.
- ClientType string
- Name string
- The name of the service connection. Changing this forces a new resource to be created.
- SecretStore SpringCloud Connection Secret Store Args 
- SpringCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- TargetResource stringId 
- 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
- authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- clientType String
- name String
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore SpringCloud Connection Secret Store 
- springCloud StringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource StringId 
- 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
- authentication
SpringCloud Connection Authentication 
- The authentication info. An authenticationblock as defined below.
- clientType string
- name string
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore SpringCloud Connection Secret Store 
- springCloud stringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource stringId 
- 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
- authentication
SpringCloud Connection Authentication Args 
- The authentication info. An authenticationblock as defined below.
- client_type str
- name str
- The name of the service connection. Changing this forces a new resource to be created.
- secret_store SpringCloud Connection Secret Store Args 
- spring_cloud_ strid 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- target_resource_ strid 
- 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
- authentication Property Map
- The authentication info. An authenticationblock as defined below.
- clientType String
- name String
- The name of the service connection. Changing this forces a new resource to be created.
- secretStore Property Map
- springCloud StringId 
- The ID of the data source spring cloud. Changing this forces a new resource to be created.
- targetResource StringId 
- 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
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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- ClientId string
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- Name string
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- PrincipalId string
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- Secret string
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- SubscriptionId string
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould 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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- ClientId string
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- Name string
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- PrincipalId string
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- Secret string
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- SubscriptionId string
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould 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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- clientId String
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- name String
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- principalId String
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- secret String
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- subscriptionId String
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould 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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- clientId string
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- name string
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- principalId string
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- secret string
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- subscriptionId string
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould 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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- client_id str
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- name str
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- principal_id str
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- secret str
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- subscription_id str
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould 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 servicePrincipalauth. Should be specified whentypeis set toservicePrincipalCertificate.
- clientId String
- Client ID for userAssignedIdentityorservicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate. Whentypeis set touserAssignedIdentity,client_idandsubscription_idshould be either both specified or both not specified.
- name String
- Username or account name for secret auth. nameandsecretshould be either both specified or both not specified whentypeis set tosecret.
- principalId String
- Principal ID for servicePrincipalauth. Should be specified whentypeis set toservicePrincipalSecretorservicePrincipalCertificate.
- secret String
- Password or account key for secret auth. secretandnameshould be either both specified or both not specified whentypeis set tosecret.
- subscriptionId String
- Subscription ID for userAssignedIdentity.subscription_idandclient_idshould be either both specified or both not specified.
SpringCloudConnectionSecretStore, SpringCloudConnectionSecretStoreArgs          
- KeyVault stringId 
- The key vault id to store secret.
- KeyVault stringId 
- The key vault id to store secret.
- keyVault StringId 
- The key vault id to store secret.
- keyVault stringId 
- The key vault id to store secret.
- key_vault_ strid 
- The key vault id to store secret.
- keyVault StringId 
- 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
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 azurermTerraform Provider.
