ChaosExtensions.GetChaosTargetTypes(SubscriptionResource, String) 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 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
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour