managed_private_endpoints
Creates, updates, deletes, gets or lists a managed_private_endpoints
resource.
Overview
Name | managed_private_endpoints |
Type | Resource |
Id | azure.data_explorer.managed_private_endpoints |
Fields
- vw_managed_private_endpoints
- managed_private_endpoints
Name | Datatype | Description |
---|---|---|
clusterName | text | field from the properties object |
group_id | text | field from the properties object |
managedPrivateEndpointName | text | field from the properties object |
private_link_resource_id | text | field from the properties object |
private_link_resource_region | text | field from the properties object |
provisioning_state | text | field from the properties object |
request_message | 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 |
---|---|---|
properties | object | A class representing the properties of a managed private endpoint object. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, managedPrivateEndpointName, resourceGroupName, subscriptionId | Gets a managed private endpoint. |
list | SELECT | clusterName, resourceGroupName, subscriptionId | Returns the list of managed private endpoints. |
create_or_update | INSERT | clusterName, managedPrivateEndpointName, resourceGroupName, subscriptionId | Creates a managed private endpoint. |
delete | DELETE | clusterName, managedPrivateEndpointName, resourceGroupName, subscriptionId | Deletes a managed private endpoint. |
update | UPDATE | clusterName, managedPrivateEndpointName, resourceGroupName, subscriptionId | Updates a managed private endpoint. |
check_name_availability | EXEC | clusterName, resourceGroupName, subscriptionId, data__name, data__type | Checks that the managed private endpoints resource name is valid and is not already in use. |
SELECT
examples
Returns the list of managed private endpoints.
- vw_managed_private_endpoints
- managed_private_endpoints
SELECT
clusterName,
group_id,
managedPrivateEndpointName,
private_link_resource_id,
private_link_resource_region,
provisioning_state,
request_message,
resourceGroupName,
subscriptionId,
system_data
FROM azure.data_explorer.vw_managed_private_endpoints
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties,
systemData
FROM azure.data_explorer.managed_private_endpoints
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new managed_private_endpoints
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.data_explorer.managed_private_endpoints (
clusterName,
managedPrivateEndpointName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ clusterName }}',
'{{ managedPrivateEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: privateLinkResourceId
value: string
- name: privateLinkResourceRegion
value: string
- name: groupId
value: string
- name: requestMessage
value: string
- name: provisioningState
value: []
- 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
UPDATE
example
Updates a managed_private_endpoints
resource.
/*+ update */
UPDATE azure.data_explorer.managed_private_endpoints
SET
properties = '{{ properties }}'
WHERE
clusterName = '{{ clusterName }}'
AND managedPrivateEndpointName = '{{ managedPrivateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified managed_private_endpoints
resource.
/*+ delete */
DELETE FROM azure.data_explorer.managed_private_endpoints
WHERE clusterName = '{{ clusterName }}'
AND managedPrivateEndpointName = '{{ managedPrivateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';