共用方式為


VirtualNetworkConfiguration Class

Definition

Configuration of a virtual network to which API Management service is deployed.

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

Constructors

VirtualNetworkConfiguration()

Initializes a new instance of VirtualNetworkConfiguration.

Properties

Subnetname

The name of the subnet.

SubnetResourceId

The full resource ID of a subnet in a virtual network to deploy the API Management service in.

VnetId

The virtual network ID. This is typically a GUID. Expect a null GUID by default.

Explicit Interface Implementations

IJsonModel<VirtualNetworkConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualNetworkConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualNetworkConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualNetworkConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to