다음을 통해 공유


WorkloadNetworkSegmentData Class

Definition

A class representing the WorkloadNetworkSegment data model. NSX Segment

public class WorkloadNetworkSegmentData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Avs.WorkloadNetworkSegmentData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Avs.WorkloadNetworkSegmentData>
public class WorkloadNetworkSegmentData : Azure.ResourceManager.Models.ResourceData
type WorkloadNetworkSegmentData = class
    inherit ResourceData
    interface IJsonModel<WorkloadNetworkSegmentData>
    interface IPersistableModel<WorkloadNetworkSegmentData>
type WorkloadNetworkSegmentData = class
    inherit ResourceData
Public Class WorkloadNetworkSegmentData
Inherits ResourceData
Implements IJsonModel(Of WorkloadNetworkSegmentData), IPersistableModel(Of WorkloadNetworkSegmentData)
Public Class WorkloadNetworkSegmentData
Inherits ResourceData
Inheritance
WorkloadNetworkSegmentData
Implements

Constructors

WorkloadNetworkSegmentData()

Initializes a new instance of WorkloadNetworkSegmentData.

Properties

ConnectedGateway

Gateway which to connect segment to.

DisplayName

Display name of the segment.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PortVif

Port Vif which segment is associated with.

ProvisioningState

The provisioning state.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Revision

NSX revision number.

Status

Segment status.

Subnet

Subnet which to connect segment to.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<WorkloadNetworkSegmentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WorkloadNetworkSegmentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WorkloadNetworkSegmentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkloadNetworkSegmentData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WorkloadNetworkSegmentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to