C# 클래스 AzureStorageNew.StorageAccountTests

파일 보기 프로젝트 열기: Azure-Samples/storage-dotnet-resource-provider-getting-started

공개 프로퍼티들

프로퍼티 타입 설명
DefaultKind Kind
DefaultSku Sku
DefaultTags string>.Dictionary

공개 메소드들

메소드 설명
CreateResourceGroup ( string rgname, Microsoft.Azure.Management.Resources.ResourceManagementClient resourcesClient ) : void

Creates a new resource group with the specified name If one already exists then it gets updated

RegisterStorageResourceProvider ( Microsoft.Azure.Management.Resources.ResourceManagementClient resourcesClient ) : void

Registers the Storage Resource Provider in the subscription.

비공개 메소드들

메소드 설명
CreateStorageAccount ( string rgname, string acctName, StorageManagementClient storageMgmtClient ) : void

Create a new Storage Account. If one already exists then the request still succeeds

DeleteStorageAccount ( string rgname, string acctName, StorageManagementClient storageMgmtClient ) : void

Deletes a storage account for the specified account name

GetAuthorizationHeader ( ) : string
GetDefaultStorageAccountParameters ( ) : Microsoft.Azure.Management.Storage.Models.StorageAccountCreateParameters

Returns default values to create a storage account

Main ( string args ) : void
UpdateStorageAccountSku ( string rgname, string acctName, SkuName skuName, StorageManagementClient storageMgmtClient ) : void

Updates the storage account

메소드 상세

CreateResourceGroup() 공개 정적인 메소드

Creates a new resource group with the specified name If one already exists then it gets updated
public static CreateResourceGroup ( string rgname, Microsoft.Azure.Management.Resources.ResourceManagementClient resourcesClient ) : void
rgname string
resourcesClient Microsoft.Azure.Management.Resources.ResourceManagementClient
리턴 void

RegisterStorageResourceProvider() 공개 정적인 메소드

Registers the Storage Resource Provider in the subscription.
public static RegisterStorageResourceProvider ( Microsoft.Azure.Management.Resources.ResourceManagementClient resourcesClient ) : void
resourcesClient Microsoft.Azure.Management.Resources.ResourceManagementClient
리턴 void

프로퍼티 상세

DefaultKind 공개적으로 정적으로 프로퍼티

public static Kind DefaultKind
리턴 Kind

DefaultSku 공개적으로 정적으로 프로퍼티

public static Sku DefaultSku
리턴 Sku

DefaultTags 공개적으로 정적으로 프로퍼티

public static Dictionary DefaultTags
리턴 string>.Dictionary