Compartilhar via


WebSiteResource.GetWebSiteConfigConnectionString 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 Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource> GetWebSiteConfigConnectionString (string connectionStringKey, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebSiteConfigConnectionString : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource>
override this.GetWebSiteConfigConnectionString : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteConfigConnectionStringResource>
Public Overridable Function GetWebSiteConfigConnectionString (connectionStringKey As String, Optional cancellationToken As CancellationToken = Nothing) As 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