AzureResource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應