Dijeli putem


az arcappliance update-infracredentials

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 update-infracredentials command. Learn more about extensions.

Command group for updating the on-premises infrastructure credentials used by Arc resource bridge to manage on-premises resources.

Commands

Name Description Type Status
az arcappliance update-infracredentials hci

Command to update the on-premises infrastructure credentials for Azure Stack HCI used by Arc resource bridge.

Extension GA
az arcappliance update-infracredentials scvmm

Command to update the SCVMM credentials used by Arc resource bridge.

Extension GA
az arcappliance update-infracredentials vmware

Command to update the VMware credentials used by Arc resource bridge.

Extension GA

az arcappliance update-infracredentials hci

Command to update the on-premises infrastructure credentials for Azure Stack HCI used by Arc resource bridge.

az arcappliance update-infracredentials hci --kubeconfig
                                            [--cloudagent]
                                            [--loginconfigfile]

Examples

Update Azure Stack HCI credentials used by Arc resource bridge

az arcappliance update-infracredentials hci --kubeconfig [REQUIRED]

Update Azure Stack HCI credentials used by Arc resource bridge with non-interactive mode using HCI credentials as parameters

az arcappliance update-infracredentials hci --kubeconfig [REQUIRED] --cloudagent [REQUIRED] --loginconfigfile [REQUIRED]

Required Parameters

--kubeconfig

Path to kubeconfig output from deploy command.

Optional Parameters

--cloudagent

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.

--loginconfigfile

File path for the Azure Stack HCI login configuration file, kvatoken.tok. By default, it is stored locally on the HCI cluster.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az arcappliance update-infracredentials scvmm

Command to update the SCVMM credentials used by Arc resource bridge.

az arcappliance update-infracredentials scvmm --kubeconfig
                                              [--address]
                                              [--password]
                                              [--port]
                                              [--username]

Examples

Update SCVMM credentials used by Arc resource bridge

az arcappliance update-infracredentials scvmm --kubeconfig [REQUIRED]

Update SCVMM credentials used by Arc resource bridge with non-interactive mode using SCVMM credentials as parameters

az arcappliance update-infracredentials scvmm --kubeconfig [REQUIRED] --address [REQUIRED] --port [REQUIRED] --username [REQUIRED] --password [REQUIRED]

Required Parameters

--kubeconfig

Path to kubeconfig output from deploy command.

Optional Parameters

--address

SCVMM Server FQDN (e.g. vmmuser001.contoso.lab) or IPv4 address. If you have a Highly Available VMM setup, enter the role name.

--password

SCVMM Administrator Password.

--port

SCVMM server port number (Default: 8100).

--username

SCVMM Administrator Username in the format domain\username where 'domain' should be the NetBIOS name of the domain (e.g. contoso\administrator).

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az arcappliance update-infracredentials vmware

Command to update the VMware credentials used by Arc resource bridge.

az arcappliance update-infracredentials vmware --kubeconfig
                                               [--address]
                                               [--password]
                                               [--skipWait]
                                               [--username]

Examples

Update VMware credentials used by Arc resource bridge

az arcappliance update-infracredentials vmware --kubeconfig [REQUIRED] --skipWait

Update VMware credentials used by Arc resource bridge with non-interactive mode using VMware credentials as parameters

az arcappliance update-infracredentials vmware --kubeconfig [REQUIRED] --address [REQUIRED] --username [REQUIRED] --password [REQUIRED] --skipWait

Required Parameters

--kubeconfig

Path to kubeconfig output from deploy command.

Optional Parameters

--address

FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.

--password

Password for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.

--skipWait

Use this flag to update the vCenter credentials without verification. This is only recommended if you are locked out of vSphere and validation is not possible until lockout period expires.

Default value: False
--username

Username for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.