Partager via


SharedSearchServicePrivateLinkResource.Update Méthode

Définition

Lance la création ou la mise à jour d’une ressource de liaison privée partagée gérée par le service de recherche dans le groupe de ressources donné.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Opération IdSharedPrivateLinkResources_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResourceData data, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResourceData * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResourceData * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As SharedSearchServicePrivateLinkResourceData, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SharedSearchServicePrivateLinkResource)

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
SharedSearchServicePrivateLinkResourceData

Définition de la ressource de liaison privée partagée à créer ou à mettre à jour.

searchManagementRequestOptions
SearchManagementRequestOptions

Groupe de paramètres.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à