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.event_hubs.namespaces_network_rule_sets |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Namespace NetworkRuleSet successfully returned.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The geo-location where the resource lives |
properties |
| NetworkRuleSet properties |
systemData | object | The system meta data relating to this resource. |
type | string | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" |
Namespace NetworkRuleSet successfully returned.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The geo-location where the resource lives |
properties |
| NetworkRuleSet properties |
systemData | object | The system meta data relating to this resource. |
type | string | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , namespaceName , subscriptionId | Gets NetworkRuleSet for a Namespace. | |
list | select | resourceGroupName , namespaceName , subscriptionId | Gets NetworkRuleSet for a Namespace. | |
create_or_update | insert | resourceGroupName , namespaceName , subscriptionId | Create or update NetworkRuleSet for a Namespace. |
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.
Name | Datatype | Description |
---|---|---|
namespaceName | string | The Namespace name |
resourceGroupName | string | Name of the resource group within the azure subscription. |
subscriptionId | string | Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
Gets NetworkRuleSet for a Namespace.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.namespaces_network_rule_sets
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets NetworkRuleSet for a Namespace.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.namespaces_network_rule_sets
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create or update NetworkRuleSet for a Namespace.
INSERT INTO azure.event_hubs.namespaces_network_rule_sets (
data__properties,
resourceGroupName,
namespaceName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ namespaceName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
location,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: namespaces_network_rule_sets
props:
- name: resourceGroupName
value: string
description: Required parameter for the namespaces_network_rule_sets resource.
- name: namespaceName
value: string
description: Required parameter for the namespaces_network_rule_sets resource.
- name: subscriptionId
value: string
description: Required parameter for the namespaces_network_rule_sets resource.
- name: properties
value: string
description: |
NetworkRuleSet properties