private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.cognitive_services.private_endpoint_connections |
Fields
- vw_private_endpoint_connections
- private_endpoint_connections
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
etag | text | Resource Etag. |
group_ids | text | field from the properties object |
location | text | The location of the private endpoint connection |
privateEndpointConnectionName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_service_connection_state | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
etag | string | Resource Etag. |
location | string | The location of the private endpoint connection |
properties | object | Properties of the PrivateEndpointConnectProperties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Gets the specified private endpoint connection associated with the Cognitive Services account. |
list | SELECT | accountName, resourceGroupName, subscriptionId | Gets the private endpoint connections associated with the Cognitive Services account. |
create_or_update | INSERT | accountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Update the state of specified private endpoint connection associated with the Cognitive Services account. |
delete | DELETE | accountName, privateEndpointConnectionName, resourceGroupName, subscriptionId | Deletes the specified private endpoint connection associated with the Cognitive Services account. |
SELECT
examples
Gets the private endpoint connections associated with the Cognitive Services account.
- vw_private_endpoint_connections
- private_endpoint_connections
SELECT
accountName,
etag,
group_ids,
location,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data
FROM azure.cognitive_services.vw_private_endpoint_connections
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
etag,
location,
properties,
systemData
FROM azure.cognitive_services.private_endpoint_connections
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_endpoint_connections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.cognitive_services.private_endpoint_connections (
accountName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties,
location
)
SELECT
'{{ accountName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: []
- name: groupIds
value:
- string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: location
value: string
- name: etag
value: string
DELETE
example
Deletes the specified private_endpoint_connections
resource.
/*+ delete */
DELETE FROM azure.cognitive_services.private_endpoint_connections
WHERE accountName = '{{ accountName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';