private_endpoint_connections_comps
Creates, updates, deletes, gets or lists a private_endpoint_connections_comps
resource.
Overview
Name | private_endpoint_connections_comps |
Type | Resource |
Id | azure_extras.m365_security_and_compliance.private_endpoint_connections_comps |
Fields
- vw_private_endpoint_connections_comps
- private_endpoint_connections_comps
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
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 |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | 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 |
properties | object | Properties of the PrivateEndpointConnectProperties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId | Gets the specified private endpoint connection associated with the service. |
list_by_service | SELECT | resourceGroupName, resourceName, subscriptionId | Lists all private endpoint connections for a service. |
create_or_update | INSERT | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId | Update the state of the specified private endpoint connection associated with the service. |
delete | DELETE | privateEndpointConnectionName, resourceGroupName, resourceName, subscriptionId | Deletes a private endpoint connection. |
SELECT
examples
Lists all private endpoint connections for a service.
- vw_private_endpoint_connections_comps
- private_endpoint_connections_comps
SELECT
id,
name,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
resourceName,
subscriptionId,
system_data,
type
FROM azure_extras.m365_security_and_compliance.vw_private_endpoint_connections_comps
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.m365_security_and_compliance.private_endpoint_connections_comps
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_endpoint_connections_comps
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.m365_security_and_compliance.private_endpoint_connections_comps (
privateEndpointConnectionName,
resourceGroupName,
resourceName,
subscriptionId,
systemData,
properties
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ systemData }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- 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: 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: id
value: string
- name: name
value: string
- name: type
value: string
DELETE
example
Deletes the specified private_endpoint_connections_comps
resource.
/*+ delete */
DELETE FROM azure_extras.m365_security_and_compliance.private_endpoint_connections_comps
WHERE privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';