Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The privateLinkAssociations resource type can be deployed with operations that target:
- Management groups - See management group deployment commands
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
Microsoft.Authorization/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 with operations that target:
- Management groups - See management group deployment commands
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
Microsoft.Authorization/privateLinkAssociations
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-05-01' |
name | The resource name | string (required) |
properties | The properties of the PrivateLinkAssociation. | PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded |
type | The resource type | 'Microsoft.Authorization/privateLinkAssociations' |
PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded
Name | Description | Value |
---|---|---|
privateLink | The rmpl Resource ID. | string |
publicNetworkAccess | 'Disabled' 'Enabled' |
Usage Examples
Terraform (AzAPI provider) resource definition
The privateLinkAssociations resource type can be deployed with operations that target:
- 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 = {
properties = {
privateLink = "string"
publicNetworkAccess = "string"
}
}
}
Property Values
Microsoft.Authorization/privateLinkAssociations
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | The properties of the PrivateLinkAssociation. | PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded |
type | The resource type | "Microsoft.Authorization/privateLinkAssociations@2020-05-01" |
PrivateLinkAssociationPropertiesOrPrivateLinkAssociationPropertiesExpanded
Name | Description | Value |
---|---|---|
privateLink | The rmpl Resource ID. | string |
publicNetworkAccess | 'Disabled' 'Enabled' |