Partilhar via


WebSiteSlotResource.UpdateConnectionStringsSlot Método

Definição

Descrição de Substitui as cadeias de conexão de um aplicativo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings
  • IdWebApps_UpdateConnectionStringsSlot de operação
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary> UpdateConnectionStringsSlot (Azure.ResourceManager.AppService.Models.ConnectionStringDictionary connectionStrings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateConnectionStringsSlot : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
override this.UpdateConnectionStringsSlot : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
Public Overridable Function UpdateConnectionStringsSlot (connectionStrings As ConnectionStringDictionary, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectionStringDictionary)

Parâmetros

connectionStrings
ConnectionStringDictionary

Cadeias de conexão do aplicativo ou slot de implantação. Confira o exemplo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

connectionStrings é nulo.

Aplica-se a