Share via


az private-link association

Private-link association management on a resource.

Commands

Name Description Type Status
az private-link association create

Create a PrivateLinkAssociation.

Core GA
az private-link association delete

Delete a PrivateLinkAssociation.

Core GA
az private-link association list

Get a private link association for a management group scope.

Core GA
az private-link association show

Get a private link association.

Core GA

Create a PrivateLinkAssociation.

az private-link association create --management-group-id
                                   --name
                                   --privatelink
                                   --public-network-access {disabled, enabled}

Create a PrivateLinkAssociation.

az private-link association create --management-group-id TestMG --name testPLA --privatelink testPL --public-network-access enabled
--management-group-id -m

The management group id.

--name -n

The name of the private link association.

--privatelink -p

The name of the private link.

--public-network-access -a

Restrict traffic to private link.

Accepted values: disabled, enabled
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.

Delete a PrivateLinkAssociation.

az private-link association delete --management-group-id
                                   --name
                                   [--yes]

Delete a PrivateLinkAssociation.

az private-link association delete --management-group-id TestMG --name testPLA
--management-group-id -m

The management group id.

--name -n

The name of the private link association.

--yes -y

Do not prompt for confirmation.

Default value: False
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.

Get a private link association for a management group scope.

az private-link association list --management-group-id

Get a private link association for a management group scope.

az private-link association list --management-group-id TestMG
--management-group-id -m

The management group 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.

Get a private link association.

az private-link association show --management-group-id
                                 --name

Get a single private link association.

az private-link association show --management-group-id TestMG --name testPLA
--management-group-id -m

The management group id.

--name -n

The name of the private link association.

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.