Share via


TargetType Constructors

Definition

Overloads

TargetType()

Initializes a new instance of the TargetType class.

TargetType(String, String, String, SystemData, String, String, String, String, IList<String>)

Initializes a new instance of the TargetType class.

TargetType()

Initializes a new instance of the TargetType class.

public TargetType ();
Public Sub New ()

Applies to

TargetType(String, String, String, SystemData, String, String, String, String, IList<String>)

Initializes a new instance of the TargetType class.

public TargetType (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Chaos.Models.SystemData systemData = default, string location = default, string displayName = default, string description = default, string propertiesSchema = default, System.Collections.Generic.IList<string> resourceTypes = default);
new Microsoft.Azure.Management.Chaos.Models.TargetType : string * string * string * Microsoft.Azure.Management.Chaos.Models.SystemData * string * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Chaos.Models.TargetType
Public Sub New (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, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional propertiesSchema As String = Nothing, Optional resourceTypes As IList(Of String) = Nothing)

Parameters

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 properties of the target type resource.

location
String

Location of the Target Type resource.

displayName
String

Localized string of the display name.

description
String

Localized string of the description.

propertiesSchema
String

URL to retrieve JSON schema of the Target Type properties.

resourceTypes
IList<String>

List of resource types this Target Type can extend.

Applies to