Partager via


MachineLearningCodeVersionResource.CreateOrGetStartPendingUploadAsync Méthode

Définition

Générez un emplacement de stockage et des informations d’identification pour que le client charge une ressource de code.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload
  • IdCodeVersions_CreateOrGetStartPendingUpload d’opération
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))

Paramètres

body
PendingUploadRequestDto

Objet de demande de chargement en attente.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

body a la valeur null.

S’applique à