Freigeben über


SupportTicketFileResource.UploadAsync Methode

Definition

Mit dieser API können Sie Inhalte in eine Datei hochladen.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload
  • Vorgang IdFiles_Upload
public virtual System.Threading.Tasks.Task<Azure.Response> UploadAsync (Azure.ResourceManager.Support.Models.UploadFileContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UploadAsync : Azure.ResourceManager.Support.Models.UploadFileContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UploadAsync : Azure.ResourceManager.Support.Models.UploadFileContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UploadAsync (content As UploadFileContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

content
UploadFileContent

UploadFile-Objekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: