Partilhar via


SupportTicketFileResource.UploadAsync Método

Definição

Essa API permite que você carregue conteúdo em um arquivo

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload
  • IdFiles_Upload de operação
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)

Parâmetros

content
UploadFileContent

Objeto UploadFile.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a