Skip to main content

namespaces_network_rule_sets

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

Overview

Namenamespaces_network_rule_sets
TypeResource
Idazure.relay.namespaces_network_rule_sets

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
propertiesobjectNetworkRuleSet properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnamespaceName, resourceGroupName, subscriptionIdGets NetworkRuleSet for a Namespace.
create_or_updateINSERTnamespaceName, resourceGroupName, subscriptionIdCreate or update NetworkRuleSet for a Namespace.

SELECT examples

Gets NetworkRuleSet for a Namespace.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.relay.namespaces_network_rule_sets
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.relay.namespaces_network_rule_sets (
namespaceName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ namespaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;