AzureStorage Class

Summary

Azure Storage Client for Cake.
Assembly
Cake.AzureStorage.dll
Namespace
Cake.AzureStorage
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AzureStorage"] class Type type-node

Syntax

public class AzureStorage

Constructors

Name Summary
AzureStorage()

Methods

Name Value Summary
DeleteBlob(AzureStorageSettings) void
Deletes an Azure blob from Azure Storage
static
DeleteBlobsByPrefix(AzureStorageSettings) IEnumerable<string>
Deletes an Azure blob from Azure Storage using a prefix to determine which blobs to delete, prefix = BlobName
static
UploadFileToBlob(AzureStorageSettings, FilePath) void
Uploads file to an Azure blob storage account.
static

Extension Methods

Name Value Summary
Dump<AzureStorage>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureStorage>(AzureStorage[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureStorage>(string) void
Requires the Cake.Issues addin
NotNull<AzureStorage>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<AzureStorage>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AzureStorage>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin