Share via


CloudServiceRoleSku Class

Definition

Describes the cloud service role sku.

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

Constructors

CloudServiceRoleSku()

Creates an new CloudServiceRoleSku instance.

Properties

Capacity

Specifies the number of role instances in the cloud service.

Name

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.

Tier

Specifies the tier of the cloud service. Possible Values are

Standard

Basic

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudServiceRoleSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudServiceRoleSku.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudServiceRoleSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to