namespaces_network_rule_sets
Creates, updates, deletes, gets or lists a namespaces_network_rule_sets
resource.
Overview
Name | namespaces_network_rule_sets |
Type | Resource |
Id | azure.relay.namespaces_network_rule_sets |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
properties | object | NetworkRuleSet properties |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | namespaceName, resourceGroupName, subscriptionId | Gets NetworkRuleSet for a Namespace. |
create_or_update | INSERT | namespaceName, resourceGroupName, subscriptionId | Create 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.relay.namespaces_network_rule_sets (
namespaceName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ namespaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: trustedServiceAccessEnabled
value: boolean
- name: defaultAction
value: string
- name: publicNetworkAccess
value: string
- name: ipRules
value:
- - name: ipMask
value: string
- name: action
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string