Skip to main content

network_security_perimeter

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

Overview

Namenetwork_security_perimeter
TypeResource
Idazure.batch.network_security_perimeter

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
networkSecurityPerimeterobjectInformation about a network security perimeter (NSP).
profileobject:vartype profile: ~azure.mgmt.batch.models.NetworkSecurityProfile
provisioningIssuesarrayList of provisioning issues, if any.
provisioningStatestringKnown values are: "Succeeded", "Creating", "Updating", "Deleting", "Accepted", "Failed", and "Canceled". (Succeeded, Creating, Updating, Deleting, Accepted, Failed, Canceled)
resourceAssociationobject:vartype resource_association: ~azure.mgmt.batch.models.ResourceAssociation
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
get_configurationselectresource_group_name, account_name, network_security_perimeter_configuration_name, subscription_idGets information about the specified NSP configuration.
list_configurationsselectresource_group_name, account_name, subscription_idLists all of the NSP configurations in the specified account.
reconcile_configurationexecresource_group_name, account_name, network_security_perimeter_configuration_name, subscription_idReconciles the specified NSP configuration.

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
account_namestringA name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/ _. Required.
network_security_perimeter_configuration_namestringThe name for a network security perimeter configuration. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets information about the specified NSP configuration.

SELECT
id,
name,
networkSecurityPerimeter,
profile,
provisioningIssues,
provisioningState,
resourceAssociation,
systemData,
type
FROM azure.batch.network_security_perimeter
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND network_security_perimeter_configuration_name = '{{ network_security_perimeter_configuration_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Reconciles the specified NSP configuration.

EXEC azure.batch.network_security_perimeter.reconcile_configuration 
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@network_security_perimeter_configuration_name='{{ network_security_perimeter_configuration_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;