NetworkAdminRule 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 admin rule.
public class NetworkAdminRule : Azure.ResourceManager.Network.BaseAdminRuleData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.NetworkAdminRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.NetworkAdminRule>
type NetworkAdminRule = class
inherit BaseAdminRuleData
interface IJsonModel<NetworkAdminRule>
interface IPersistableModel<NetworkAdminRule>
Public Class NetworkAdminRule
Inherits BaseAdminRuleData
Implements IJsonModel(Of NetworkAdminRule), IPersistableModel(Of NetworkAdminRule)
- Inheritance
- Implements
Constructors
NetworkAdminRule() |
Initializes a new instance of NetworkAdminRule. |
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) |
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) |