Partager via


SupportTicketNoSubFileResource.Upload Method

Definition

This API allows you to upload content to a file

  • Request Path: /providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload
  • Operation Id: FilesNoSubscription_Upload
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketNoSubFileResource
public virtual Azure.Response Upload (Azure.ResourceManager.Support.Models.UploadFileContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Upload : Azure.ResourceManager.Support.Models.UploadFileContent * System.Threading.CancellationToken -> Azure.Response
override this.Upload : Azure.ResourceManager.Support.Models.UploadFileContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Upload (content As UploadFileContent, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

content
UploadFileContent

UploadFile object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to