共用方式為


WebSiteResource.GetConnectionStringsAsync(CancellationToken) Method

Definition

Description for Gets the connection strings of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list
  • Operation Id: WebApps_ListConnectionStrings
  • Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>> GetConnectionStringsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionStringsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>>
override this.GetConnectionStringsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>>
Public Overridable Function GetConnectionStringsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectionStringDictionary))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to