ChaosExtensions.GetChaosTargets Method
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.
Gets a collection of ChaosTargetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetChaosTargets(String, String, String) instead.
public static Azure.ResourceManager.Chaos.ChaosTargetCollection GetChaosTargets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string parentProviderNamespace, string parentResourceType, string parentResourceName);
static member GetChaosTargets : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string -> Azure.ResourceManager.Chaos.ChaosTargetCollection
<Extension()>
Public Function GetChaosTargets (resourceGroupResource As ResourceGroupResource, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String) As ChaosTargetCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- parentProviderNamespace
- String
String that represents a resource provider namespace.
- parentResourceType
- String
String that represents a resource type.
- parentResourceName
- String
String that represents a resource name.
Returns
An object representing collection of ChaosTargetResources and their operations over a ChaosTargetResource.
Exceptions
resourceGroupResource
, parentProviderNamespace
, parentResourceType
or parentResourceName
is null.
parentProviderNamespace
, parentResourceType
or parentResourceName
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET