NetworkRuleSet Class
Description of NetworkRuleSet resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.servicebus.v2022_01_01_preview.models._models_py3.ProxyResourceNetworkRuleSet
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
|
str or
DefaultAction
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
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs". |
location
|
The geo-location where the resource lives. |
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
|
str or
DefaultAction
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". |
Azure SDK for Python