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 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.ConnectedVMwarevSphere/virtualNetworks resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ConnectedVMwarevSphere/virtualNetworks@2023-12-01' = {
scope: resourceSymbolicName or scope
extendedLocation: {
name: 'string'
type: 'string'
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
inventoryItemId: 'string'
moRefId: 'string'
vCenterId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.ConnectedVMwarevSphere/virtualNetworks
| Name | Description | Value |
|---|---|---|
| extendedLocation | Gets or sets the extended location. | ExtendedLocation |
| kind | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. | string |
| location | Gets or sets the location. | string (required) |
| name | The resource name | string (required) |
| properties | Resource properties. | VirtualNetworkProperties (required) |
| 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. |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
VirtualNetworkProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual network. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. | string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualNetworkTags
| Name | Description | Value |
|---|
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.ConnectedVMwarevSphere/virtualNetworks resource, add the following JSON to your template.
{
"type": "Microsoft.ConnectedVMwarevSphere/virtualNetworks",
"apiVersion": "2023-12-01",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"kind": "string",
"location": "string",
"properties": {
"inventoryItemId": "string",
"moRefId": "string",
"vCenterId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.ConnectedVMwarevSphere/virtualNetworks
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2023-12-01' |
| extendedLocation | Gets or sets the extended location. | ExtendedLocation |
| kind | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. | string |
| location | Gets or sets the location. | string (required) |
| name | The resource name | string (required) |
| properties | Resource properties. | VirtualNetworkProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.ConnectedVMwarevSphere/virtualNetworks' |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
VirtualNetworkProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual network. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. | string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualNetworkTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) 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.ConnectedVMwarevSphere/virtualNetworks resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ConnectedVMwarevSphere/virtualNetworks@2023-12-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
kind = "string"
properties = {
inventoryItemId = "string"
moRefId = "string"
vCenterId = "string"
}
}
}
Property Values
Microsoft.ConnectedVMwarevSphere/virtualNetworks
| Name | Description | Value |
|---|---|---|
| extendedLocation | Gets or sets the extended location. | ExtendedLocation |
| kind | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. | string |
| location | Gets or sets the location. | string (required) |
| name | The resource name | string (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | Resource properties. | VirtualNetworkProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.ConnectedVMwarevSphere/virtualNetworks@2023-12-01" |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
VirtualNetworkProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual network. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. | string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualNetworkTags
| Name | Description | Value |
|---|