NetworkRuleSet Class

Description of topic resource.

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

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

Constructor

NetworkRuleSet(*, trusted_service_access_enabled: bool | None = None, default_action: str | _models.DefaultAction | None = None, virtual_network_rules: List[_models.NWRuleSetVirtualNetworkRules] | None = None, ip_rules: List[_models.NWRuleSetIpRules] | None = None, public_network_access: str | _models.PublicNetworkAccessFlag = 'Enabled', **kwargs: Any)

Keyword-Only Parameters

Name Description
trusted_service_access_enabled

Value that indicates whether Trusted Service Access is Enabled or not.

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.

public_network_access

This determines if traffic is allowed over public network. By default it is enabled. Known values are: "Enabled" and "Disabled".

Default value: Enabled

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".

system_data

The system meta data relating to this resource.

trusted_service_access_enabled

Value that indicates whether Trusted Service Access is Enabled or not.

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.

public_network_access

This determines if traffic is allowed over public network. By default it is enabled. Known values are: "Enabled" and "Disabled".