private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections resource.
Overview
| Name | private_endpoint_connections |
| Type | Resource |
| Id | azure.app_configuration.private_endpoint_connections |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_configuration_store
| 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. |
privateEndpoint | object | The resource of private endpoint. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning status of the private endpoint connection. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". (Creating, Updating, Deleting, Succeeded, Failed, Canceled) |
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. |
privateEndpoint | object | The resource of private endpoint. |
privateLinkServiceConnectionState | object | A collection of information about the state of the connection between service consumer and provider. Required. |
provisioningState | string | The provisioning status of the private endpoint connection. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". (Creating, Updating, Deleting, Succeeded, Failed, Canceled) |
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, config_store_name, private_endpoint_connection_name, subscription_id | Gets the specified private endpoint connection associated with the configuration store. | |
list_by_configuration_store | select | resource_group_name, config_store_name, subscription_id | Lists all private endpoint connections for a configuration store. | |
create_or_update | insert | resource_group_name, config_store_name, private_endpoint_connection_name, subscription_id | Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider. | |
create_or_update | replace | resource_group_name, config_store_name, private_endpoint_connection_name, subscription_id | Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider. | |
delete | delete | resource_group_name, config_store_name, private_endpoint_connection_name, subscription_id | Deletes a private endpoint connection. |
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 |
|---|---|---|
config_store_name | string | The name of the configuration store. Required. |
private_endpoint_connection_name | string | Private endpoint connection name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_configuration_store
Gets the specified private endpoint connection associated with the configuration store.
SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.app_configuration.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND config_store_name = '{{ config_store_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lists all private endpoint connections for a configuration store.
SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.app_configuration.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND config_store_name = '{{ config_store_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.
INSERT INTO azure.app_configuration.private_endpoint_connections (
properties,
resource_group_name,
config_store_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ config_store_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: private_endpoint_connections
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: config_store_name
value: "{{ config_store_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: private_endpoint_connection_name
value: "{{ private_endpoint_connection_name }}"
description: Required parameter for the private_endpoint_connections resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the private_endpoint_connections resource.
- name: properties
description: |
The properties of a private endpoint.
value:
provisioningState: "{{ provisioningState }}"
privateEndpoint:
id: "{{ id }}"
privateLinkServiceConnectionState:
status: "{{ status }}"
description: "{{ description }}"
actionsRequired: "{{ actionsRequired }}"
REPLACE examples
- create_or_update
Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.
REPLACE azure.app_configuration.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND config_store_name = '{{ config_store_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;
DELETE examples
- delete
Deletes a private endpoint connection.
DELETE FROM azure.app_configuration.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND config_store_name = '{{ config_store_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;