C# Class Elastacloud.AzureManagement.Fluent.Clients.StorageClientExtensions

Extensions on IStorageClient
Afficher le fichier Open project: azurecoder/fluent-management

Méthodes publiques

Méthode 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.

Method Details

CreateNewStorageAccountIfNotExists() public static méthode

If the subscription already contains a storage account by the same name create will be skipped.
If the is not globally unique.
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.
Résultat void

TryCreateNewStorageAccount() public static méthode

If the storage account already exists (have to be globally unique) - none will be created. Exceptions are handled.
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.
Résultat bool