Partager via


ServiceFabricApplicationTypeResource.UpdateAsync Méthode

Définition

Créez ou mettez à jour une ressource de nom de type d’application Service Fabric avec le nom spécifié.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}
  • Opération IdApplicationTypes_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ServiceFabricApplicationTypeData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ServiceFabricApplicationTypeResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

data
ServiceFabricApplicationTypeData

Ressource de nom de type d’application.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à