Skip to main content

CopyAzureBlobStorage_v12

Description

Copies a blob in Azure Blob Storage from one account/container to another. The processor uses Azure Blob Storage client library v12.

Tags

azure, blob, cloud, microsoft, storage

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Source Storage Credentials *Source Storage CredentialsController Service:
AzureStorageCredentialsService_v12

Implementations:
AzureStorageCredentialsControllerServiceLookup_v12
AzureStorageCredentialsControllerService_v12
Credentials Service used to obtain Azure Blob Storage Credentials to read Source Blob information
Source Container Name *Source Container NameName of the Azure storage container that will be copied

Supports Expression Language, using FlowFile attributes and Environment variables.
Source Blob Name *Source Blob NameThe full name of the source blob

Supports Expression Language, using FlowFile attributes and Environment variables.
Destination Storage Credentials *storage-credentials-serviceController Service:
AzureStorageCredentialsService_v12

Implementations:
AzureStorageCredentialsControllerServiceLookup_v12
AzureStorageCredentialsControllerService_v12
Controller Service used to obtain Azure Blob Storage Credentials.
Destination Container Namecontainer-nameName of the Azure storage container destination defaults to the Source Container Name when not specified

Supports Expression Language, using FlowFile attributes and Environment variables.
Destination Blob Nameblob-nameThe full name of the destination blob defaults to the Source Blob Name when not specified

Supports Expression Language, using FlowFile attributes and Environment variables.
Conflict Resolution Strategy *conflict-resolution-strategyfail
  • fail
  • ignore
  • replace
Specifies whether an existing blob will have its contents replaced upon conflict.
Create Container *create-containerfalse
  • true
  • false
Specifies whether to check if the container exists and to automatically create it if it does not. Permission to list containers is required. If false, this check is not made, but the Put operation will fail if the container does not exist.
Proxy Configuration Serviceproxy-configuration-serviceController Service:
ProxyConfigurationService

Implementations:
StandardProxyConfigurationService
Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: SOCKS, HTTP In case of SOCKS, it is not guaranteed that the selected SOCKS Version will be used by the processor.

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
failureUnsuccessful operations will be transferred to the failure relationship.
successAll successfully processed FlowFiles are routed to this relationship

Reads Attributes

This processor does not read attributes.

Writes Attributes

NameDescription
azure.blobnameThe name of the blob on Azure Blob Storage
azure.blobtypeType of the blob (either BlockBlob, PageBlob or AppendBlob)
azure.containerThe name of the Azure Blob Storage container
azure.error.codeError code reported during blob operation
azure.etagETag of the blob
azure.ignoredWhen Conflict Resolution Strategy is 'ignore', this property will be true/false depending on whether the blob was ignored.
azure.lengthLength of the blob
azure.primaryUriPrimary location of the blob
azure.timestampTimestamp of the blob
langLanguage code for the content
mime.typeMIME Type of the content

State Management

This component does not store state.

Restricted

This component is not restricted.

Input Requirement

This component requires an incoming relationship.

System Resource Considerations

This component does not specify system resource considerations.

See Also

DeleteAzureBlobStorage_v12, FetchAzureBlobStorage_v12, ListAzureBlobStorage_v12, PutAzureBlobStorage_v12