Share via


az connectedmachine private-link-scope

Note

This reference is part of the connectedmachine extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az connectedmachine private-link-scope command. Learn more about extensions.

Manage private link scope of an Azure Arc-Enabled Server.

Commands

Name Description Type Status
az connectedmachine private-link-scope create

Create an Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

Extension GA
az connectedmachine private-link-scope delete

Delete an Azure Arc PrivateLinkScope.

Extension GA
az connectedmachine private-link-scope list

Get a list of Azure Arc PrivateLinkScopes for a resource group or a subscription.

Extension GA
az connectedmachine private-link-scope network-security-perimeter-configuration

Manage network security perimeter configration on an Azure Arc-Enabled Server.

Extension GA
az connectedmachine private-link-scope network-security-perimeter-configuration list

List the network security perimeter configurations for a private link scope.

Extension GA
az connectedmachine private-link-scope network-security-perimeter-configuration reconcile

Force the network security perimeter configuration to refresh for a private link scope.

Extension GA
az connectedmachine private-link-scope network-security-perimeter-configuration show

Get the network security perimeter configuration for a private link scope.

Extension GA
az connectedmachine private-link-scope show

Get an Azure Arc PrivateLinkScope.

Extension GA
az connectedmachine private-link-scope update

Update an Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

Extension GA
az connectedmachine private-link-scope wait

Place the CLI in a waiting state until a condition is met.

Extension GA

Create an Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

az connectedmachine private-link-scope create --name
                                              --resource-group
                                              [--location]
                                              [--public-network-access {Disabled, Enabled, SecuredByPerimeter}]
                                              [--tags]

Sample command for private-link-scope create

az connectedmachine private-link-scope create --location westus --resource-group my-resource-group --scope-name my-privatelinkscope
--name --scope-name -n

The name of the Azure Arc PrivateLinkScope resource.

--resource-group -g

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

--location -l

Resource location When not specified, the location of the resource group will be used.

--public-network-access

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

Accepted values: Disabled, Enabled, SecuredByPerimeter
Default value: Disabled
--tags

Resource tags Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

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 an Azure Arc PrivateLinkScope.

az connectedmachine private-link-scope delete [--ids]
                                              [--name]
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--resource-group]
                                              [--subscription]
                                              [--yes]

Sample command for private-link-scope delete

az connectedmachine private-link-scope delete --resource-group my-resource-group --scope-name my-privatelinkscope
--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.

--name --scope-name -n

The name of the Azure Arc PrivateLinkScope resource.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

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

--subscription

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

--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 list of Azure Arc PrivateLinkScopes for a resource group or a subscription.

az connectedmachine private-link-scope list [--max-items]
                                            [--next-token]
                                            [--resource-group]

Sample command for private-link-scope list

az connectedmachine private-link-scope list --resource-group my-resource-group
az connectedmachine private-link-scope list
--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--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.

--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 an Azure Arc PrivateLinkScope.

az connectedmachine private-link-scope show [--ids]
                                            [--name]
                                            [--resource-group]
                                            [--subscription]

Sample command for private-link-scope show

az connectedmachine private-link-scope show --resource-group my-resource-group --scope-name my-privatelinkscope
--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.

--name --scope-name -n

The name of the Azure Arc PrivateLinkScope resource.

--resource-group -g

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

--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.

Update an Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

az connectedmachine private-link-scope update [--add]
                                              [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--ids]
                                              [--name]
                                              [--public-network-access {Disabled, Enabled, SecuredByPerimeter}]
                                              [--remove]
                                              [--resource-group]
                                              [--set]
                                              [--subscription]
                                              [--tags]

Sample command for private-link-scope update

az connectedmachine private-link-scope update --tags Tag1=Value1 --resource-group my-resource-group --scope-name my-privatelinkscope
--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--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.

--name --scope-name -n

The name of the Azure Arc PrivateLinkScope resource.

--public-network-access

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

Accepted values: Disabled, Enabled, SecuredByPerimeter
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

--resource-group -g

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

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

--subscription

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

--tags

Resource tags Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

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.

Place the CLI in a waiting state until a condition is met.

az connectedmachine private-link-scope wait [--created]
                                            [--custom]
                                            [--deleted]
                                            [--exists]
                                            [--ids]
                                            [--interval]
                                            [--name]
                                            [--resource-group]
                                            [--subscription]
                                            [--timeout]
                                            [--updated]
--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

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

--interval

Polling interval in seconds.

Default value: 30
--name --scope-name -n

The name of the Azure Arc PrivateLinkScope resource.

--resource-group -g

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

--subscription

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

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

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.