Share via


MockableChaosResourceGroupResource.GetChaosTargets Method

Definition

Gets a collection of ChaosTargetResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.Chaos.ChaosTargetCollection GetChaosTargets(string parentProviderNamespace, string parentResourceType, string parentResourceName);
abstract member GetChaosTargets : string * string * string -> Azure.ResourceManager.Chaos.ChaosTargetCollection
override this.GetChaosTargets : string * string * string -> Azure.ResourceManager.Chaos.ChaosTargetCollection
Public Overridable Function GetChaosTargets (parentProviderNamespace As String, parentResourceType As String, parentResourceName As String) As ChaosTargetCollection

Parameters

parentProviderNamespace
String

The parent resource provider namespace.

parentResourceType
String

The parent resource type.

parentResourceName
String

The parent resource name.

Returns

An object representing collection of ChaosTargetResources and their operations over a ChaosTargetResource.

Exceptions

parentProviderNamespace, parentResourceType or parentResourceName is null.

parentProviderNamespace, parentResourceType or parentResourceName is an empty string, and was expected to be non-empty.

Applies to