Share via


az healthcareapis private-endpoint-connection

Note

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

Healthcareapis private-endpoint-connection.

Commands

Name Description Type Status
az healthcareapis private-endpoint-connection create

Update the state of the specified private endpoint connection associated with the service.

Extension GA
az healthcareapis private-endpoint-connection delete

Deletes a private endpoint connection.

Extension GA
az healthcareapis private-endpoint-connection list

Lists all private endpoint connections for a service.

Extension GA
az healthcareapis private-endpoint-connection show

Gets the specified private endpoint connection associated with the service.

Extension GA
az healthcareapis private-endpoint-connection update

Update the state of the specified private endpoint connection associated with the service.

Extension GA
az healthcareapis private-endpoint-connection wait

Place the CLI in a waiting state until a condition of the healthcareapis private-endpoint-connection is met.

Extension GA

az healthcareapis private-endpoint-connection create

Update the state of the specified private endpoint connection associated with the service.

az healthcareapis private-endpoint-connection create --name
                                                     --resource-group
                                                     --resource-name
                                                     [--no-wait]
                                                     [--private-link-service-connection-state]
                                                     [--private-link-service-connection-state-actions-required]
                                                     [--private-link-service-connection-state-description]
                                                     [--private-link-service-connection-state-status {Approved, Pending, Rejected}]

Examples

PrivateEndpointConnection_CreateOrUpdate

az healthcareapis private-endpoint-connection create --name "myConnection" --private-link-service-connection-state description="Auto-Approved" status="Approved" --resource-group "rgname" --resource-name "service1"

Required Parameters

--name --private-endpoint-connection-name -n

The name of the private endpoint connection associated with the Azure resource.

--resource-group -g

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

--resource-name

The name of the service instance.

Optional Parameters

--no-wait

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

Default value: False
--private-link-service-connection-state -s

A collection of information about the state of the connection between service consumer and provider.

Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX

status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. description: The reason for approval/rejection of the connection. actions-required: A message indicating if changes on the service provider require any updates on the consumer.

--private-link-service-connection-state-actions-required
Deprecated

Argument 'private_link_service_connection_state_actions_required' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

A message indicating if changes on the service provider require any updates on the consumer.

--private-link-service-connection-state-description
Deprecated

Argument 'private_link_service_connection_state_description' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

The reason for approval/rejection of the connection.

--private-link-service-connection-state-status
Deprecated

Argument 'private_link_service_connection_state_status' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Accepted values: Approved, Pending, Rejected
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 healthcareapis private-endpoint-connection delete

Deletes a private endpoint connection.

az healthcareapis private-endpoint-connection delete [--ids]
                                                     [--name]
                                                     [--no-wait]
                                                     [--resource-group]
                                                     [--resource-name]
                                                     [--subscription]
                                                     [--yes]

Examples

PrivateEndpointConnections_Delete

az healthcareapis private-endpoint-connection delete --name "myConnection" --resource-group "rgname" --resource-name "service1"

Optional Parameters

--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 --private-endpoint-connection-name -n

The name of the private endpoint connection associated with the Azure resource.

--no-wait

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

Default value: False
--resource-group -g

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

--resource-name

The name of the service instance.

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

az healthcareapis private-endpoint-connection list

Lists all private endpoint connections for a service.

az healthcareapis private-endpoint-connection list --resource-group
                                                   --resource-name

Examples

PrivateEndpointConnection_List

az healthcareapis private-endpoint-connection list --resource-group "rgname" --resource-name "service1"

Required Parameters

--resource-group -g

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

--resource-name

The name of the service instance.

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 healthcareapis private-endpoint-connection show

Gets the specified private endpoint connection associated with the service.

az healthcareapis private-endpoint-connection show [--ids]
                                                   [--name]
                                                   [--resource-group]
                                                   [--resource-name]
                                                   [--subscription]

Examples

PrivateEndpointConnection_GetConnection

az healthcareapis private-endpoint-connection show --name "myConnection" --resource-group "rgname" --resource-name "service1"

Optional Parameters

--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 --private-endpoint-connection-name -n

The name of the private endpoint connection associated with the Azure resource.

--resource-group -g

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

--resource-name

The name of the service instance.

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

az healthcareapis private-endpoint-connection update

Update the state of the specified private endpoint connection associated with the service.

az healthcareapis private-endpoint-connection update [--ids]
                                                     [--name]
                                                     [--no-wait]
                                                     [--private-link-service-connection-state]
                                                     [--private-link-service-connection-state-actions-required]
                                                     [--private-link-service-connection-state-description]
                                                     [--private-link-service-connection-state-status {Approved, Pending, Rejected}]
                                                     [--resource-group]
                                                     [--resource-name]
                                                     [--subscription]

Optional Parameters

--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 --private-endpoint-connection-name -n

The name of the private endpoint connection associated with the Azure resource.

--no-wait

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

Default value: False
--private-link-service-connection-state -s

A collection of information about the state of the connection between service consumer and provider.

Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX

status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. description: The reason for approval/rejection of the connection. actions-required: A message indicating if changes on the service provider require any updates on the consumer.

--private-link-service-connection-state-actions-required
Deprecated

Argument 'private_link_service_connection_state_actions_required' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

A message indicating if changes on the service provider require any updates on the consumer.

--private-link-service-connection-state-description
Deprecated

Argument 'private_link_service_connection_state_description' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

The reason for approval/rejection of the connection.

--private-link-service-connection-state-status
Deprecated

Argument 'private_link_service_connection_state_status' has been deprecated and will be removed in a future release. Use '--private-link-service-connection-state' instead.

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Accepted values: Approved, Pending, Rejected
--resource-group -g

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

--resource-name

The name of the service instance.

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

az healthcareapis private-endpoint-connection wait

Place the CLI in a waiting state until a condition of the healthcareapis private-endpoint-connection is met.

az healthcareapis private-endpoint-connection wait [--created]
                                                   [--custom]
                                                   [--deleted]
                                                   [--exists]
                                                   [--ids]
                                                   [--interval]
                                                   [--name]
                                                   [--resource-group]
                                                   [--resource-name]
                                                   [--subscription]
                                                   [--timeout]
                                                   [--updated]

Examples

Pause executing next line of CLI script until the healthcareapis private-endpoint-connection is successfully created.

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --created

Pause executing next line of CLI script until the healthcareapis private-endpoint-connection is successfully updated.

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --updated

Pause executing next line of CLI script until the healthcareapis private-endpoint-connection is successfully deleted.

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --deleted

Optional Parameters

--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 --private-endpoint-connection-name -n

The name of the private endpoint connection associated with the Azure resource.

--resource-group -g

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

--resource-name

The name of the service instance.

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