az arcappliance createconfig
Note
This reference is part of the arcappliance extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az arcappliance createconfig command. Learn more about extensions.
Command group for creating configuration files for Arc resource bridge.
This command features two modes - interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. It is initiated by passing only the required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted.
Commands
Name | Description | Type | Status |
---|---|---|---|
az arcappliance createconfig hci |
Command to create configuration files for Arc Resource Bridge on HCI. |
Extension | GA |
az arcappliance createconfig scvmm |
Command to create Arc resource bridge configuration files for Arc-enabled SCVMM. |
Extension | GA |
az arcappliance createconfig vmware |
Command to create Arc resource bridge configuration files for Arc-enabled VMware. |
Extension | GA |
az arcappliance createconfig hci
Command to create configuration files for Arc Resource Bridge on HCI.
This command features two modes - interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. It is initiated by passing only the required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted.
az arcappliance createconfig hci --location
--name
--resource-group
[--authenticationport]
[--certificateFilePath]
[--cloudagent]
[--controlPlaneEndpoint]
[--dnsservers]
[--gateway]
[--http]
[--https]
[--ipaddressprefix]
[--k8snodeippoolend]
[--k8snodeippoolstart]
[--loginconfigfile]
[--noproxy]
[--out-dir]
[--overwrite-existing]
[--port]
[--storagecontainer]
[--vlanid]
[--vswitchname]
[--working-dir]
Examples
Create Appliance HCI Configuration
az arcappliance createconfig hci --resource-group [REQUIRED] --name [REQUIRED] --location [REQUIRED] --out-dir [OPTIONAL] --cloudagent [OPTIONAL] --loginconfigfile [OPTIONAL]
Required Parameters
The Azure location where the Arc resource bridge Azure resource will be deployed. Must be a valid location where the self-service VM feature for Azure Stack HCI is available and set to the same location as the resource group.
Name of the Arc resource bridge.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Network port used by appliance VM IP to communicate with the cloud agent service endpoint. This port should be open on the firewall to enable communication between the two if the Windows Server physical cluster nodes and Arc resource bridge VM are on separate VLANs.
Certificate file path if your proxy server requires the proxy clients to trust a certificate. Only pass a single proxy certificate, not a bundle.
FQDN or IP address of the Azure Stack HCI MOC cloud agent service used by Arc resource bridge. This can be found in the -infra.yaml configuration file stored locally on the HCI cluster.
Arc resource bridge on-premises appliance VM hosts a management kubernetes cluster with a control plane that requires a static IP address. This static IP address must lie within the subnet range specified in the IP address prefix.
IP address(es) of DNS server(s) used by Arc resource bridge on-premises appliance VM for DNS resolution. Appliance VM must be able to resolve external sites and internal endpoints. Enter multiple IP addresses as a comma-separated list.
Static gateway IP address, must lie within the subnet range specified in the IP address prefix.
HTTP proxy URL and port information entered as http://:. Example: http://192.168.0.10:80.
HTTPS URL and port information entered as http://:. Example: https://192.168.0.10:443.
Arc resource bridge requires 3 IP addresses for the on-premises appliance VM (appliance VM IP, upgrade VM IP, control plane IP). All IPs should reside within the same subnet and fall within the range specified in the IP address prefix. IP address prefix is entered as the subnet's IP address range for the virtual network and subnet mask (IP Mask) in CIDR notation (ex: 192.168.7.1/24). An IP Subnet CIDR calculator can be used for this. Example: For IPs within a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the end range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the start range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
File path for the Azure Stack HCI login configuration file, kvatoken.tok. By default, it is stored locally on the HCI cluster.
The list of comma-separated entries for excluded networks, hosts, or domains from being accessed through the proxy server.
Output directory for Arc resource bridge configuration files, defaults to ./ (current directory).
Overwrite existing configuration files. Default: False.
Port.
Azure Stack HCI storage container.
VLAN ID.
Azure Stack HCI virtual network switch name.
Local directory path to store image & files downloaded for Arc resource bridge on-premises appliance VM deployment. If not specified, a default temp directory is used.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance createconfig scvmm
Command to create Arc resource bridge configuration files for Arc-enabled SCVMM.
This command features two modes - interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. It is initiated by passing only the required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted.
az arcappliance createconfig scvmm --location
--name
--resource-group
[--address]
[--certificateFilePath]
[--cloudid]
[--controlPlaneEndpoint]
[--dnsservers]
[--gateway]
[--highlyavailable]
[--hostgroupid]
[--http]
[--https]
[--ipaddressprefix]
[--ippool]
[--k8snodeippoolend]
[--k8snodeippoolstart]
[--libshare]
[--macaddress]
[--memorymib]
[--network]
[--noproxy]
[--numcpus]
[--out-dir]
[--overwrite-existing]
[--password]
[--port]
[--username]
[--vlanid]
[--working-dir]
Examples
Interactive mode to create Arc resource bridge configuration files for Arc-enabled SCVMM
az arcappliance createconfig scvmm --resource-group [REQUIRED] --name [REQUIRED] --location [REQUIRED] --out-dir [OPTIONAL]
Required Parameters
The Azure location where the Arc resource bridgeAzure resource will be deployed. Must be a valid location where Arc-enabled SCVMM is available and set to the same location as the resource group.
Name of the Arc resource bridge.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
SCVMM Server FQDN (e.g. vmmuser001.contoso.lab) or IPv4 address. If you have a Highly Available VMM setup, enter the role name.
Certificate file path if your proxy server requires the proxy clients to trust a certificate (press enter to skip).
SCVMM cloud ID.
Arc resource bridge on-premises appliance VM hosts a management kubernetes cluster with a control plane that requires a static IP address. This static IP address must lie within the subnet range specified in the IP address prefix.
IP address(es) of DNS server(s) used by Arc resource bridge on-premises appliance VM for DNS resolution. Appliance VM must be able to resolve external sites and internal endpoints. Enter multiple IP addresses as a comma-separated list.
Static gateway IP address, must lie within the subnet range specified in the IP address prefix.
Deploy resource bridge as Highly available.Highly available vm recommended for production environment.(Expected true/false).
SCVMM hostgroup ID.
HTTP proxy URL and port information entered as http://:. Example: http://192.168.0.10:80.
HTTPS URL and port information entered as http://:. Example: https://192.168.0.10:443.
Arc resource bridge requires 3 IP addresses for the on-premises appliance VM (appliance VM IP, upgrade VM IP, control plane IP). All IPs should reside within the same subnet and fall within the range specified in the IP address prefix. IP address prefix is entered as the subnet's IP address range for the virtual network and subnet mask (IP Mask) in CIDR notation (ex: 192.168.7.1/24). An IP Subnet CIDR calculator can be used for this. Example: For IPs within a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
SCVMM Static IP Pool ID.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the end range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the start range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
SCVMM library share (Ensure VMM server has write access on the selected Library Share).
Static MAC address (Press enter to assign MAC from Default VMM MAC Pool).
Specify the memory (MB) for the Arc resource bridge on-premises appliance VM.
SCVMM VM network ID.
The list of comma separated entries for excluded networks, hosts, or domains from being accessed through the proxy server.
Specify the number of CPUs to allocate to the Arc resource bridge on-premises appliance VM.
Output directory for Arc resource bridge configuration files, defaults to ./ (current directory).
Overwrite existing configuration files. Default: False.
SCVMM Administrator Password.
SCVMM server port number (Default: 8100).
SCVMM Administrator Username in the format domain\username where 'domain' should be the NetBIOS name of the domain (e.g. contoso\administrator).
SCVMM Network VLAN ID (0 if VLAN is disabled on the network or a valid VLAN ID in the range (1-4095)).
Local directory path to store image & files downloaded for Arc resource bridge on-premises appliance VM deployment. If not specified, a default temp directory is used.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance createconfig vmware
Command to create Arc resource bridge configuration files for Arc-enabled VMware.
This command features two modes - interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. It is initiated by passing only the required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted.
az arcappliance createconfig vmware --location
--name
--resource-group
[--address]
[--certificateFilePath]
[--controlPlaneEndpoint]
[--datacenter]
[--datastore]
[--disksizegib]
[--dnsservers]
[--folder]
[--gateway]
[--http]
[--https]
[--ipaddressprefix]
[--k8snodeippoolend]
[--k8snodeippoolstart]
[--memorymib]
[--network]
[--noproxy]
[--numcpus]
[--out-dir]
[--overwrite-existing]
[--password]
[--resourcepool]
[--username]
[--working-dir]
Examples
Interactive mode to create Arc resource bridge configuration files for Arc-enabled VMware
az arcappliance createconfig vmware --resource-group [REQUIRED] --name [REQUIRED] --location [REQUIRED] --out-dir [OPTIONAL] --address [OPTIONAL] --username [OPTIONAL] --password [OPTIONAL]
Required Parameters
The Azure location where the Arc resource bridge Azure resource will be deployed. Must be a valid location where Arc-enabled VMware is available and set to the same location as the resource group.
Name of the Arc resource bridge.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.
Certificate file path if your proxy server requires the proxy clients to trust a certificate. Only pass a single proxy certificate, not a bundle. (Press enter to skip).
Arc resource bridge on-premises appliance VM hosts a management kubernetes cluster with a control plane that requires a static IP address. This static IP address must lie within the subnet range specified in the IP address prefix.
Name of the datacenter (as shown in vSphere) where the Arc resource bridge on-premises appliance VM should be deployed.
Name of datastore to be used for Arc resource bridge on-premises appliance VM.
Specify the disk size (GB) for the Arc resource bridge on-premises appliance VM.
IP address(es) of DNS server(s) used by Arc resource bridge on-premises appliance VM for DNS resolution. Appliance VM must be able to resolve external sites and internal endpoints. Enter multiple IP addresses as a comma-separated list.
Full path to the vSphere folder, including vSphere VM name and template folder. This is where the Arc resource bridge appliance VM will be deployed. Ex: /DatacenterA/vm/FolderA.
Static gateway IP address, must lie within the subnet range specified in the IP address prefix.
HTTP proxy URL and port information entered as http://:. Example: http://192.168.0.10:80.
HTTPS URL and port information entered as http://:. Example: https://192.168.0.10:443.
Arc resource bridge requires 3 IP addresses for the on-premises appliance VM (appliance VM IP, upgrade VM IP, control plane IP). All IPs should reside within the same subnet and fall within the range specified in the IP address prefix. IP address prefix is entered as the subnet's IP address range for the virtual network and subnet mask (IP Mask) in CIDR notation (ex: 192.168.7.1/24). An IP Subnet CIDR calculator can be used for this. Example: For IPs within a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the end range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Arc resource bridge on-premises appliance VM requires 2 IP addresses (appliance VM IP & upgrade VM IP) that should reside within the same subnet and fall within the range specified in the IP address prefix. IP addresses are specified as an IP range with a minimum size of 2 IP addresses. This parameter is to specify the start range IP. Example: For a subnet range of 192.168.7.1 - 192.168.7.254, the IP address prefix is 192.168.7.1/24. Within 192.168.7.1/24, set k8snodeippoolstart (appliance VM IP) to 192.168.7.2, k8snodeippoolend (upgrade VM IP) to 192.168.7.3 and control plane IP to 192.168.7.4.
Specify the memory (MB) for the Arc resource bridge on-premises appliance VM.
Name of the virtual network or segment to connect Arc resource bridge on-premises appliance VM to. This network should allow the appliance VM to communicate with vCenter Server and the Azure endpoints (or internet).
The list of comma separated entries for excluded networks, hosts, or domains from being accessed through the proxy server.
Specify the number of CPUs to allocate to the Arc resource bridge on-premises appliance VM.
Output directory for Arc resource bridge configuration files, defaults to ./ (current directory).
Overwrite existing configuration files. Default: False.
Password for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Full path to the vSphere resource pool where the on-premises appliance VM will be deployed. Ex: /DatacenterA/host/Cluster-1/Resources/ResourcePoolA.
Username for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Local directory path to store image & files downloaded for Arc resource bridge on-premises appliance VM deployment. If not specified, a default temp directory is used.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.