Skip to main content

network_security_perimeter_configurations

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

Overview

Namenetwork_security_perimeter_configurations
TypeResource
Idazure.event_hubs.network_security_perimeter_configurations

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
locationstringThe geo-location where the resource lives
propertiesobjectProperties of NetworkSecurityPerimeterConfiguration
typestringThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

NameAccessible byRequired ParamsDescription
listSELECTnamespaceName, resourceGroupName, subscriptionIdGets list of current NetworkSecurityPerimeterConfiguration for Namespace
create_or_updateINSERTnamespaceName, resourceAssociationName, resourceGroupName, subscriptionIdRefreshes any information about the association.

SELECT examples

Gets list of current NetworkSecurityPerimeterConfiguration for Namespace

SELECT
id,
name,
location,
properties,
type
FROM azure.event_hubs.network_security_perimeter_configurations
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new network_security_perimeter_configurations resource.

/*+ create */
INSERT INTO azure.event_hubs.network_security_perimeter_configurations (
namespaceName,
resourceAssociationName,
resourceGroupName,
subscriptionId
)
SELECT
'{{ namespaceName }}',
'{{ resourceAssociationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}'
;