Compartilhar via


RoleInstance Class

Definition

The role instance sub resource.

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

Constructors

Name Description
RoleInstance()

Creates an new RoleInstance instance.

Properties

Name Description
Id

The ARM ID of the resource.

Name

The role instance name.

OperationalState

The operational state of the role instance.

ProvisioningState

The provisioning state of the RoleInstance resource.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource.

Methods

Name Description
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.ConnectedNetwork.Models.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.

ToString()

Applies to