Skip to main content

network_security_perimeter_link_references

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

Overview

Namenetwork_security_perimeter_link_references
TypeResource
Idazure.network.network_security_perimeter_link_references

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
descriptionstringA message sent by the remote NSP link admin for connection request. In case of Auto-approved flow, it is default to 'Auto Approved'.
localInboundProfilesarrayLocal Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
localOutboundProfilesarrayLocal Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
provisioningStatestringThe provisioning state of the NSP LinkReference resource. Known values are: "Succeeded", "Creating", "Updating", "Deleting", "Accepted", "Failed", and "WaitForRemoteCompletion". (Succeeded, Creating, Updating, Deleting, Accepted, Failed, WaitForRemoteCompletion)
remoteInboundProfilesarrayRemote Inbound profile names to which Inbound is allowed. ['*'] value implies inbound is allowed to all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.
remoteOutboundProfilesarrayRemote Outbound profile names from which Outbound is allowed. ['*'] value implies outbound is allowed from all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.
remotePerimeterGuidstringRemote NSP Guid with which the link is created.
remotePerimeterLocationstringRemote NSP location with which the link gets created.
remotePerimeterResourceIdstringPerimeter ARM Id for the remote NSP with which the link is created.
statusstringThe NSP linkReference state. It cannot be changed if link is created in auto-approval mode. Known values are: "Approved", "Pending", "Rejected", and "Disconnected". (Approved, Pending, Rejected, Disconnected)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_security_perimeter_name, link_reference_name, subscription_idGets the specified NSP linkReference resource.
listselectresource_group_name, network_security_perimeter_name, subscription_id$top, $skipTokenLists the NSP LinkReference resources in the specified network security perimeter.
deletedeleteresource_group_name, network_security_perimeter_name, link_reference_name, subscription_idDeletes an NSP LinkReference resource.

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
network_security_perimeter_namestringThe name of the network security perimeter. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$skipTokenstringSkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. Default value is None.
$topintegerAn optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

SELECT examples

Gets the specified NSP linkReference resource.

SELECT
id,
name,
description,
localInboundProfiles,
localOutboundProfiles,
provisioningState,
remoteInboundProfiles,
remoteOutboundProfiles,
remotePerimeterGuid,
remotePerimeterLocation,
remotePerimeterResourceId,
status,
systemData,
type
FROM azure.network.network_security_perimeter_link_references
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_security_perimeter_name = '{{ network_security_perimeter_name }}' -- required
AND link_reference_name = '{{ link_reference_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

DELETE examples

Deletes an NSP LinkReference resource.

DELETE FROM azure.network.network_security_perimeter_link_references
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND network_security_perimeter_name = '{{ network_security_perimeter_name }}' --required
AND link_reference_name = '{{ link_reference_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;