Share via


SupportTicketFileResource.Upload(UploadFileContent, CancellationToken) Method

Definition

This API allows you to upload content to a file

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload
  • Operation Id: Files_Upload
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketFileResource
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