共用方式為


StaticSiteBuildDatabaseConnectionResource.GetBuildDatabaseConnectionWithDetailsAsync Method

Definition

Returns details of a database connection for a static site build by name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show
  • Operation Id: StaticSites_GetBuildDatabaseConnectionWithDetails
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteBuildDatabaseConnectionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildDatabaseConnectionResource>> GetBuildDatabaseConnectionWithDetailsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBuildDatabaseConnectionWithDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildDatabaseConnectionResource>>
override this.GetBuildDatabaseConnectionWithDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildDatabaseConnectionResource>>
Public Overridable Function GetBuildDatabaseConnectionWithDetailsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StaticSiteBuildDatabaseConnectionResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to