Microsoft.ManagedNetwork scopeAssignments 2019-06-01-preview

Bicep resource definition

The scopeAssignments resource type can be deployed to:

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' = {
  name: 'string'
  location: 'string'
  properties: {
    assignedManagedNetwork: 'string'
  }
}

Property values

scopeAssignments

Name Description Value
name The resource name string (required)
location The geo-location where the resource lives string
properties The Scope Assignment properties ScopeAssignmentProperties

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 to:

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

scopeAssignments

Name Description Value
type The resource type 'Microsoft.ManagedNetwork/scopeAssignments'
apiVersion The resource api version '2019-06-01-preview'
name The resource name string (required)
location The geo-location where the resource lives string
properties The Scope Assignment properties ScopeAssignmentProperties

ScopeAssignmentProperties

Name Description Value
assignedManagedNetwork The managed network ID with scope will be assigned to. string

Terraform (AzAPI provider) resource definition

The scopeAssignments resource type can be deployed to:

  • Resource groups
  • Subscriptions

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"
  location = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      assignedManagedNetwork = "string"
    }
  })
}

Property values

scopeAssignments

Name Description Value
type The resource type "Microsoft.ManagedNetwork/scopeAssignments@2019-06-01-preview"
name The resource name string (required)
location The geo-location where the resource lives string
parent_id To deploy to a resource group, use the ID of that resource group. To deploy to a subscription, use the ID of that subscription. string (required)
properties The Scope Assignment properties ScopeAssignmentProperties

ScopeAssignmentProperties

Name Description Value
assignedManagedNetwork The managed network ID with scope will be assigned to. string