Udostępnij za pośrednictwem


ArmChaosModelFactory.ChaosTargetData Method

Definition

Initializes a new instance of ChaosTargetData.

public static Azure.ResourceManager.Chaos.ChaosTargetData ChaosTargetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,BinaryData> properties = default);
static member ChaosTargetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.Chaos.ChaosTargetData
Public Shared Function ChaosTargetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional properties As IDictionary(Of String, BinaryData) = Nothing) As ChaosTargetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Location of the target resource.

properties
IDictionary<String,BinaryData>

The properties of the target resource.

Returns

A new ChaosTargetData instance for mocking.

Applies to