你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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>, 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. |