Aracılığıyla paylaş


Microsoft.ScVmm virtualNetworks 2023-10-07

Bicep resource definition

The virtualNetworks 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.ScVmm/virtualNetworks resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ScVmm/virtualNetworks@2023-10-07' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    inventoryItemId: 'string'
    uuid: 'string'
    vmmServerId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

Microsoft.ScVmm/virtualNetworks

Name Description Value
extendedLocation The extended location. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 54
Pattern = [a-zA-Z0-9-_\.] (required)
properties The resource-specific properties for this resource. VirtualNetworkProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

TrackedResourceTags

Name Description Value

VirtualNetworkProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the resource. string
uuid Unique ID of the virtual network. string

Constraints:
Pattern = ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
vmmServerId ARM Id of the vmmServer resource in which this resource resides. string

ARM template resource definition

The virtualNetworks 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.ScVmm/virtualNetworks resource, add the following JSON to your template.

{
  "type": "Microsoft.ScVmm/virtualNetworks",
  "apiVersion": "2023-10-07",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "inventoryItemId": "string",
    "uuid": "string",
    "vmmServerId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

Microsoft.ScVmm/virtualNetworks

Name Description Value
apiVersion The api version '2023-10-07'
extendedLocation The extended location. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 54
Pattern = [a-zA-Z0-9-_\.] (required)
properties The resource-specific properties for this resource. VirtualNetworkProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.ScVmm/virtualNetworks'

TrackedResourceTags

Name Description Value

VirtualNetworkProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the resource. string
uuid Unique ID of the virtual network. string

Constraints:
Pattern = ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
vmmServerId ARM Id of the vmmServer resource in which this resource resides. string

Kullanım Örnekleri

Terraform (AzAPI provider) resource definition

The virtualNetworks resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ScVmm/virtualNetworks resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ScVmm/virtualNetworks@2023-10-07"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      inventoryItemId = "string"
      uuid = "string"
      vmmServerId = "string"
    }
  }
}

Property Values

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

Microsoft.ScVmm/virtualNetworks

Name Description Value
extendedLocation The extended location. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 54
Pattern = [a-zA-Z0-9-_\.] (required)
properties The resource-specific properties for this resource. VirtualNetworkProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.ScVmm/virtualNetworks@2023-10-07"

TrackedResourceTags

Name Description Value

VirtualNetworkProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the resource. string
uuid Unique ID of the virtual network. string

Constraints:
Pattern = ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
vmmServerId ARM Id of the vmmServer resource in which this resource resides. string