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 scopeAssignments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetwork/scopeAssignments resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ManagedNetwork/scopeAssignments@2019-06-01-preview' = {
scope: resourceSymbolicName or scope
___location: 'string'
name: 'string'
properties: {
assignedManagedNetwork: 'string'
}
}
Property Values
Microsoft.ManagedNetwork/scopeAssignments
Name | Description | Value |
---|---|---|
___location | The geo-___location where the resource lives | string |
name | The resource name | string (required) |
properties | The Scope Assignment properties | ScopeAssignmentProperties |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
ScopeAssignmentProperties
Name | Description | Value |
---|---|---|
assignedManagedNetwork | The managed network ID with scope will be assigned to. | string |
ARM template resource definition
The scopeAssignments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetwork/scopeAssignments resource, add the following JSON to your template.
{
"type": "Microsoft.ManagedNetwork/scopeAssignments",
"apiVersion": "2019-06-01-preview",
"name": "string",
"___location": "string",
"properties": {
"assignedManagedNetwork": "string"
}
}
Property Values
Microsoft.ManagedNetwork/scopeAssignments
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2019-06-01-preview' |
___location | The geo-___location where the resource lives | string |
name | The resource name | string (required) |
properties | The Scope Assignment properties | ScopeAssignmentProperties |
type | The resource type | 'Microsoft.ManagedNetwork/scopeAssignments' |
ScopeAssignmentProperties
Name | Description | Value |
---|---|---|
assignedManagedNetwork | The managed network ID with scope will be assigned to. | string |
Usage Examples
Terraform (AzAPI provider) resource definition
The scopeAssignments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetwork/scopeAssignments resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ManagedNetwork/scopeAssignments@2019-06-01-preview"
name = "string"
parent_id = "string"
___location = "string"
body = {
properties = {
assignedManagedNetwork = "string"
}
}
}
Property Values
Microsoft.ManagedNetwork/scopeAssignments
Name | Description | Value |
---|---|---|
___location | The geo-___location where the resource lives | string |
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | The Scope Assignment properties | ScopeAssignmentProperties |
type | The resource type | "Microsoft.ManagedNetwork/scopeAssignments@2019-06-01-preview" |
ScopeAssignmentProperties
Name | Description | Value |
---|---|---|
assignedManagedNetwork | The managed network ID with scope will be assigned to. | string |