Skip to main content

private_endpoint_connections_for_scc_powershell

Creates, updates, deletes, gets or lists a private_endpoint_connections_for_scc_powershell resource.

Overview

Nameprivate_endpoint_connections_for_scc_powershell
TypeResource
Idazure_extras.m365_security_and_compliance.private_endpoint_connections_for_scc_powershell

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdGets the specified private endpoint connection associated with the service.
list_by_serviceSELECTresourceGroupName, resourceName, subscriptionIdLists all private endpoint connections for a service.
create_or_updateINSERTprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdUpdate the state of the specified private endpoint connection associated with the service.
deleteDELETEprivateEndpointConnectionName, resourceGroupName, resourceName, subscriptionIdDeletes a private endpoint connection.

SELECT examples

Lists all private endpoint connections for a service.

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_for_scc_powershell
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_for_scc_powershell resource.

/*+ create */
INSERT INTO azure_extras.m365_security_and_compliance.private_endpoint_connections_for_scc_powershell (
privateEndpointConnectionName,
resourceGroupName,
resourceName,
subscriptionId,
systemData,
properties
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ systemData }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections_for_scc_powershell resource.

/*+ delete */
DELETE FROM azure_extras.m365_security_and_compliance.private_endpoint_connections_for_scc_powershell
WHERE privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';