The networkSecurityPerimeters/resourceAssociations resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Network/networkSecurityPerimeters/resourceAssociations resource, add the following JSON to your template.
{
"type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations",
"apiVersion": "2021-02-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"accessMode": "string",
"privateLinkResource": {
"id": "string"
},
"profile": {
"id": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Network/networkSecurityPerimeters/resourceAssociations' |
apiVersion | The resource api version | '2021-02-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
location | Resource location. | string |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
properties | Properties of the NSP resource association. | NspAssociationProperties |
Name | Description | Value |
---|---|---|
accessMode | Access mode on the association. | 'Audit' 'Enforced' 'Learning' |
privateLinkResource | The PaaS resource to be associated. | SubResource |
profile | Profile id to which the PaaS resource is associated. | SubResource |
Name | Description | Value |
---|---|---|
id | Resource ID. | string |