Copy
yaml
type: "io.kestra.plugin.azure.storage.blob.Copy"
Copy a file between Azure Blob Storage.
Examples
yaml
id: "copy"
type: "io.kestra.plugin.azure.storage.blob.Copy"
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
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
- Type: io.kestra.plugin.azure.storage.blob.Copy-CopyObject
- Dynamic: ✔️
- Required: ✔️
The source from where the file should be copied.
to
- Type: io.kestra.plugin.azure.storage.blob.Copy-CopyObject
- Dynamic: ❌
- Required: ✔️
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: io.kestra.plugin.azure.storage.blob.models.Blob
- Dynamic: ❓
- 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.