Sdílet prostřednictvím


RoleInstances Class

Definition

Specifies a list of role instances from the cloud service.

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

Constructors

RoleInstances(IEnumerable<String>)

Initializes a new instance of RoleInstances.

Properties

RoleInstancesValue

List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RoleInstances>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoleInstances>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleInstances>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleInstances>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoleInstances>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to