Compartilhar via


WebSiteResource.GetWebSiteConfigConnectionStringAsync Método

Definição

Descrição para Obter a referência de configuração e status de um aplicativo

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}
  • IdWebApps_GetSiteConnectionStringKeyVaultReference de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource>> GetWebSiteConfigConnectionStringAsync (string connectionStringKey, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebSiteConfigConnectionStringAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource>>
override this.GetWebSiteConfigConnectionStringAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource>>
Public Overridable Function GetWebSiteConfigConnectionStringAsync (connectionStringKey As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteConfigConnectionStringResource))

Parâmetros

connectionStringKey
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

connectionStringKey é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

connectionStringKey é nulo.

Aplica-se a