Condividi tramite


GenericResource Constructors

Definition

Overloads

GenericResource()

Initializes a new instance of the GenericResource class.

GenericResource(String, String, String, String, IDictionary<String,String>, Plan, Object, String, String, Sku, Identity)

Initializes a new instance of the GenericResource class.

GenericResource(String, String, String, String, ExtendedLocation, IDictionary<String,String>, Plan, Object, String, String, Sku, Identity)

Initializes a new instance of the GenericResource class.

GenericResource()

Initializes a new instance of the GenericResource class.

public GenericResource ();
Public Sub New ()

Applies to

GenericResource(String, String, String, String, IDictionary<String,String>, Plan, Object, String, String, Sku, Identity)

Initializes a new instance of the GenericResource class.

public GenericResource (string id, string name, string type, string location, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.ResourceManager.Models.Plan plan = default, object properties = default, string kind = default, string managedBy = default, Microsoft.Azure.Management.ResourceManager.Models.Sku sku = default, Microsoft.Azure.Management.ResourceManager.Models.Identity identity = default);
new Microsoft.Azure.Management.ResourceManager.Models.GenericResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ResourceManager.Models.Plan * obj * string * string * Microsoft.Azure.Management.ResourceManager.Models.Sku * Microsoft.Azure.Management.ResourceManager.Models.Identity -> Microsoft.Azure.Management.ResourceManager.Models.GenericResource
Public Sub New (id As String, name As String, type As String, location As String, tags As IDictionary(Of String, String), Optional plan As Plan = Nothing, Optional properties As Object = Nothing, Optional kind As String = Nothing, Optional managedBy As String = Nothing, Optional sku As Sku = Nothing, Optional identity As Identity = Nothing)

Parameters

id
String

Resource ID

name
String

Resource name

type
String

Resource type

location
String

Resource location

tags
IDictionary<String,String>

Resource tags

plan
Plan

The plan of the resource.

properties
Object

The resource properties.

kind
String

The kind of the resource.

managedBy
String

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

identity
Identity

The identity of the resource.

Applies to

GenericResource(String, String, String, String, ExtendedLocation, IDictionary<String,String>, Plan, Object, String, String, Sku, Identity)

Initializes a new instance of the GenericResource class.

public GenericResource (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, Microsoft.Azure.Management.ResourceManager.Models.Plan plan = default, object properties = default, string kind = default, string managedBy = default, Microsoft.Azure.Management.ResourceManager.Models.Sku sku = default, Microsoft.Azure.Management.ResourceManager.Models.Identity identity = default);
new Microsoft.Azure.Management.ResourceManager.Models.GenericResource : string * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.ExtendedLocation * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ResourceManager.Models.Plan * obj * string * string * Microsoft.Azure.Management.ResourceManager.Models.Sku * Microsoft.Azure.Management.ResourceManager.Models.Identity -> Microsoft.Azure.Management.ResourceManager.Models.GenericResource
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, Optional plan As Plan = Nothing, Optional properties As Object = Nothing, Optional kind As String = Nothing, Optional managedBy As String = Nothing, Optional sku As Sku = Nothing, Optional identity As Identity = 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

plan
Plan

The plan of the resource.

properties
Object

The resource properties.

kind
String

The kind of the resource.

managedBy
String

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

identity
Identity

The identity of the resource.

Applies to