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

ICloudServiceRole Interface

Definition

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

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to