共用方式為


ContainerRegistryResource.GetBuildSourceUploadUrlAsync Method

Definition

Get the upload location for the user to be able to upload the source.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl
  • Operation Id: Builds_GetBuildSourceUploadUrl
  • Default Api Version: 2019-06-01-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.SourceUploadDefinition>> GetBuildSourceUploadUrlAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBuildSourceUploadUrlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.SourceUploadDefinition>>
override this.GetBuildSourceUploadUrlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.SourceUploadDefinition>>
Public Overridable Function GetBuildSourceUploadUrlAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SourceUploadDefinition))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to