다음을 통해 공유


Resource Constructors

Definition

Overloads

Resource()

Initializes a new instance of the Resource class.

Resource(String, String, String, String, IDictionary<String,String>, IList<String>)

Initializes a new instance of the Resource class.

Resource()

Initializes a new instance of the Resource class.

public Resource ();
Public Sub New ()

Applies to

Resource(String, String, String, String, IDictionary<String,String>, IList<String>)

Initializes a new instance of the Resource class.

public Resource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.ContainerInstance.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ContainerInstance.Models.Resource
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 zones As IList(Of String) = Nothing)

Parameters

id
String

The resource id.

name
String

The resource name.

type
String

The resource type.

location
String

The resource location.

tags
IDictionary<String,String>

The resource tags.

zones
IList<String>

The zones for the container group.

Applies to