VirtualNetworkRule 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.
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>, Nullable<State>) |
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. |