Udostępnij za pośrednictwem


VirtualNetworkRule Class

Definition

Virtual Network rule.

public class VirtualNetworkRule
type VirtualNetworkRule = class
Public Class VirtualNetworkRule
Inheritance
VirtualNetworkRule

Constructors

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, Nullable<Action>, String)

Initializes a new instance of the VirtualNetworkRule class.

Properties

Action

Gets or sets the action of virtual network rule. Possible values include: 'Allow'

State

Gets the state of virtual network rule. Possible values include: 'Provisioning', 'Deprovisioning', 'Succeeded', 'Failed', 'NetworkSourceDeleted'

VirtualNetworkResourceId

Gets or sets resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.

Methods

Validate()

Validate the object.

Applies to