共用方式為


Target Constructors

Definition

Overloads

Target()

Initializes a new instance of the Target class.

Target(IDictionary<String,Object>, String, String, String, SystemData, String)

Initializes a new instance of the Target class.

Target()

Initializes a new instance of the Target class.

public Target ();
Public Sub New ()

Applies to

Target(IDictionary<String,Object>, String, String, String, SystemData, String)

Initializes a new instance of the Target class.

public Target (System.Collections.Generic.IDictionary<string,object> properties, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Chaos.Models.SystemData systemData = default, string location = default);
new Microsoft.Azure.Management.Chaos.Models.Target : System.Collections.Generic.IDictionary<string, obj> * string * string * string * Microsoft.Azure.Management.Chaos.Models.SystemData * string -> Microsoft.Azure.Management.Chaos.Models.Target
Public Sub New (properties As IDictionary(Of String, Object), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional location As String = Nothing)

Parameters

properties
IDictionary<String,Object>

The properties of the target resource.

id
String

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

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

The system metadata of the target resource.

location
String

Location of the target resource.

Applies to