Skip to main content

resource_management_private_link

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

Overview

Nameresource_management_private_link
TypeResource
Idazure.resource.resource_management_private_link

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe rmplResourceID.
namestringThe rmpl Name.
locationstringthe region of the rmpl.
privateEndpointConnectionsarrayThe private endpoint connections.
typestringThe operation type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, rmpl_name, subscription_idGet a resource management private link(resource-level).
list_by_resource_groupselectresource_group_name, subscription_idGet all the resource management private links in a resource group.
listselectsubscription_idGet all the resource management private links in a subscription.
deletedeleteresource_group_name, rmpl_name, subscription_idDelete a resource management private link.
putexecresource_group_name, rmpl_name, subscription_idCreate a resource management group private link.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
rmpl_namestringThe name of the resource management private link. Required.
subscription_idstring

SELECT examples

Get a resource management private link(resource-level).

SELECT
id,
name,
location,
privateEndpointConnections,
type
FROM azure.resource.resource_management_private_link
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND rmpl_name = '{{ rmpl_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

DELETE examples

Delete a resource management private link.

DELETE FROM azure.resource.resource_management_private_link
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND rmpl_name = '{{ rmpl_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Create a resource management group private link.

EXEC azure.resource.resource_management_private_link.put 
@resource_group_name='{{ resource_group_name }}' --required,
@rmpl_name='{{ rmpl_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"location": "{{ location }}"
}'
;