Метод | Описание | |
---|---|---|
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 ( |
||
RegenerateAccessKeys ( string cacheServiceName, string keyType ) : CachingKeysResponse | ||
RemoveNamedCache ( string cacheServiceName, string namedCacheName, Action |
||
SetNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability, Action |
||
UpdateCacheService ( string cacheServiceName, CacheServiceSkuType sku, string memory, Action |
Метод | Описание | |
---|---|---|
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 |
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 |
public CreateCacheService ( string subscriptionID, string cacheServiceName, string location, CacheServiceSkuType sku, string memorySize ) : CloudServiceResource | ||
subscriptionID | string | |
cacheServiceName | string | |
location | string | |
sku | CacheServiceSkuType | |
memorySize | string | |
Результат | CloudServiceResource |
public DeleteCacheService ( string cacheServiceName ) : void | ||
cacheServiceName | string | |
Результат | void |
public GetAccessKeys ( string cacheServiceName ) : CachingKeysResponse | ||
cacheServiceName | string | |
Результат | CachingKeysResponse |
public GetCacheServices ( string cacheServiceName ) : List |
||
cacheServiceName | string | |
Результат | List |
public GetNamedCache ( string cacheServiceName, string namedCacheName ) : CloudServiceResource | ||
cacheServiceName | string | |
namedCacheName | string | |
Результат | CloudServiceResource |
public NormalizeCacheServiceName ( string cacheServiceName ) : string | ||
cacheServiceName | string | |
Результат | string |
public PSCacheClient ( |
||
profile | ||
currentSubscription | ||
Результат | System |
public RegenerateAccessKeys ( string cacheServiceName, string keyType ) : CachingKeysResponse | ||
cacheServiceName | string | |
keyType | string | |
Результат | CachingKeysResponse |
public RemoveNamedCache ( string cacheServiceName, string namedCacheName, Action |
||
cacheServiceName | string | |
namedCacheName | string | |
ConfirmAction | Action |
|
force | bool | |
Результат | void |
public SetNamedCache ( string cacheServiceName, string namedCacheName, string expiryPolicy, int expiryTimeInMinutes, bool noeviction, bool notifications, bool highAvailability, Action |
||
cacheServiceName | string | |
namedCacheName | string | |
expiryPolicy | string | |
expiryTimeInMinutes | int | |
noeviction | bool | |
notifications | bool | |
highAvailability | bool | |
ConfirmAction | Action |
|
force | bool | |
Результат | CloudServiceResource |
public UpdateCacheService ( string cacheServiceName, CacheServiceSkuType sku, string memory, Action |
||
cacheServiceName | string | |
sku | CacheServiceSkuType | |
memory | string | |
ConfirmAction | Action |
|
force | bool | |
Результат | CloudServiceResource |