az eventhubs namespace private-endpoint-connection
Manage eventhubs namespace private endpoint connection.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az eventhubs namespace private-endpoint-connection approve |
Approve a private endpoint connection request for eventhubs namesapce. |
Core | GA |
| az eventhubs namespace private-endpoint-connection create |
Create PrivateEndpointConnections of service namespace. |
Core | GA |
| az eventhubs namespace private-endpoint-connection delete |
Delete a private endpoint connection request for eventhubs namespace. |
Core | GA |
| az eventhubs namespace private-endpoint-connection list |
List the available PrivateEndpointConnections within a namespace. |
Core | GA |
| az eventhubs namespace private-endpoint-connection reject |
Reject a private endpoint connection request for eventhubs namespace. |
Core | GA |
| az eventhubs namespace private-endpoint-connection show |
Get a description for the specified Private Endpoint Connection name. |
Core | GA |
| az eventhubs namespace private-endpoint-connection update |
Update PrivateEndpointConnections of service namespace. |
Core | GA |
| az eventhubs namespace private-endpoint-connection wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az eventhubs namespace private-endpoint-connection approve
Approve a private endpoint connection request for eventhubs namesapce.
az eventhubs namespace private-endpoint-connection approve [--description]
[--id]
[--name]
[--namespace-name]
[--resource-group]
Examples
Approve a private endpoint connection request for eventhubs namespace by ID.
az eventhubs namespace private-endpoint-connection approve --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.Eventhub/namesapces/mynamepsace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"
Approve a private endpoint connection request for eventhubs namespace by ID.
id = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az eventhubs namespace private-endpoint-connection approve --id $id
Approve a private endpoint connection request for eventhubs namespace using namespace name and connection name.
az eventhubs namespace private-endpoint-connection approve -g myRg --namespace-name mynamespace --name myconnection
Approve a private endpoint connection request for eventhubs namespace using namespace name and connection name.
name = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az eventhubs namespace private-endpoint-connection approve -g myRg --namespace-name mynamespace --name $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.
Comments for approve operation.
The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.
The name of the private endpoint connection associated with the EventHubs Namespace.
The eventhubs namesapce name.
The resource group name of specified eventhubs namespace.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection create
Create PrivateEndpointConnections of service namespace.
az eventhubs namespace private-endpoint-connection create --name --private-endpoint-connection-name
--namespace-name
--resource-group
[--description]
[--provisioning-state {Canceled, Creating, Deleting, Failed, Succeeded, Updating}]
[--status {Approved, Disconnected, Pending, Rejected}]
Required Parameters
The PrivateEndpointConnection name.
The Namespace name.
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.
Description of the connection state.
| Property | Value |
|---|---|
| Parameter group: | PrivateLinkServiceConnectionState Arguments |
Provisioning state of the Private Endpoint Connection.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
| Accepted values: | Canceled, Creating, Deleting, Failed, Succeeded, Updating |
Status of the connection.
| Property | Value |
|---|---|
| Parameter group: | PrivateLinkServiceConnectionState Arguments |
| Accepted values: | Approved, Disconnected, Pending, Rejected |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection delete
Delete a private endpoint connection request for eventhubs namespace.
az eventhubs namespace private-endpoint-connection delete [--description]
[--id]
[--name]
[--namespace-name]
[--resource-group]
[--yes]
Examples
Delete a private endpoint connection request for eventhubs namespace by ID.
az eventhubs namespace private-endpoint-connection delete --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.EventHub/namespaces/mynamespace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"
Delete a private endpoint connection request for eventhubs namespace by ID.
id = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az eventhubs namespace private-endpoint-connection delete --id $id
Delete a private endpoint connection request for eventhubs namespace using account name and connection name.
az eventhubs namespace private-endpoint-connection delete -g myRg --namespace-name mynamespace --name myconnection
Delete a private endpoint connection request for eventhubs namespace using namespace name and connection name.
name = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az eventhubs namespace private-endpoint-connection delete -g myRg --namespace-name mynamespace --name $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.
Comments for delete operation.
The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.
The name of the private endpoint connection associated with the EventHubs Namespace.
The eventhubs namesapce name.
The resource group name of specified eventhubs namespace.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection list
List the available PrivateEndpointConnections within a namespace.
az eventhubs namespace private-endpoint-connection list --namespace-name
--resource-group
[--max-items]
[--next-token]
Required Parameters
The Namespace name.
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.
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.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection reject
Reject a private endpoint connection request for eventhubs namespace.
az eventhubs namespace private-endpoint-connection reject [--description]
[--id]
[--name]
[--namespace-name]
[--resource-group]
Examples
Reject a private endpoint connection request for eventhubs namespace by ID.
az eventhubs namespace private-endpoint-connection reject --id "/subscriptions/0000-0000-0000-0000/resourceGroups/MyResourceGroup/providers/Microsoft.EventHub/namespaces/mynamespace/privateEndpointConnections/mynamespace.b56b5a95-0588-4f8b-b348-15db61590a6c"
Reject a private endpoint connection request for eventhubs namespace by ID.
id = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].id")
az eventhubs namespace private-endpoint-connection reject --id $id
Reject a private endpoint connection request for eventhubs namespace using namespace name and connection name.
az eventhubs namespace private-endpoint-connection reject -g myRg --namespace-name mynamespace --name myconnection
Reject a private endpoint connection request for eventhubs namespace using namespace name and connection name.
name = (az eventhubs namespace show -n mynamespace --query "privateEndpointConnections[0].name")
az eventhubs namespace private-endpoint-connection reject -g myRg --namespace-name mynamespace --name $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.
Comments for reject operation.
The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.
The name of the private endpoint connection associated with the EventHubs Namespace.
The eventhubs namesapce name.
The resource group name of specified eventhubs namespace.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection show
Get a description for the specified Private Endpoint Connection name.
az eventhubs namespace private-endpoint-connection show [--id]
[--ids]
[--name --private-endpoint-connection-name]
[--namespace-name]
[--resource-group]
[--subscription]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The ID of the private endpoint connection associated with the EventHubs Namespace. You can get it using az eventhubs namespace show.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The PrivateEndpointConnection name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The Namespace name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection update
Update PrivateEndpointConnections of service namespace.
az eventhubs namespace private-endpoint-connection update [--add]
[--description]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --private-endpoint-connection-name]
[--namespace-name]
[--provisioning-state {Canceled, Creating, Deleting, Failed, Succeeded, Updating}]
[--remove]
[--resource-group]
[--set]
[--status {Approved, Disconnected, Pending, Rejected}]
[--subscription]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
Description of the connection state.
| Property | Value |
|---|---|
| Parameter group: | PrivateLinkServiceConnectionState Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The PrivateEndpointConnection name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The Namespace name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Provisioning state of the Private Endpoint Connection.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
| Accepted values: | Canceled, Creating, Deleting, Failed, Succeeded, Updating |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
Status of the connection.
| Property | Value |
|---|---|
| Parameter group: | PrivateLinkServiceConnectionState Arguments |
| Accepted values: | Approved, Disconnected, Pending, Rejected |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az eventhubs namespace private-endpoint-connection wait
Place the CLI in a waiting state until a condition is met.
az eventhubs namespace private-endpoint-connection wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --private-endpoint-connection-name]
[--namespace-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
Wait until deleted.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the resource exists.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Polling interval in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 30 |
The PrivateEndpointConnection name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The Namespace name.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Maximum wait in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |