RulesOperationsExtensions.CreateOrUpdateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une règle et met à jour une règle existante
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.Rule> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.IRulesOperations operations, string resourceGroupName, string namespaceName, string topicName, string subscriptionName, string ruleName, Microsoft.Azure.Management.ServiceBus.Models.Rule parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.IRulesOperations * string * string * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.Rule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.Rule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRulesOperations, resourceGroupName As String, namespaceName As String, topicName As String, subscriptionName As String, ruleName As String, parameters As Rule, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Rule)
Paramètres
- operations
- IRulesOperations
Groupe d’opérations pour cette méthode d’extension.
- resourceGroupName
- String
Nom du groupe de ressources dans l’abonnement Azure.
- namespaceName
- String
Nom de l’espace de noms
- topicName
- String
Nom de la rubrique.
- subscriptionName
- String
Nom de l’abonnement.
- ruleName
- String
Nom de la règle.
- parameters
- Rule
Paramètres fournis pour créer une règle.
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
S’applique à
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