Method | Description | |
---|---|---|
CreateNewStorageAccountIfNotExists ( this storageClient, string storageAccountName, string location = LocationConstants.NorthEurope ) : void |
If the subscription already contains a storage account by the same name create will be skipped.
|
|
TryCreateNewStorageAccount ( this storageClient, string storageAccountName, string location = LocationConstants.NorthEurope ) : bool |
If the storage account already exists (have to be globally unique) - none will be created. Exceptions are handled.
|
public static CreateNewStorageAccountIfNotExists ( this storageClient, string storageAccountName, string location = LocationConstants.NorthEurope ) : void | ||
storageClient | this | The StorageClient that mapps our subscription. |
storageAccountName | string | The Storage Account we want to create. |
location | string | The location where we want the storage account. |
return | void |
public static TryCreateNewStorageAccount ( this storageClient, string storageAccountName, string location = LocationConstants.NorthEurope ) : bool | ||
storageClient | this | The StorageClient that mapps our subscription. |
storageAccountName | string | The Storage Account we want to create. |
location | string | The location where we want the storage account. |
return | bool |