aliyunoss-cli
    Preparing search index...

    Class default

    Index
    • Append an object to the bucket, it's almost same as put, but it can add content to existing object rather than override it.

      Parameters

      Returns Promise<AppendObjectResult>

    • Basically the same as signatureUrl, if refreshSTSToken is configured asyncSignatureUrl will refresh stsToken

      Parameters

      Returns Promise<string>

    • get postObject params.

      Parameters

      • policy: string | object

        policy config object or JSON string

      Returns PostObjectParams

    • Cancel the current multipart upload operation. If abort is provided, it will also call abortMultipartUpload.

      Parameters

      • Optionalabort: { name: string; options?: RequestOptions; uploadId: string }

      Returns void

    • Create a VOD playlist for the channel.

      Parameters

      • id: string
      • name: string
      • time: { endTime: number; startTime: number }
      • Optionaloptions: RequestOptions

      Returns Promise<NormalSuccessResponse>

    • Get the Object url. If provide baseUrl, will use baseUrl instead the default bucket and endpoint. Suggest use generateObjectUrl instead of getObjectUrl.

      Parameters

      • name: string
      • OptionalbaseUrl: string

      Returns string

    • Get bucket information,include CreationDate、ExtranetEndpoint、IntranetEndpoint、Location、Name、StorageClass、 Owner、AccessControlList

      Parameters

      • name: string

      Returns Promise<any>

    • Get bucket location

      Parameters

      • name: string

      Returns Promise<any>

    • Get the bucket logging settings.

      Parameters

      Returns Promise<{ enable: boolean; prefix: string | null; res: NormalSuccessResponse }>

    • Get the bucket request Referer white list.

      Parameters

      Returns Promise<{ allowEmpty: boolean; referers: string[]; res: NormalSuccessResponse }>

    • Get the Object url. If provide baseUrl, will use baseUrl instead the default endpoint.

      Parameters

      • name: string
      • OptionalbaseUrl: string

      Returns string

    • Get signatured rtmp url for publishing.

      Parameters

      Returns string

    • get symlink

      Parameters

      • name: string
      • Optionaloptions: { headers?: object; timeout?: number; versionId?: string }

      Returns Promise<{ res: NormalSuccessResponse; targetName: string }>

    • Check if the upload has been cancelled.

      Returns boolean

    • The ListParts command can be used to list all successfully uploaded parts mapped to a specific upload ID, i.e.: those not completed and not aborted.

      Parameters

      Returns Promise<ListPartsResult>

    • Update the bucket logging settings. Log file will create every one hour and name format: -YYYY-mm-DD-HH-MM-SS-UniqueString.

      Parameters

      Returns Promise<NormalSuccessResponse>

    • Set the bucket request Referer white list.

      Parameters

      • name: string
      • allowEmpty: boolean
      • referers: string[]
      • Optionaloptions: RequestOptions

      Returns Promise<NormalSuccessResponse>

    • Create a signature url for download or upload object. When you put object with signatureUrl ,you need to pass Content-Type.Please look at the example.

      Parameters

      Returns string

    • Generate a signed URL for V4 of an OSS resource and share the URL to allow authorized third-party users to access the resource.

      Parameters

      • method: HTTPMethods
      • expires: number
      • request: { headers?: object; queries?: object } | undefined
      • objectName: string
      • OptionaladditionalHeaders: string[]

      Returns Promise<string>

    • After initiating a Multipart Upload event, you can upload data in parts based on the specified object name and Upload ID.

      Parameters

      • name: string
      • uploadId: string
      • partNo: number
      • file: any
      • start: number
      • end: number
      • Optionaloptions: RequestOptions

      Returns Promise<UploadPartResult>

    • Using Upload Part Copy, you can copy data from an existing object and upload a part of the data. When copying a file larger than 1 GB, you must use the Upload Part Copy method. If you want to copy a file smaller than 1 GB, see Copy Object.

      Parameters

      • name: string
      • uploadId: string
      • partNo: number
      • range: string
      • sourceData: { sourceBucketName: string; sourceKey: string }
      • options: { headers?: object; timeout?: number }

      Returns Promise<UploadPartResult>

    • Use the bucket.

      Parameters

      • name: string

      Returns void