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


az aks trustedaccess rolebinding

Commands to manage trusted access role bindings.

Commands

Name Description Type Status
az aks trustedaccess rolebinding create

Create a new trusted access role binding.

Core GA
az aks trustedaccess rolebinding delete

Delete a trusted access role binding according to name.

Core GA
az aks trustedaccess rolebinding list

List all the trusted access role bindings.

Core GA
az aks trustedaccess rolebinding show

Get the specific trusted access role binding according to binding name.

Core GA
az aks trustedaccess rolebinding update

Update a trusted access role binding.

Core GA

az aks trustedaccess rolebinding create

Create a new trusted access role binding.

az aks trustedaccess rolebinding create --cluster-name
                                        --name
                                        --resource-group
                                        --roles
                                        --source-resource-id

Examples

Create a new trusted access role binding

az aks trustedaccess rolebinding create -g myResourceGroup --cluster-name myCluster -n bindingName --source-resource-id /subscriptions/0000/resourceGroups/myResourceGroup/providers/Microsoft.Demo/samples --roles Microsoft.Demo/samples/reader,Microsoft.Demo/samples/writer

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the comma-separated roles.

--source-resource-id

Specify the source resource id of the binding.

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 aks trustedaccess rolebinding delete

Delete a trusted access role binding according to name.

az aks trustedaccess rolebinding delete --cluster-name
                                        --name
                                        --resource-group
                                        [--yes]

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

Optional Parameters

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

--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
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 aks trustedaccess rolebinding list

List all the trusted access role bindings.

az aks trustedaccess rolebinding list --cluster-name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

--resource-group -g

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

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 aks trustedaccess rolebinding show

Get the specific trusted access role binding according to binding name.

az aks trustedaccess rolebinding show --cluster-name
                                      --name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

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 aks trustedaccess rolebinding update

Update a trusted access role binding.

az aks trustedaccess rolebinding update --cluster-name
                                        --name
                                        --resource-group
                                        --roles

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the comma-separated roles.

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