Méthode | Description | |
---|---|---|
BlobClient ( string accountName, string accountKey ) : System |
Used to create a blob client with an account name and key
|
|
BlobClient ( string subscriptionId, string containerName, string accountName, |
This is the BlobClient and is used to create the account without the key and get the key automatically
|
|
BlobClient ( string subscriptionId, string containerName, string accountName, string accountKey ) : System |
Used to construct the BlobClient
|
|
CheckStorageAccountHasResolved ( int timeoutInSeconds = 300 ) : bool |
Checks to see whether a stroage account has completed a name resolution with an automatic checking timout of 5 minutes
|
|
CopyBlobsFromContainerSas ( string containerSas, string destinationContainer ) : void |
Given the shared access signature of a container generates a set blob SaS's
|
|
CopyDirectoryTo ( string accountName, string accountKey, string sourceContainerName, string directoryName, string destinationContanerName, string copyDirectoryPrefix = "" ) : Task |
Copies the log directory to the
|
|
CopyStorageAnalyticsLogsTo ( string accountName, string accountKey, string destinationContainer, string sourceDirectory, string prefix ) : Task |
Copies the storage analytics logs to a new storage account
|
|
CreatBlobContainer ( ) : bool |
Creates a blob container given a valid container name
|
|
CreateAndUploadBlob ( string blobName, string filenamePath ) : string |
Creates an uploads a blob given a file path
|
|
DeleteBlob ( string blobName ) : void |
Deletes a blob
|
|
DeleteContainer ( ) : void |
Deletes a blob container
|
|
DeleteStorageAccount ( ) : void |
Deletes the current storage account
|
|
EnableStorageAnalytics ( AnalyticsMetricsType metricsType = AnalyticsMetricsType.Logging ) : void |
Used to enable storage analytics for a particular blob type
|
|
GetAccountKey ( ) : string |
Gets the blob account key
|
|
IsStorageAnalyticsEnabled ( AnalyticsMetricsType metricsType = AnalyticsMetricsType.Logging ) : bool |
Used to enable storage analytics for a particular blob type
|
Méthode | Description | |
---|---|---|
LoadKeyIfNotExists ( ) : void |
loads the account key if it is not present
|
public BlobClient ( string accountName, string accountKey ) : System | ||
accountName | string | |
accountKey | string | |
Résultat | System |
public BlobClient ( string subscriptionId, string containerName, string accountName, |
||
subscriptionId | string | |
containerName | string | |
accountName | string | |
certificate | ||
Résultat | System |
public BlobClient ( string subscriptionId, string containerName, string accountName, string accountKey ) : System | ||
subscriptionId | string | |
containerName | string | |
accountName | string | |
accountKey | string | |
Résultat | System |
public CheckStorageAccountHasResolved ( int timeoutInSeconds = 300 ) : bool | ||
timeoutInSeconds | int | |
Résultat | bool |
public CopyBlobsFromContainerSas ( string containerSas, string destinationContainer ) : void | ||
containerSas | string | |
destinationContainer | string | |
Résultat | void |
public CopyDirectoryTo ( string accountName, string accountKey, string sourceContainerName, string directoryName, string destinationContanerName, string copyDirectoryPrefix = "" ) : Task |
||
accountName | string | |
accountKey | string | |
sourceContainerName | string | |
directoryName | string | |
destinationContanerName | string | |
copyDirectoryPrefix | string | |
Résultat | Task |
public CopyStorageAnalyticsLogsTo ( string accountName, string accountKey, string destinationContainer, string sourceDirectory, string prefix ) : Task |
||
accountName | string | |
accountKey | string | |
destinationContainer | string | |
sourceDirectory | string | |
prefix | string | |
Résultat | Task |
public CreateAndUploadBlob ( string blobName, string filenamePath ) : string | ||
blobName | string | the name of the blob to create |
filenamePath | string | The name of the file to read an copy to blob storage |
Résultat | string |
public DeleteBlob ( string blobName ) : void | ||
blobName | string | The name of a valid blob |
Résultat | void |
public EnableStorageAnalytics ( AnalyticsMetricsType metricsType = AnalyticsMetricsType.Logging ) : void | ||
metricsType | AnalyticsMetricsType | |
Résultat | void |
public IsStorageAnalyticsEnabled ( AnalyticsMetricsType metricsType = AnalyticsMetricsType.Logging ) : bool | ||
metricsType | AnalyticsMetricsType | |
Résultat | bool |