private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections resource.
Overview
| Name | private_endpoint_connections |
| Type | Resource |
| Id | azure_isv.redisenterprise.private_endpoint_connections |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
groupIds | array | The group ids for the private endpoint resource. |
privateEndpoint | object | The private endpoint resource. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". (Succeeded, Creating, Deleting, Failed) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
groupIds | array | The group ids for the private endpoint resource. |
privateEndpoint | object | The private endpoint resource. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". (Succeeded, Creating, Deleting, Failed) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, cluster_name, private_endpoint_connection_name, subscription_id | Gets the specified private endpoint connection associated with the Redis Enterprise cluster. | |
list | select | resource_group_name, cluster_name, subscription_id | Lists all the private endpoint connections associated with the Redis Enterprise cluster. | |
delete | delete | resource_group_name, cluster_name, private_endpoint_connection_name, subscription_id | Deletes the specified private endpoint connection associated with the Redis Enterprise cluster. | |
put | exec | resource_group_name, cluster_name, private_endpoint_connection_name, subscription_id | Updates the state of the specified private endpoint connection associated with the Redis Enterprise cluster. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
cluster_name | string | The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required. |
private_endpoint_connection_name | string | The name of the private endpoint connection associated with the Azure resource. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list
Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure_isv.redisenterprise.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lists all the private endpoint connections associated with the Redis Enterprise cluster.
SELECT
id,
name,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure_isv.redisenterprise.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
DELETE examples
- delete
Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
DELETE FROM azure_isv.redisenterprise.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Lifecycle Methods
- put
Updates the state of the specified private endpoint connection associated with the Redis Enterprise cluster.
EXEC azure_isv.redisenterprise.private_endpoint_connections.put
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_name='{{ cluster_name }}' --required,
@private_endpoint_connection_name='{{ private_endpoint_connection_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;