다음을 통해 공유


CloudServiceRoleSku Constructors

Definition

Overloads

CloudServiceRoleSku()

Initializes a new instance of the CloudServiceRoleSku class.

CloudServiceRoleSku(String, String, Nullable<Int64>)

Initializes a new instance of the CloudServiceRoleSku class.

CloudServiceRoleSku()

Initializes a new instance of the CloudServiceRoleSku class.

public CloudServiceRoleSku ();
Public Sub New ()

Applies to

CloudServiceRoleSku(String, String, Nullable<Int64>)

Initializes a new instance of the CloudServiceRoleSku class.

public CloudServiceRoleSku (string name = default, string tier = default, long? capacity = default);
new Microsoft.Azure.Management.Compute.Models.CloudServiceRoleSku : string * string * Nullable<int64> -> Microsoft.Azure.Management.Compute.Models.CloudServiceRoleSku
Public Sub New (Optional name As String = Nothing, Optional tier As String = Nothing, Optional capacity As Nullable(Of Long) = Nothing)

Parameters

name
String

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
String

Specifies the tier of the cloud service. Possible Values are <br /><br /> Standard <br /><br /> Basic

capacity
Nullable<Int64>

Specifies the number of role instances in the cloud service.

Applies to