你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RequestParameters type

默认请求参数的形状,这可能被特定请求类型替代以提供强类型

type RequestParameters = {
  abortSignal?: AbortSignalLike
  accept?: string
  allowInsecureConnection?: boolean
  body?: unknown
  contentType?: string
  headers?: RawHttpHeadersInput
  onDownloadProgress?: (progress: TransferProgressEvent) => void
  onResponse?: RawResponseCallback
  onUploadProgress?: (progress: TransferProgressEvent) => void
  pathParameters?: Record<string, any>
  queryParameters?: Record<string, unknown>
  skipUrlEncoding?: boolean
  timeout?: number
  tracingOptions?: OperationTracingOptions
}