Share via


az search shared-private-link-resource

Manage Azure Search shared private link resources.

Commands

Name Description Type Status
az search shared-private-link-resource create

Create shared privatelink resources in a Search service in the given resource group.

Core GA
az search shared-private-link-resource delete

Initiates the deletion of the shared private link resource from the search service.

Core GA
az search shared-private-link-resource list

Gets a list of all shared private link resources managed by the given service.

Core GA
az search shared-private-link-resource show

Gets the details of the shared private link resource managed by the search service in the given resource group.

Core GA
az search shared-private-link-resource update

Update shared privatelink resources in a Search service in the given resource group.

Core GA
az search shared-private-link-resource wait

Wait for async shared private link resource operations.

Core GA

Create shared privatelink resources in a Search service in the given resource group.

az search shared-private-link-resource create --group-id
                                              --name
                                              --resource-group
                                              --resource-id
                                              --service-name
                                              [--no-wait]
                                              [--request-message]
--group-id

The group id of the resource; for example: blob, sql or vault.

--name -n

Name of the shared private link resource.

--resource-group -g

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

--resource-id

Fully qualified resource ID for the resource. for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/ {resourceProviderNamespace}/{resourceType}/{resourceName}.

--service-name

The name of the search service.

--no-wait

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

Default value: False
--request-message

Custom request message when creating or updating the shared privatelink resources.

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

Initiates the deletion of the shared private link resource from the search service.

az search shared-private-link-resource delete --name
                                              --resource-group
                                              --service-name
                                              [--yes]
--name -n

The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group. Required.

--resource-group -g

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

--service-name

The name of the search service.

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

Gets a list of all shared private link resources managed by the given service.

az search shared-private-link-resource list --resource-group
                                            --service-name
--resource-group -g

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

--service-name

The name of the search service.

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.

Gets the details of the shared private link resource managed by the search service in the given resource group.

az search shared-private-link-resource show --name
                                            --resource-group
                                            --service-name
--name -n

The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group. Required.

--resource-group -g

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

--service-name

The name of the search service.

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 shared privatelink resources in a Search service in the given resource group.

az search shared-private-link-resource update --group-id
                                              --name
                                              --request-message
                                              --resource-group
                                              --resource-id
                                              --service-name
                                              [--no-wait]
--group-id

The group id of the resource; for example: blob, sql or vault.

--name -n

Name of the shared private link resource.

--request-message

Custom request message when creating or updating the shared privatelink resources.

--resource-group -g

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

--resource-id

Fully qualified resource ID for the resource; for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/ {resourceProviderNamespace}/{resourceType}/{resourceName}.

--service-name

The name of the search service.

--no-wait

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

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.

Wait for async shared private link resource operations.

az search shared-private-link-resource wait --name
                                            --resource-group
                                            --service-name
                                            [--created]
                                            [--custom]
                                            [--deleted]
                                            [--exists]
                                            [--interval]
                                            [--timeout]
                                            [--updated]
--name -n

The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group. Required.

--resource-group -g

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

--service-name

The name of the search service.

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

Polling interval in seconds.

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