Dela via


Resource Constructors

Definition

Overloads

Resource()

Initializes a new instance of the Resource class.

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

Initializes a new instance of the Resource class.

public Resource (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Maintenance.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Maintenance.Models.Resource : string * string * string * Microsoft.Azure.Management.Maintenance.Models.SystemData -> Microsoft.Azure.Management.Maintenance.Models.Resource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified identifier of the resource

name
String

Name of the resource

type
String

Type of the resource

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Applies to