다음을 통해 공유


RoleInstance Constructors

Definition

Overloads

RoleInstance()

Initializes a new instance of the RoleInstance class.

RoleInstance(String, String, String, String, IDictionary<String,String>, InstanceSku, RoleInstanceProperties)

Initializes a new instance of the RoleInstance class.

RoleInstance()

Initializes a new instance of the RoleInstance class.

public RoleInstance ();
Public Sub New ()

Applies to

RoleInstance(String, String, String, String, IDictionary<String,String>, InstanceSku, RoleInstanceProperties)

Initializes a new instance of the RoleInstance class.

public RoleInstance (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.InstanceSku sku = default, Microsoft.Azure.Management.Compute.Models.RoleInstanceProperties properties = default);
new Microsoft.Azure.Management.Compute.Models.RoleInstance : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.InstanceSku * Microsoft.Azure.Management.Compute.Models.RoleInstanceProperties -> Microsoft.Azure.Management.Compute.Models.RoleInstance
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As InstanceSku = Nothing, Optional properties As RoleInstanceProperties = Nothing)

Parameters

id
String

Resource Id

name
String

Resource Name.

type
String

Resource Type.

location
String

Resource Location.

tags
IDictionary<String,String>

Resource tags.

Applies to