Compartilhar via


MachineLearningRegistryCodeVersionResource.CreateOrGetStartPendingUploadAsync Método

Definição

Gere um local de armazenamento e uma credencial para o cliente carregar um ativo de código.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}/startPendingUpload
  • Operação IdRegistryCodeVersions_CreateOrGetStartPendingUpload
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto>> CreateOrGetStartPendingUploadAsync (Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrGetStartPendingUploadAsync : Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto>>
override this.CreateOrGetStartPendingUploadAsync : Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto>>
Public Overridable Function CreateOrGetStartPendingUploadAsync (body As PendingUploadRequestDto, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PendingUploadResponseDto))

Parâmetros

body
PendingUploadRequestDto

Objeto de solicitação de upload pendente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

body é nulo.

Aplica-se a