Resource Constructors

Definition

Overloads

Resource()

Initializes a new instance of the Resource class.

Resource(String, String, String, String, 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, IDictionary<String,String>)

Initializes a new instance of the Resource class.

public Resource (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null);
new Microsoft.Azure.Management.ContainerRegistry.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerRegistry.Models.Resource
Public Sub New (location As String, Optional id As String = null, Optional name As String = null, Optional type As String = null, Optional tags As IDictionary(Of String, String) = null)

Parameters

location
System.String

The location of the resource. This cannot be changed after the resource is created.

id
System.String

The resource ID.

name
System.String

The name of the resource.

type
System.String

The type of the resource.

tags
System.Collections.Generic.IDictionary<System.String,System.String>

The tags of the resource.

Applies to