Microsoft.Authorization privateLinkAssociations

Bicep resource definition

The privateLinkAssociations resource type can be deployed to: Management groups.

To learn about management group deployments, see Bicep.

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Authorization/privateLinkAssociations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Authorization/privateLinkAssociations@2020-05-01' = {
  name: 'string'
  properties: {
    privateLink: 'string'
    publicNetworkAccess: 'string'
  }
}

Property values

privateLinkAssociations

Name Description Value
name The resource name string (required)
properties The properties of the PrivateLinkAssociation. PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

Name Description Value
privateLink The rmpl Resource ID. string
publicNetworkAccess 'Disabled'
'Enabled'

ARM template resource definition

The privateLinkAssociations resource type can be deployed to: Management groups.

To learn about management group deployments, see ARM template.

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Authorization/privateLinkAssociations resource, add the following JSON to your template.

{
  "type": "Microsoft.Authorization/privateLinkAssociations",
  "apiVersion": "2020-05-01",
  "name": "string",
  "properties": {
    "privateLink": "string",
    "publicNetworkAccess": "string"
  }
}

Property values

privateLinkAssociations

Name Description Value
type The resource type 'Microsoft.Authorization/privateLinkAssociations'
apiVersion The resource api version '2020-05-01'
name The resource name string (required)
properties The properties of the PrivateLinkAssociation. PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

Name Description Value
privateLink The rmpl Resource ID. string
publicNetworkAccess 'Disabled'
'Enabled'

Terraform (AzAPI provider) resource definition

The privateLinkAssociations resource type can be deployed to: Management groups.

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Authorization/privateLinkAssociations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Authorization/privateLinkAssociations@2020-05-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      privateLink = "string"
      publicNetworkAccess = "string"
    }
  })
}

Property values

privateLinkAssociations

Name Description Value
type The resource type "Microsoft.Authorization/privateLinkAssociations@2020-05-01"
name The resource name string (required)
parent_id To deploy to a management group, use the ID of that management group. string (required)
properties The properties of the PrivateLinkAssociation. PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded

Name Description Value
privateLink The rmpl Resource ID. string
publicNetworkAccess "Disabled"
"Enabled"