共用方式為


ConnectivityContent Class

Definition

Parameters that determine how the connectivity check will be performed.

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

Constructors

ConnectivityContent(ConnectivitySource, ConnectivityDestination)

Initializes a new instance of ConnectivityContent.

Properties

Destination

The destination of connection.

HttpProtocolConfiguration

HTTP configuration of the connectivity check.

PreferredIPVersion

Preferred IP version of the connection.

Protocol

Network protocol.

Source

The source of the connection.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConnectivityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConnectivityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectivityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectivityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectivityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to