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, microsoft, cloud, storage, blob

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) 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 CredentialsSource Storage CredentialsController Service API:
AzureStorageCredentialsService_v12
Implementations: AzureStorageCredentialsControllerService_v12
AzureStorageCredentialsControllerServiceLookup_v12
Credentials Service used to obtain Azure Blob Storage Credentials to read Source Blob information
Source Container NameSource Container NameName of the Azure storage container that will be copied
Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
Source Blob NameSource Blob NameThe full name of the source blob
Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
Destination Storage Credentialsstorage-credentials-serviceController Service API:
AzureStorageCredentialsService_v12
Implementations: AzureStorageCredentialsControllerService_v12
AzureStorageCredentialsControllerServiceLookup_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: true (will be evaluated using flow file 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: true (will be evaluated using flow file attributes and Environment variables)
Conflict Resolution Strategyconflict-resolution-strategyfail
  • fail Fail if the blob already exists
  • ignore Ignore if the blob already exists; the 'azure.error' attribute will be set to the value 'BLOB_ALREADY_EXISTS'
  • replace Replace blob contents if the blob already exist
Specifies whether an existing blob will have its contents replaced upon conflict.
Create Containercreate-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 API:
ProxyConfigurationService
Implementation: StandardProxyConfigurationService
Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP, SOCKS In case of SOCKS, it is not guaranteed that the selected SOCKS Version will be used by the processor.

Relationships:

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

Reads Attributes:

None specified.

Writes Attributes:

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

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:

None specified.

See Also:

ListAzureBlobStorage_v12, FetchAzureBlobStorage_v12, DeleteAzureBlobStorage_v12, PutAzureBlobStorage_v12