Freigeben über


MachineLearningRegistryCodeVersionResource.CreateOrGetStartPendingUploadAsync Methode

Definition

Generieren Sie einen Speicherort und Anmeldeinformationen für den Client, in den ein Codeobjekt hochgeladen werden soll.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}/startPendingUpload
  • Vorgangs-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))

Parameter

body
PendingUploadRequestDto

Ausstehendes Uploadanforderungsobjekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

body ist NULL.

Gilt für: