Microsoft.ManagedNetwork scopeAssignments

Template format

To create a Microsoft.ManagedNetwork/scopeAssignments resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ManagedNetwork/scopeAssignments",
  "apiVersion": "2019-06-01-preview",
  "location": "string",
  "properties": {
    "assignedManagedNetwork": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ManagedNetwork/scopeAssignments object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the scope assignment to create.
type enum Yes For JSON - Microsoft.ManagedNetwork/scopeAssignments
apiVersion enum Yes For JSON - 2019-06-01-preview
location string No The geo-location where the resource lives
properties object Yes The Scope Assignment properties - ScopeAssignmentProperties object

ScopeAssignmentProperties object

Name Type Required Value
assignedManagedNetwork string No The managed network ID with scope will be assigned to.