共用方式為


AzureResource Constructors

Definition

Overloads

AzureResource()

Initializes a new instance of the AzureResource class.

AzureResource(String, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the AzureResource class.

AzureResource()

Initializes a new instance of the AzureResource class.

public AzureResource ();
Public Sub New ()

Applies to

AzureResource(String, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the AzureResource class.

public AzureResource (string location, string id = default, string name = default, string type = default, string kind = default, string identity = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Monitor.Models.AzureResource : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Monitor.Models.AzureResource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional identity As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameters

location
String

Resource location

id
String

Azure resource Id

name
String

Azure resource name

type
String

Azure resource type

kind
String

Azure resource kind

identity
String

Azure resource identity

tags
IDictionary<String,String>

Resource tags

Applies to