共用方式為


StaticSiteBuildResource.GetStaticSiteBuildLinkedBackendAsync Method

Definition

Returns the details of a linked backend linked to a static site build by name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}
  • Operation Id: StaticSites_GetLinkedBackendForBuild
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteBuildLinkedBackendResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildLinkedBackendResource>> GetStaticSiteBuildLinkedBackendAsync (string linkedBackendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStaticSiteBuildLinkedBackendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildLinkedBackendResource>>
override this.GetStaticSiteBuildLinkedBackendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.StaticSiteBuildLinkedBackendResource>>
Public Overridable Function GetStaticSiteBuildLinkedBackendAsync (linkedBackendName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StaticSiteBuildLinkedBackendResource))

Parameters

linkedBackendName
String

Name of the linked backend that should be retrieved.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

linkedBackendName is null.

linkedBackendName is an empty string, and was expected to be non-empty.

Applies to