다음을 통해 공유


ChaosExtensions.GetChaosTargetTypes(SubscriptionResource, String) Method

Definition

Gets a collection of ChaosTargetTypeResources in the SubscriptionResource. MockingTo mock this method, please mock GetChaosTargetTypes(String) instead.

public static Azure.ResourceManager.Chaos.ChaosTargetTypeCollection GetChaosTargetTypes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string locationName);
static member GetChaosTargetTypes : Azure.ResourceManager.Resources.SubscriptionResource * string -> Azure.ResourceManager.Chaos.ChaosTargetTypeCollection
<Extension()>
Public Function GetChaosTargetTypes (subscriptionResource As SubscriptionResource, locationName As String) As ChaosTargetTypeCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

locationName
String

String that represents a Location resource name.

Returns

An object representing collection of ChaosTargetTypeResources and their operations over a ChaosTargetTypeResource.

Exceptions

subscriptionResource or locationName is null.

locationName is an empty string, and was expected to be non-empty.

Applies to