Partilhar via


SignalRSharedPrivateLinkResourceCollection.CreateOrUpdateAsync Método

Definição

Criar ou atualizar um recurso de link privado compartilhado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operação IdSignalRSharedPrivateLinkResources_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, sharedPrivateLinkResourceName As String, data As SignalRSharedPrivateLinkResourceData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SignalRSharedPrivateLinkResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

sharedPrivateLinkResourceName
String

O nome do recurso de link privado compartilhado.

data
SignalRSharedPrivateLinkResourceData

O recurso de link privado compartilhado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sharedPrivateLinkResourceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

sharedPrivateLinkResourceName ou data é nulo.

Aplica-se a