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, IDictionary<String,String>, SystemData) |
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>, SystemData)
Initializes a new instance of the Resource class.
public Resource (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData -> Microsoft.Azure.Management.ContainerRegistry.Models.Resource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- location
- String
The location of the resource. This cannot be changed after the resource is created.
- id
- String
The resource ID.
- name
- String
The name of the resource.
- type
- String
The type of the resource.
- tags
- IDictionary<String,String>
The tags of the resource.
- systemData
- SystemData
Metadata pertaining to creation and last modification of the resource.