Share via


CloudServiceRole Constructors

Definition

Overloads

CloudServiceRole()

Initializes a new instance of the CloudServiceRole class.

CloudServiceRole(String, String, String, String, CloudServiceRoleSku, CloudServiceRoleProperties)

Initializes a new instance of the CloudServiceRole class.

CloudServiceRole()

Initializes a new instance of the CloudServiceRole class.

public CloudServiceRole ();
Public Sub New ()

Applies to

CloudServiceRole(String, String, String, String, CloudServiceRoleSku, CloudServiceRoleProperties)

Initializes a new instance of the CloudServiceRole class.

public CloudServiceRole (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.Compute.Models.CloudServiceRoleSku sku = default, Microsoft.Azure.Management.Compute.Models.CloudServiceRoleProperties properties = default);
new Microsoft.Azure.Management.Compute.Models.CloudServiceRole : string * string * string * string * Microsoft.Azure.Management.Compute.Models.CloudServiceRoleSku * Microsoft.Azure.Management.Compute.Models.CloudServiceRoleProperties -> Microsoft.Azure.Management.Compute.Models.CloudServiceRole
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional sku As CloudServiceRoleSku = Nothing, Optional properties As CloudServiceRoleProperties = Nothing)

Parameters

id
String

Resource id

name
String

Resource name

type
String

Resource type

location
String

Resource location

Applies to