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.v2018_01_01_preview.models._models_py3.Resource
NetworkRuleSet

Constructor

NetworkRuleSet(*, trusted_service_access_enabled: Optional[bool] = None, default_action: Optional[Union[str, azure.mgmt.eventhub.v2018_01_01_preview.models._event_hub_management_client_enums.DefaultAction]] = None, virtual_network_rules: Optional[List[azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.NWRuleSetVirtualNetworkRules]] = None, ip_rules: Optional[List[azure.mgmt.eventhub.v2018_01_01_preview.models._models_py3.NWRuleSetIpRules]] = None, **kwargs)

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

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

trusted_service_access_enabled
bool

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

default_action
str or DefaultAction

Default Action for Network Rule Set. Possible values include: "Allow", "Deny".

virtual_network_rules
list[NWRuleSetVirtualNetworkRules]

List VirtualNetwork Rules.

ip_rules
list[NWRuleSetIpRules]

List of IpRules.