Skip to main content

PutAzureBlobStorage_v12

Description

Puts content into a blob on Azure Blob Storage. 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
Storage Credentials *storage-credentials-serviceController Service:
AzureStorageCredentialsService_v12

Implementations:
AzureStorageCredentialsControllerServiceLookup_v12
AzureStorageCredentialsControllerService_v12
Controller Service used to obtain Azure Blob Storage Credentials.
Container Name *container-nameName of the Azure storage container. In case of PutAzureBlobStorage processor, container can be created if it does not exist.

Supports Expression Language, using FlowFile attributes and Environment variables.
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.
Conflict Resolution Strategy *conflict-resolution-strategyfail
  • fail
  • ignore
  • replace
Specifies whether an existing blob will have its contents replaced upon conflict.
Blob Name *blob-nameThe full name of the blob

Supports Expression Language, using FlowFile attributes and Environment variables.
Resource Transfer Source *Resource Transfer SourceFlowFile Content
  • FlowFile Content
  • File Resource Service
The source of the content to be transferred
File Resource Service *File Resource ServiceController Service:
FileResourceService

Implementations:
AzureBlobStorageFileResourceService
AzureDataLakeStorageFileResourceService
GCSFileResourceService
S3FileResourceService
StandardFileResourceService
File Resource Service providing access to the local resource to be transferred

This property is only considered if:
  • the property Resource Transfer Source has a value of FILE_RESOURCE_SERVICE
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.
Client-Side Encryption Key Type *Client-Side Encryption Key TypeNONE
  • NONE
  • LOCAL
Specifies the key type to use for client-side encryption.
Client-Side Encryption Key ID *Client-Side Encryption Key IDSpecifies the ID of the key to use for client-side encryption.

Supports Expression Language, using FlowFile attributes and Environment variables.

This property is only considered if:
  • the property Client-Side Encryption Key Type has a value of LOCAL
Client-Side Encryption Local Key *Client-Side Encryption Local KeyWhen using local client-side encryption, this is the raw key, encoded in hexadecimal

This property is only considered if:
  • the property Client-Side Encryption Key Type has a value of LOCAL

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

CopyAzureBlobStorage_v12, DeleteAzureBlobStorage_v12, FetchAzureBlobStorage_v12, ListAzureBlobStorage_v12