C# 클래스 Microsoft.Azure.Commands.ManagedCache.PSCacheClient

파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
AddNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability ) : CloudServiceResource
CreateCacheService ( string subscriptionID, string cacheServiceName, string location, CacheServiceSkuType sku, string memorySize ) : CloudServiceResource
DeleteCacheService ( string cacheServiceName ) : void
GetAccessKeys ( string cacheServiceName ) : CachingKeysResponse
GetCacheServices ( string cacheServiceName ) : List
GetLocations ( ) : List
GetNamedCache ( string cacheServiceName, string namedCacheName ) : CloudServiceResource
NormalizeCacheServiceName ( string cacheServiceName ) : string
PSCacheClient ( ) : System
PSCacheClient ( AzureSMProfile profile, AzureSubscription currentSubscription ) : System
RegenerateAccessKeys ( string cacheServiceName, string keyType ) : CachingKeysResponse
RemoveNamedCache ( string cacheServiceName, string namedCacheName, Action ConfirmAction, bool force ) : void
SetNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability, Action ConfirmAction, bool force ) : CloudServiceResource
UpdateCacheService ( string cacheServiceName, CacheServiceSkuType sku, string memory, Action ConfirmAction, bool force ) : CloudServiceResource

비공개 메소드들

메소드 설명
Base32NoPaddingEncode ( byte data ) : string
CloudServiceExists ( string cloudServiceName ) : bool
EnsureCloudServiceExists ( string subscriptionId, string location ) : string
FetchCloudServiceResource ( string cacheServiceName, string &cloudServiceName ) : CloudServiceResource
GetAssociatedCloudServiceName ( string cacheServiceName ) : string
GetCacheService ( string cloudServiceName, string cacheServiceName ) : CloudServiceResource
GetCloudServiceName ( string subscriptionId, string region ) : string

The following logic was ported from Azure Cache management portal. It is critical to maintain the parity. Do not modify unless you understand the consequence.

GetPromptMessgaeIfThereIsDataLoss ( CacheServiceSkuType existingSkuType, CacheServiceSkuType newSkuType, int existingSkuCount, int newSkuCount ) : string
InitializeParameters ( string location, CacheServiceSkuType sku, string memorySize ) : CacheServiceCreateParameters
IsCachingResource ( string resourceType ) : bool
ProvisionCacheService ( string cloudServiceName, string cacheServiceName, CacheServiceCreateParameters param, bool createOrUpdate ) : CloudServiceResource
WaitForProvisionDone ( string cacheServiceName, string cloudServiceName ) : CloudServiceResource
WriteProgress ( string progress ) : void

메소드 상세

AddNamedCache() 공개 메소드

public AddNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability ) : CloudServiceResource
cacheServiceName string
namedCacheName string
expiryPolicy string
expiryTimeInMinutes int
noeviction bool
notifications bool
highAvailability bool
리턴 CloudServiceResource

CreateCacheService() 공개 메소드

public CreateCacheService ( string subscriptionID, string cacheServiceName, string location, CacheServiceSkuType sku, string memorySize ) : CloudServiceResource
subscriptionID string
cacheServiceName string
location string
sku CacheServiceSkuType
memorySize string
리턴 CloudServiceResource

DeleteCacheService() 공개 메소드

public DeleteCacheService ( string cacheServiceName ) : void
cacheServiceName string
리턴 void

GetAccessKeys() 공개 메소드

public GetAccessKeys ( string cacheServiceName ) : CachingKeysResponse
cacheServiceName string
리턴 CachingKeysResponse

GetCacheServices() 공개 메소드

public GetCacheServices ( string cacheServiceName ) : List
cacheServiceName string
리턴 List

GetLocations() 공개 메소드

public GetLocations ( ) : List
리턴 List

GetNamedCache() 공개 메소드

public GetNamedCache ( string cacheServiceName, string namedCacheName ) : CloudServiceResource
cacheServiceName string
namedCacheName string
리턴 CloudServiceResource

NormalizeCacheServiceName() 공개 메소드

public NormalizeCacheServiceName ( string cacheServiceName ) : string
cacheServiceName string
리턴 string

PSCacheClient() 공개 메소드

public PSCacheClient ( ) : System
리턴 System

PSCacheClient() 공개 메소드

public PSCacheClient ( AzureSMProfile profile, AzureSubscription currentSubscription ) : System
profile Microsoft.Azure.Commands.Common.Authentication.Models.AzureSMProfile
currentSubscription Microsoft.Azure.Commands.Common.Authentication.Models.AzureSubscription
리턴 System

RegenerateAccessKeys() 공개 메소드

public RegenerateAccessKeys ( string cacheServiceName, string keyType ) : CachingKeysResponse
cacheServiceName string
keyType string
리턴 CachingKeysResponse

RemoveNamedCache() 공개 메소드

public RemoveNamedCache ( string cacheServiceName, string namedCacheName, Action ConfirmAction, bool force ) : void
cacheServiceName string
namedCacheName string
ConfirmAction Action
force bool
리턴 void

SetNamedCache() 공개 메소드

public SetNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability, Action ConfirmAction, bool force ) : CloudServiceResource
cacheServiceName string
namedCacheName string
expiryPolicy string
expiryTimeInMinutes int
noeviction bool
notifications bool
highAvailability bool
ConfirmAction Action
force bool
리턴 CloudServiceResource

UpdateCacheService() 공개 메소드

public UpdateCacheService ( string cacheServiceName, CacheServiceSkuType sku, string memory, Action ConfirmAction, bool force ) : CloudServiceResource
cacheServiceName string
sku CacheServiceSkuType
memory string
ConfirmAction Action
force bool
리턴 CloudServiceResource