Κοινή χρήση μέσω


az offazure hyperv run-as-account

Note

This reference is part of the offazure extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az offazure hyperv run-as-account command. Learn more about extensions.

Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Hyper-V run-as-account.

Commands

Name Description Type Status
az offazure hyperv run-as-account list

List all run-as-accounts on the on-premise site.

Extension Experimental
az offazure hyperv run-as-account show

Get the details of a run-as-account.

Extension Experimental

az offazure hyperv run-as-account list

Experimental

Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List all run-as-accounts on the on-premise site.

az offazure hyperv run-as-account list --resource-group
                                       --site-name

Examples

List run-as-accounts by site

az offazure hyperv run-as-account list --resource-group MyResourceGroup                  --site-name MySiteName

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Name of the Hyper-V Site.

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 offazure hyperv run-as-account show

Experimental

Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get the details of a run-as-account.

az offazure hyperv run-as-account show [--account-name]
                                       [--ids]
                                       [--resource-group]
                                       [--site-name]
                                       [--subscription]

Examples

Get a run-as-account.

az offazure hyperv run-as-account show --account-name MyAccount --resource-group                  MyResourceGroup --site-name MySiteName

Optional Parameters

--account-name --name -n

Name of the run-as-account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Name of the Hyper-V Site.

--subscription

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

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.