Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | CloudServiceResource |
public CreateCacheService ( string subscriptionID, string cacheServiceName, string location, CacheServiceSkuType sku, string memorySize ) : CloudServiceResource | ||
subscriptionID | string | |
cacheServiceName | string | |
location | string | |
sku | CacheServiceSkuType | |
memorySize | string | |
return | CloudServiceResource |
public DeleteCacheService ( string cacheServiceName ) : void | ||
cacheServiceName | string | |
return | void |
public GetAccessKeys ( string cacheServiceName ) : CachingKeysResponse | ||
cacheServiceName | string | |
return | CachingKeysResponse |
public GetCacheServices ( string cacheServiceName ) : List |
||
cacheServiceName | string | |
return | List |
public GetNamedCache ( string cacheServiceName, string namedCacheName ) : CloudServiceResource | ||
cacheServiceName | string | |
namedCacheName | string | |
return | CloudServiceResource |
public NormalizeCacheServiceName ( string cacheServiceName ) : string | ||
cacheServiceName | string | |
return | string |
public PSCacheClient ( |
||
profile | ||
currentSubscription | ||
return | System |
public RegenerateAccessKeys ( string cacheServiceName, string keyType ) : CachingKeysResponse | ||
cacheServiceName | string | |
keyType | string | |
return | CachingKeysResponse |
public RemoveNamedCache ( string cacheServiceName, string namedCacheName, Action |
||
cacheServiceName | string | |
namedCacheName | string | |
ConfirmAction | Action |
|
force | bool | |
return | 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 | |
return | CloudServiceResource |
public UpdateCacheService ( string cacheServiceName, CacheServiceSkuType sku, string memory, Action |
||
cacheServiceName | string | |
sku | CacheServiceSkuType | |
memory | string | |
ConfirmAction | Action |
|
force | bool | |
return | CloudServiceResource |