Skip to main content

private_link_services_for_m365_security_center

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

Overview

Nameprivate_link_services_for_m365_security_center
TypeResource
Idazure.security_and_compliance.private_link_services_for_m365_security_center

Fields

The following fields are returned by SELECT queries:

The body contains all of the properties of the privateLinkServicesForM365SecurityCenter instance.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name. (pattern: ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$)
etagstringAn etag associated with the resource, used for optimistic concurrency when editing it.
identityobjectSetting indicating whether the service has a managed identity associated with it.
kindstringThe kind of the service.
locationstringThe resource location.
propertiesobjectThe common properties of a service.
systemDataobjectRequired property for system data
tagsobjectThe resource tags.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, resourceNameGet the metadata of a privateLinkServicesForM365SecurityCenter resource.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet all the service instances in a resource group.
listselectsubscriptionIdGet all the privateLinkServicesForM365SecurityCenter instances in a subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, resourceNameCreate or update the metadata of a privateLinkServicesForM365SecurityCenter instance.
updateupdatesubscriptionId, resourceGroupName, resourceNameUpdate the metadata of a privateLinkServicesForM365SecurityCenter instance.
deletedeletesubscriptionId, resourceGroupName, resourceNameDelete a service instance.

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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group that contains the service instance.
resourceNamestringThe name of the service instance.
subscriptionIdstringThe subscription identifier.

SELECT examples

Get the metadata of a privateLinkServicesForM365SecurityCenter resource.

SELECT
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
FROM azure.security_and_compliance.private_link_services_for_m365_security_center
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;

INSERT examples

Create or update the metadata of a privateLinkServicesForM365SecurityCenter instance.

INSERT INTO azure.security_and_compliance.private_link_services_for_m365_security_center (
data__properties,
data__kind,
data__location,
data__tags,
data__etag,
data__identity,
subscriptionId,
resourceGroupName,
resourceName
)
SELECT
'{{ properties }}',
'{{ kind }}',
'{{ location }}',
'{{ tags }}',
'{{ etag }}',
'{{ identity }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ resourceName }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update the metadata of a privateLinkServicesForM365SecurityCenter instance.

UPDATE azure.security_and_compliance.private_link_services_for_m365_security_center
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND resourceName = '{{ resourceName }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a service instance.

DELETE FROM azure.security_and_compliance.private_link_services_for_m365_security_center
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND resourceName = '{{ resourceName }}' --required
;