Share via


RoleInstances Class

Definition

Specifies a list of role instances from the cloud service.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.RoleInstancesTypeConverter))]
public class RoleInstances : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.IRoleInstances
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.RoleInstancesTypeConverter))>]
type RoleInstances = class
    interface IRoleInstances
    interface IJsonSerializable
Public Class RoleInstances
Implements IRoleInstances
Inheritance
RoleInstances
Attributes
Implements

Constructors

RoleInstances()

Creates an new RoleInstances instance.

Properties

RoleInstance

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleInstances.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleInstances.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.IRoleInstances.

FromJsonString(String)

Creates a new instance of RoleInstances, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleInstances into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to