Share via


ConnectivitySource Class

Definition

Parameters that define the source of the connection.

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

Constructors

ConnectivitySource(ResourceIdentifier)

Initializes a new instance of ConnectivitySource.

Properties

Port

The source port from which a connectivity check will be performed.

ResourceId

The ID of the resource from which a connectivity check will be initiated.

Explicit Interface Implementations

IJsonModel<ConnectivitySource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConnectivitySource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectivitySource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectivitySource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectivitySource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to