Partager via


CapabilitiesOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créez ou mettez à jour une ressource Capability qui étend une ressource Cible.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Capability> CreateOrUpdateAsync (this Microsoft.Azure.Management.Chaos.ICapabilitiesOperations operations, string resourceGroupName, string parentProviderNamespace, string parentResourceType, string parentResourceName, string targetName, string capabilityName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Chaos.ICapabilitiesOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Capability>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICapabilitiesOperations, resourceGroupName As String, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String, targetName As String, capabilityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Capability)

Paramètres

operations
ICapabilitiesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Chaîne qui représente un groupe de ressources Azure.

parentProviderNamespace
String

Chaîne qui représente un espace de noms de fournisseur de ressources.

parentResourceType
String

Chaîne qui représente un type de ressource.

parentResourceName
String

Chaîne qui représente un nom de ressource.

targetName
String

Chaîne qui représente un nom de ressource cible.

capabilityName
String

Chaîne qui représente un nom de ressource de capacité.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à