Azure VMware (AVS) Cluster
This page shows how to write Terraform and Azure Resource Manager for VMware (AVS) Cluster and write them securely.
azurerm_vmware_cluster (Terraform)
The Cluster in VMware (AVS) can be configured in Terraform with the resource name azurerm_vmware_cluster. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_vmware_cluster" "vwc" {
name = azurecaf_name.vwc.result
vmware_cloud_id = var.vmware_cloud_id
cluster_node_count = var.settings.cluster_node_count
sku_name = var.settings.sku_name
Parameters
The following arguments are supported:
name- (Required) The name which should be used for this Vmware Cluster. Changing this forces a new Vmware Cluster to be created.vmware_cloud_id- (Required) The ID of the Vmware Private Cloud in which to create this Vmware Cluster. Changing this forces a new Vmware Cluster to be created.cluster_node_count- (Required) The count of the Vmware Cluster nodes.sku_name- (Required) The cluster sku to use. Possible values areav20,av36, andav36t. Changing this forces a new Vmware Cluster to be created.
In addition to the Arguments listed above - the following Attributes are exported:
id- The ID of the Vmware Cluster.cluster_number- A number that identifies this Vmware Cluster in its Vmware Private Cloud.hosts- A list of host of the Vmware Cluster.
Explanation in Terraform Registry
Manages a Vmware Cluster.
Microsoft.AVS/privateClouds/clusters (Azure Resource Manager)
The privateClouds/clusters in Microsoft.AVS can be configured in Azure Resource Manager with the resource name Microsoft.AVS/privateClouds/clusters. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersionrequired - stringnamerequired - stringName of the cluster in the private cloud
propertiesrequiredclusterSizeoptional - integerThe cluster size
hostsoptional - arrayThe hosts
provisioningStateoptional - stringThe state of the cluster provisioning.
skurequirednamerequired - stringThe name of the SKU.
typerequired - string
Frequently asked questions
What is Azure VMware (AVS) Cluster?
Azure VMware (AVS) Cluster is a resource for VMware (AVS) of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure VMware (AVS) Cluster?
For Terraform, the aztfmod/terraform-azurerm-caf source code example is useful. See the Terraform Example section for further details.