C# 클래스 Elastacloud.AzureManagement.Fluent.Clients.StorageClientExtensions

Extensions on IStorageClient
파일 보기 프로젝트 열기: azurecoder/fluent-management

공개 메소드들

메소드 설명
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.

메소드 상세

CreateNewStorageAccountIfNotExists() 공개 정적인 메소드

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.
리턴 void

TryCreateNewStorageAccount() 공개 정적인 메소드

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.
리턴 bool