Resource 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
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, String, String, String, ExtendedLocation, IDictionary<String,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, ExtendedLocation, IDictionary<String,String>)
Initializes a new instance of the Resource class.
public Resource (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.ResourceManager.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.ResourceManager.Models.Resource : string * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.ExtendedLocation * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ResourceManager.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 extendedLocation As ExtendedLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)
Parameters
- id
- String
Resource ID
- name
- String
Resource name
- type
- String
Resource type
- location
- String
Resource location
- extendedLocation
- ExtendedLocation
Resource extended location.
- tags
- IDictionary<String,String>
Resource tags
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET