Freigeben über


VirtualNetworkRule Class

Definition

Virtual Network rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.VirtualNetworkRuleTypeConverter))]
public class VirtualNetworkRule : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IVirtualNetworkRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.VirtualNetworkRuleTypeConverter))>]
type VirtualNetworkRule = class
    interface IVirtualNetworkRule
    interface IJsonSerializable
Public Class VirtualNetworkRule
Implements IVirtualNetworkRule
Inheritance
VirtualNetworkRule
Attributes
Implements

Constructors

VirtualNetworkRule()

Creates an new VirtualNetworkRule instance.

Properties

Action

The action of virtual network rule.

State

Gets the state of virtual network rule.

VirtualNetworkResourceId

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualNetworkRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualNetworkRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IVirtualNetworkRule.

FromJsonString(String)

Creates a new instance of VirtualNetworkRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualNetworkRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to