Copy Copy

yaml
type: "io.kestra.plugin.azure.storage.blob.Copy"

Copy a file between Azure Blob Storage.

Examples

yaml
id: azure_storage_blob_copy
namespace: company.team

tasks:
  - id: copy
    type: io.kestra.plugin.azure.storage.blob.Copy
    from:
      container: "my-bucket"
      key: "path/to/file"
    to:
      container: "my-bucket2"
      key: "path/to/file2"

Properties

endpoint

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The blob service endpoint.

from

The source from where the file should be copied.

to

The destination to copy the file to.

connectionString

  • Type: string
  • Dynamic: ✔️
  • Required:

Connection string of the Storage Account.

delete

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

Whether to delete the source file after copy.

sasToken

  • Type: string
  • Dynamic: ✔️
  • Required:

The SAS token to use for authenticating requests.

This string should only be the query parameters (with or without a leading '?') and not a full URL.

sharedKeyAccountAccessKey

  • Type: string
  • Dynamic: ✔️
  • Required:

Shared Key access key for authenticating requests.

sharedKeyAccountName

  • Type: string
  • Dynamic: ✔️
  • Required:

Shared Key account name for authenticating requests.

Outputs

blob

  • Type: Blob
  • Required:

The copied blob.

Definitions

io.kestra.plugin.azure.storage.blob.models.Blob

Properties

container
  • Type: string
  • Dynamic:
  • Required:
name
  • Type: string
  • Dynamic:
  • Required:
size
  • Type: integer
  • Dynamic:
  • Required:
uri
  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

io.kestra.plugin.azure.storage.blob.Copy-CopyObject

Properties

container
  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The blob container.

name
  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The full blob path on the container.

Was this page helpful?