Compartir a través de


CloudServiceRole Class

Definition

Describes a role of the cloud service.

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

Constructors

CloudServiceRole()

Creates an new CloudServiceRole instance.

Properties

Id

Resource id

Location

Resource location

Name

Resource name

SkuCapacity

Specifies the number of role instances in the cloud service.

SkuName

The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

SkuTier

Specifies the tier of the cloud service. Possible Values are

Standard

Basic

Type

Resource type

UniqueId

Specifies the ID which uniquely identifies a cloud service role.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudServiceRole.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudServiceRole.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudServiceRole into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to