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.event_hubs.namespaces_network_rule_sets

Fields

The following fields are returned by SELECT queries:

Namespace NetworkRuleSet successfully returned.

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
propertiesNetworkRuleSet properties
systemDataobjectThe system meta data relating to this resource.
typestringThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, namespaceName, subscriptionIdGets NetworkRuleSet for a Namespace.
listselectresourceGroupName, namespaceName, subscriptionIdGets NetworkRuleSet for a Namespace.
create_or_updateinsertresourceGroupName, namespaceName, subscriptionIdCreate 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.

NameDatatypeDescription
namespaceNamestringThe Namespace name
resourceGroupNamestringName of the resource group within the azure subscription.
subscriptionIdstringSubscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

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 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
;