We recommend using Azure Native.
azure.appservice.AppConnection
Explore with Pulumi AI
Manages a service connector for function app.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
  exampleAccount2:
    type: azure:storage:Account
    name: example
    properties:
      name: examplestorageaccount
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountReplicationType: LRS
  exampleServicePlan:
    type: azure:appservice:ServicePlan
    name: example
    properties:
      location: ${example.location}
      name: example-serviceplan
      resourceGroupName: ${example.name}
      skuName: P1v2
      osType: Linux
  test:
    type: azure:appservice:FunctionApp
    properties:
      name: example-function-app
      location: ${testAzurermResourceGroup.location}
      resourceGroupName: ${testAzurermResourceGroup.name}
      appServicePlanId: ${testAzurermAppServicePlan.id}
      storageAccountName: ${testAzurermStorageAccount.name}
      storageAccountAccessKey: ${testAzurermStorageAccount.primaryAccessKey}
  exampleAppConnection:
    type: azure:appservice:AppConnection
    name: example
    properties:
      name: example-serviceconnector
      functionAppId: ${exampleAzurermFunctionApp.id}
      targetResourceId: ${testAzurermCosmosdbAccount.id}
      authentication:
        type: systemAssignedIdentity
Create AppConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppConnection(name: string, args: AppConnectionArgs, opts?: CustomResourceOptions);@overload
def AppConnection(resource_name: str,
                  args: AppConnectionArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def AppConnection(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  authentication: Optional[AppConnectionAuthenticationArgs] = None,
                  function_app_id: Optional[str] = None,
                  target_resource_id: Optional[str] = None,
                  client_type: Optional[str] = None,
                  name: Optional[str] = None,
                  secret_store: Optional[AppConnectionSecretStoreArgs] = None,
                  vnet_solution: Optional[str] = None)func NewAppConnection(ctx *Context, name string, args AppConnectionArgs, opts ...ResourceOption) (*AppConnection, error)public AppConnection(string name, AppConnectionArgs args, CustomResourceOptions? opts = null)
public AppConnection(String name, AppConnectionArgs args)
public AppConnection(String name, AppConnectionArgs args, CustomResourceOptions options)
type: azure:appservice:AppConnection
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 AppConnectionArgs
 - 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 AppConnectionArgs
 - 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 AppConnectionArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args AppConnectionArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args AppConnectionArgs
 - 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 appConnectionResource = new Azure.AppService.AppConnection("appConnectionResource", new()
{
    Authentication = new Azure.AppService.Inputs.AppConnectionAuthenticationArgs
    {
        Type = "string",
        Certificate = "string",
        ClientId = "string",
        Name = "string",
        PrincipalId = "string",
        Secret = "string",
        SubscriptionId = "string",
    },
    FunctionAppId = "string",
    TargetResourceId = "string",
    ClientType = "string",
    Name = "string",
    SecretStore = new Azure.AppService.Inputs.AppConnectionSecretStoreArgs
    {
        KeyVaultId = "string",
    },
    VnetSolution = "string",
});
example, err := appservice.NewAppConnection(ctx, "appConnectionResource", &appservice.AppConnectionArgs{
	Authentication: &appservice.AppConnectionAuthenticationArgs{
		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"),
	},
	FunctionAppId:    pulumi.String("string"),
	TargetResourceId: pulumi.String("string"),
	ClientType:       pulumi.String("string"),
	Name:             pulumi.String("string"),
	SecretStore: &appservice.AppConnectionSecretStoreArgs{
		KeyVaultId: pulumi.String("string"),
	},
	VnetSolution: pulumi.String("string"),
})
var appConnectionResource = new AppConnection("appConnectionResource", AppConnectionArgs.builder()
    .authentication(AppConnectionAuthenticationArgs.builder()
        .type("string")
        .certificate("string")
        .clientId("string")
        .name("string")
        .principalId("string")
        .secret("string")
        .subscriptionId("string")
        .build())
    .functionAppId("string")
    .targetResourceId("string")
    .clientType("string")
    .name("string")
    .secretStore(AppConnectionSecretStoreArgs.builder()
        .keyVaultId("string")
        .build())
    .vnetSolution("string")
    .build());
app_connection_resource = azure.appservice.AppConnection("appConnectionResource",
    authentication={
        "type": "string",
        "certificate": "string",
        "client_id": "string",
        "name": "string",
        "principal_id": "string",
        "secret": "string",
        "subscription_id": "string",
    },
    function_app_id="string",
    target_resource_id="string",
    client_type="string",
    name="string",
    secret_store={
        "key_vault_id": "string",
    },
    vnet_solution="string")
const appConnectionResource = new azure.appservice.AppConnection("appConnectionResource", {
    authentication: {
        type: "string",
        certificate: "string",
        clientId: "string",
        name: "string",
        principalId: "string",
        secret: "string",
        subscriptionId: "string",
    },
    functionAppId: "string",
    targetResourceId: "string",
    clientType: "string",
    name: "string",
    secretStore: {
        keyVaultId: "string",
    },
    vnetSolution: "string",
});
type: azure:appservice:AppConnection
properties:
    authentication:
        certificate: string
        clientId: string
        name: string
        principalId: string
        secret: string
        subscriptionId: string
        type: string
    clientType: string
    functionAppId: string
    name: string
    secretStore:
        keyVaultId: string
    targetResourceId: string
    vnetSolution: string
AppConnection 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 AppConnection resource accepts the following input properties:
- Authentication
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- Function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - Target
Resource 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. - Client
Type string - Name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - Secret
Store AppConnection Secret Store  - Vnet
Solution string 
- Authentication
App
Connection Authentication Args  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- Function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - Target
Resource 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. - Client
Type string - Name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - Secret
Store AppConnection Secret Store Args  - Vnet
Solution string 
- authentication
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- function
App StringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - target
Resource 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. - client
Type String - name String
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store AppConnection Secret Store  - vnet
Solution String 
- authentication
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - target
Resource 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. - client
Type string - name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store AppConnection Secret Store  - vnet
Solution string 
- authentication
App
Connection Authentication Args  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- function_
app_ strid  - The ID of the data source function app. 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 AppConnection Secret Store Args  - vnet_
solution str 
- authentication Property Map
 The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- function
App StringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - target
Resource 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. - client
Type String - name String
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store Property Map - vnet
Solution String 
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConnection 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 AppConnection Resource
Get an existing AppConnection 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?: AppConnectionState, opts?: CustomResourceOptions): AppConnection@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[AppConnectionAuthenticationArgs] = None,
        client_type: Optional[str] = None,
        function_app_id: Optional[str] = None,
        name: Optional[str] = None,
        secret_store: Optional[AppConnectionSecretStoreArgs] = None,
        target_resource_id: Optional[str] = None,
        vnet_solution: Optional[str] = None) -> AppConnectionfunc GetAppConnection(ctx *Context, name string, id IDInput, state *AppConnectionState, opts ...ResourceOption) (*AppConnection, error)public static AppConnection Get(string name, Input<string> id, AppConnectionState? state, CustomResourceOptions? opts = null)public static AppConnection get(String name, Output<String> id, AppConnectionState state, CustomResourceOptions options)resources:  _:    type: azure:appservice:AppConnection    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
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- Client
Type string - Function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - Name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - Secret
Store AppConnection Secret Store  - Target
Resource 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. - Vnet
Solution string 
- Authentication
App
Connection Authentication Args  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- Client
Type string - Function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - Name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - Secret
Store AppConnection Secret Store Args  - Target
Resource 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. - Vnet
Solution string 
- authentication
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- client
Type String - function
App StringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - name String
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store AppConnection Secret Store  - target
Resource 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. - vnet
Solution String 
- authentication
App
Connection Authentication  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- client
Type string - function
App stringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - name string
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store AppConnection Secret Store  - target
Resource 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. - vnet
Solution string 
- authentication
App
Connection Authentication Args  The authentication info. An
authenticationblock as defined below.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- client_
type str - function_
app_ strid  - The ID of the data source function app. Changing this forces a new resource to be created.
 - name str
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret_
store AppConnection Secret Store Args  - 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.Note: If a Managed Identity is used, this will need to be configured on the App Service.
- client
Type String - function
App StringId  - The ID of the data source function app. Changing this forces a new resource to be created.
 - name String
 - The name of the service connection. Changing this forces a new resource to be created.
 - secret
Store Property Map - target
Resource 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. - vnet
Solution String 
Supporting Types
AppConnectionAuthentication, AppConnectionAuthenticationArgs      
- 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. - Client
Id 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. - Principal
Id 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. - Subscription
Id 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. - Client
Id 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. - Principal
Id 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. - Subscription
Id 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. - client
Id 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. - principal
Id 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. - subscription
Id 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. - client
Id 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. - principal
Id 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. - subscription
Id 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. - client
Id 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. - principal
Id 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. - subscription
Id String - Subscription ID for 
userAssignedIdentity.subscription_idandclient_idshould be either both specified or both not specified. 
AppConnectionSecretStore, AppConnectionSecretStoreArgs        
- Key
Vault stringId  - The key vault id to store secret.
 
- Key
Vault stringId  - The key vault id to store secret.
 
- key
Vault StringId  - The key vault id to store secret.
 
- key
Vault stringId  - The key vault id to store secret.
 
- key_
vault_ strid  - The key vault id to store secret.
 
- key
Vault StringId  - The key vault id to store secret.
 
Import
Service Connector for app service can be imported using the resource id, e.g.
$ pulumi import azure:appservice/appConnection:AppConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Web/sites/webapp/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.