Dela via


StorageAccountVirtualNetworkRule Class

Definition

Virtual Network rule.

public class StorageAccountVirtualNetworkRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.StorageAccountVirtualNetworkRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.StorageAccountVirtualNetworkRule>
public class StorageAccountVirtualNetworkRule
type StorageAccountVirtualNetworkRule = class
    interface IJsonModel<StorageAccountVirtualNetworkRule>
    interface IPersistableModel<StorageAccountVirtualNetworkRule>
type StorageAccountVirtualNetworkRule = class
Public Class StorageAccountVirtualNetworkRule
Implements IJsonModel(Of StorageAccountVirtualNetworkRule), IPersistableModel(Of StorageAccountVirtualNetworkRule)
Public Class StorageAccountVirtualNetworkRule
Inheritance
StorageAccountVirtualNetworkRule
Implements

Constructors

StorageAccountVirtualNetworkRule(ResourceIdentifier)

Initializes a new instance of StorageAccountVirtualNetworkRule.

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}.

Explicit Interface Implementations

IJsonModel<StorageAccountVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageAccountVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageAccountVirtualNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to