XAzureStorage class

Azure Storage Client

Constructors

XAzureStorage.parse(String connectionString)
Initialize with connection string.

Properties

accountKey Uint8List?
getter/setter pair
config Map<String, String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

appendBlock(String path, {String? body, Uint8List? bodyBytes}) Future<void>
Append block to blob.
clearQmessages(String qName) Future<void>
The Clear Messages operation deletes all messages from the specified queue.
createContainer(String name, {int? timeout}) Future<void>
createQueue(String qName) Future<void>
Create a new queue
createTable(String tableName) Future<void>
Create a new table
deleteBlob(String path, {BlobType type = BlobType.blockBlob}) Future<void>
deleteContainer(String name, {int? timeout}) Future<void>
deleteQueue(String qName) Future<void>
Delete a new queue
deleteTable(String tableName) Future<void>
Delete a new table from azure storage account
deleteTableRow({required String tableName, required String partitionKey, required String rowKey}) Future<void>
Delete table entity.
delQmessage({required String qName, required String messageId, required String popReceipt}) Future<void>
The Delete Message operation deletes the specified message from the queue.
filterTableRows({required String tableName, required String filter, int top = 20, List<String>? fields}) Future<List>
Get a list of all tables in storage account top: Optional. Returns only the top n tables or entities from the set. The package defaults this value to 20. filter: Required. Logic for filter condition can be gotten from official documentation e.g RowKey%20eq%"237" or AmountDue%20gt%2010. fields: Optional. Specify columns/fields to be returned. By default, all fields are returned by the package
getBlob(String path) Future<StreamedResponse>
Get Blob.
getQData(String qName) Future<Map<String, String>>
Get queue data
getQList() Future<List<String>>
Get a list of all queues attached to the storage account
getQmessages({required String qName, int numOfmessages = 20, int? visibilitytimeout, int? timeout}) Future<List<AzureQMessage>>
Get a list of all queue messaged in a queue
getTableRow({String? tableName, String? partitionKey, String? rowKey, List<String>? fields}) Future<String>
get data from azure tables
getTables() Future<List<String?>>
Get a list of all tables in storage accout
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peekQmessages({required String qName, int numofmessages = 1}) Future<List<AzureQMessage>>
The Peek Messages operation retrieves one or more messages from the front of the queue, but does not alter the visibility of the message.
putBlob(String path, {String? body, Uint8List? bodyBytes, required String contentType, BlobType type = BlobType.blockBlob}) Future<void>
Put Blob.
putQMessage({required String qName, int messagettl = 604800, int vtimeout = 0, required String message}) Future<void>
Put queue message
putTableRow({String? tableName, String? partitionKey, String? rowKey, String? body, Map<String, dynamic>? bodyMap}) Future<void>
Upload or replace table entity/entry.
toString() String
A string representation of this object.
override
updateQmessage({required String qName, required String messageId, Duration? vTimeout, required String message, required String popReceipt}) Future<void>
The Update Message operation updates the visibility timeout of a message. You can also use this operation to update the contents of a message.
upsertTableRow({required String tableName, required String partitionKey, required String rowKey, String? body, Map<String, dynamic>? bodyMap}) Future<void>
Update table entity/entry.
uri({String path = '/', Map<String, String>? queryParameters}) Uri

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

accountMainKey String
final
accountName String
final
defaultEndpointsProtocol String
final
endpointSuffix String
final
sharedAccessSignature String
final