TrackedResource Constructors

Definition

Overloads

TrackedResource()

Initializes a new instance of the TrackedResource class.

TrackedResource(String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the TrackedResource class.

TrackedResource()

Initializes a new instance of the TrackedResource class.

public TrackedResource ();
Public Sub New ()

Applies to

TrackedResource(String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the TrackedResource class.

public TrackedResource (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Search.Models.TrackedResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Search.Models.TrackedResource
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)

Parameters

location
System.String

The geo-location where the resource lives

id
System.String

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
System.String

The name of the resource

type
System.String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

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

Resource tags.

Applies to