你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChaosTargetReference(ChaosTargetReferenceType, ResourceIdentifier) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
String of the resource ID of a Target resource.
Exceptions
id
is null.