NetworkRuleSet Class

Description of NetworkRuleSet resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.eventhub.v2017_04_01.models._models_py3.Resource
NetworkRuleSet

Constructor

NetworkRuleSet(*, default_action: str | _models.DefaultAction | None = None, virtual_network_rules: List[_models.NWRuleSetVirtualNetworkRules] | None = None, ip_rules: List[_models.NWRuleSetIpRules] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
default_action

Default Action for Network Rule Set. Known values are: "Allow" and "Deny".

virtual_network_rules

List VirtualNetwork Rules.

ip_rules

List of IpRules.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

default_action

Default Action for Network Rule Set. Known values are: "Allow" and "Deny".

virtual_network_rules

List VirtualNetwork Rules.

ip_rules

List of IpRules.