Share via


RoleInstance Class

Definition

Describes the cloud service role instance.

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

Constructors

RoleInstance()

Creates an new RoleInstance instance.

Properties

Id

Resource Id

InstanceViewPlatformFaultDomain

The Fault Domain.

InstanceViewPlatformUpdateDomain

The Update Domain.

InstanceViewPrivateId

Specifies a unique identifier generated internally for the cloud service associated with this role instance.

NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.

InstanceViewStatuses
Location

Resource Location.

Name

Resource Name.

NetworkProfileNetworkInterface

Specifies the list of resource Ids for the network interfaces associated with the role instance.

SkuName

The sku name.

SkuTier

The tier of the cloud service role instance.

Tag

Resource tags.

Type

Resource Type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleInstance.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleInstance.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleInstance into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to