Partilhar via


MachineLearningCodeVersionResource.CreateOrGetStartPendingUpload 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/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload
  • IdCodeVersions_CreateOrGetStartPendingUpload de operação
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto> CreateOrGetStartPendingUpload (Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrGetStartPendingUpload : Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto>
override this.CreateOrGetStartPendingUpload : Azure.ResourceManager.MachineLearning.Models.PendingUploadRequestDto * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.PendingUploadResponseDto>
Public Overridable Function CreateOrGetStartPendingUpload (body As PendingUploadRequestDto, Optional cancellationToken As CancellationToken = Nothing) As 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