NetworkDefaultAdminRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Network default admin rule.
public class NetworkDefaultAdminRule : Azure.ResourceManager.Network.BaseAdminRuleData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.NetworkDefaultAdminRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.NetworkDefaultAdminRule>
type NetworkDefaultAdminRule = class
inherit BaseAdminRuleData
interface IJsonModel<NetworkDefaultAdminRule>
interface IPersistableModel<NetworkDefaultAdminRule>
Public Class NetworkDefaultAdminRule
Inherits BaseAdminRuleData
Implements IJsonModel(Of NetworkDefaultAdminRule), IPersistableModel(Of NetworkDefaultAdminRule)
- Inheritance
- Implements
Constructors
NetworkDefaultAdminRule() |
Initializes a new instance of NetworkDefaultAdminRule. |
Properties
Access |
Indicates the access allowed for this particular rule. |
Description |
A description for this rule. Restricted to 140 chars. |
DestinationPortRanges |
The destination port ranges. |
Destinations |
The destination address prefixes. CIDR or destination IP ranges. |
Direction |
Indicates if the traffic matched against the rule in inbound or outbound. |
ETag |
A unique read-only string that changes whenever the resource is updated. (Inherited from BaseAdminRuleData) |
Flag |
Default rule flag. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Name |
The name of the resource. (Inherited from ResourceData) |
Priority |
The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. |
Protocol |
Network protocol this rule applies to. |
ProvisioningState |
The provisioning state of the resource. |
ResourceGuid |
Unique identifier for this resource. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SourcePortRanges |
The source port ranges. |
Sources |
The CIDR or source IP ranges. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from BaseAdminRuleData) |