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 virtualMachineTemplates resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates@2023-10-01' = {
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/virtualMachineTemplates
| 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. | VirtualMachineTemplateProperties (required) |
| 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 |
VirtualMachineTemplateProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual machine template. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template. |
string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualMachineTemplateTags
| Name | Description | Value |
|---|
ARM template resource definition
The virtualMachineTemplates resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates resource, add the following JSON to your template.
{
"type": "Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates",
"apiVersion": "2023-10-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/virtualMachineTemplates
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2023-10-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. | VirtualMachineTemplateProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates' |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
VirtualMachineTemplateProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual machine template. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template. |
string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualMachineTemplateTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The virtualMachineTemplates 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.ConnectedVMwarevSphere/virtualMachineTemplates resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates@2023-10-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/virtualMachineTemplates
| 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. | VirtualMachineTemplateProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates@2023-10-01" |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
VirtualMachineTemplateProperties
| Name | Description | Value |
|---|---|---|
| inventoryItemId | Gets or sets the inventory Item ID for the virtual machine template. | string |
| moRefId | Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template. |
string |
| vCenterId | Gets or sets the ARM Id of the vCenter resource in which this template resides. | string |
VirtualMachineTemplateTags
| Name | Description | Value |
|---|