Share via


az storage-mover endpoint identity

Note

This reference is part of the storage-mover extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az storage-mover endpoint identity command. Learn more about extensions.

Manage Identity.

Commands

Name Description Type Status
az storage-mover endpoint identity assign

Assign the user or system managed identities.

Extension GA
az storage-mover endpoint identity remove

Remove the user or system managed identities.

Extension GA
az storage-mover endpoint identity show

Show the details of managed identities.

Extension GA

az storage-mover endpoint identity assign

Assign the user or system managed identities.

az storage-mover endpoint identity assign --endpoint-name --name
                                          --resource-group
                                          --storage-mover-name
                                          [--mi-system-assigned --system-assigned]
                                          [--mi-user-assigned --user-assigned]

Examples

az storage-mover endpoint identity assign

--name myEndpoint --storage-mover-name myStorageMover --resource-group myResourceGroup --system-assigned

Required Parameters

--endpoint-name --name -n

The name of the Endpoint resource.

--resource-group -g

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

--storage-mover-name

The name of the Storage Mover resource.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--mi-system-assigned --system-assigned

Set the system managed identity.

Property Value
Parameter group: Endpoint.identity Arguments
--mi-user-assigned --user-assigned

Set the user managed identities. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Endpoint.identity Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az storage-mover endpoint identity remove

Remove the user or system managed identities.

az storage-mover endpoint identity remove --endpoint-name --name
                                          --resource-group
                                          --storage-mover-name
                                          [--mi-system-assigned --system-assigned]
                                          [--mi-user-assigned --user-assigned]

Required Parameters

--endpoint-name --name -n

The name of the Endpoint resource.

--resource-group -g

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

--storage-mover-name

The name of the Storage Mover resource.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--mi-system-assigned --system-assigned

Set the system managed identity.

Property Value
Parameter group: Endpoint.identity Arguments
--mi-user-assigned --user-assigned

Set the user managed identities. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Endpoint.identity Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az storage-mover endpoint identity show

Show the details of managed identities.

az storage-mover endpoint identity show --endpoint-name --name
                                        --resource-group
                                        --storage-mover-name

Required Parameters

--endpoint-name --name -n

The name of the Endpoint resource.

--resource-group -g

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

--storage-mover-name

The name of the Storage Mover resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False