Share via


MockableChaosArmClient.GetChaosTargetResource(ResourceIdentifier) Method

Definition

Gets an object representing a ChaosTargetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a ChaosTargetResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Chaos.ChaosTargetResource GetChaosTargetResource (Azure.Core.ResourceIdentifier id);
abstract member GetChaosTargetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Chaos.ChaosTargetResource
override this.GetChaosTargetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Chaos.ChaosTargetResource
Public Overridable Function GetChaosTargetResource (id As ResourceIdentifier) As ChaosTargetResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ChaosTargetResource object.

Applies to