Skip to main content

network_security_perimeter_profiles

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

Overview

Namenetwork_security_perimeter_profiles
TypeResource
Idazure.network.network_security_perimeter_profiles

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.
accessRulesVersionstringVersion number that increases with every update to access rules within the profile.
diagnosticSettingsVersionstringVersion number that increases with every update to diagnostic settings within the profile.
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, profile_name, subscription_idGets the specified NSP profile.
listselectresource_group_name, network_security_perimeter_name, subscription_id$top, $skipTokenLists the NSP profiles in the specified network security perimeter.
create_or_updateinsertresource_group_name, network_security_perimeter_name, profile_name, subscription_idCreates or updates a network profile.
create_or_updatereplaceresource_group_name, network_security_perimeter_name, profile_name, subscription_idCreates or updates a network profile.
deletedeleteresource_group_name, network_security_perimeter_name, profile_name, subscription_idDeletes an NSP profile.

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.
profile_namestringThe name of the NSP profile. 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 profile.

SELECT
id,
name,
accessRulesVersion,
diagnosticSettingsVersion,
systemData,
type
FROM azure.network.network_security_perimeter_profiles
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_security_perimeter_name = '{{ network_security_perimeter_name }}' -- required
AND profile_name = '{{ profile_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates a network profile.

INSERT INTO azure.network.network_security_perimeter_profiles (
properties,
resource_group_name,
network_security_perimeter_name,
profile_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ network_security_perimeter_name }}',
'{{ profile_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Creates or updates a network profile.

REPLACE azure.network.network_security_perimeter_profiles
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_security_perimeter_name = '{{ network_security_perimeter_name }}' --required
AND profile_name = '{{ profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Deletes an NSP profile.

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