你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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