你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceRoleProfileProperties Class

Definition

Describes the role properties.

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

Constructors

CloudServiceRoleProfileProperties()

Creates an new CloudServiceRoleProfileProperties instance.

Properties

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudServiceRoleProfileProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudServiceRoleProfileProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudServiceRoleProfileProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to