MachineLearningCodeVersionResource.CreateOrGetStartPendingUpload Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generate a storage location and credential for the client to upload a code asset to.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload
- Operation Id: CodeVersions_CreateOrGetStartPendingUpload
- Default Api Version: 2024-04-01
- Resource: MachineLearningCodeVersionResource
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)
Parameters
Pending upload request object.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
body
is null.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.