Sdílet prostřednictvím


ChaosTargetReference(ChaosTargetReferenceType, ResourceIdentifier) Constructor

Definition

Initializes a new instance of ChaosTargetReference.

public ChaosTargetReference (Azure.ResourceManager.Chaos.Models.ChaosTargetReferenceType referenceType, Azure.Core.ResourceIdentifier id);
new Azure.ResourceManager.Chaos.Models.ChaosTargetReference : Azure.ResourceManager.Chaos.Models.ChaosTargetReferenceType * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Chaos.Models.ChaosTargetReference
Public Sub New (referenceType As ChaosTargetReferenceType, id As ResourceIdentifier)

Parameters

referenceType
ChaosTargetReferenceType

Enum of the Target reference type.

id
ResourceIdentifier

String of the resource ID of a Target resource.

Exceptions

id is null.

Applies to