C# Class Microsoft.Azure.Commands.RedisCache.RedisCacheClient

Show file Open project: Azure/azure-powershell

Public Methods

Method Description
CreateOrUpdateCache ( string resourceGroupName, string cacheName, string location, string skuFamily, int skuCapacity, string skuName, Hashtable redisConfiguration, bool enableNonSslPort, Hashtable tenantSettings, int shardCount, string subnetId, string staticIP, string>.IDictionary tags = null ) : Microsoft.Azure.Management.Redis.Models.RedisResourceWithAccessKey
DeleteCache ( string resourceGroupName, string cacheName ) : void
ExportToCache ( string resourceGroupName, string cacheName, string containerUrisWithSasTokens, string prefix, string format ) : void
GetAccessKeys ( string resourceGroupName, string cacheName ) : RedisListKeysResult
GetCache ( string resourceGroupName, string cacheName ) : Microsoft.Azure.Management.Redis.Models.RedisResource
GetPatchSchedules ( string resourceGroupName, string cacheName ) : IList
ImportToCache ( string resourceGroupName, string cacheName, string blobUrisWithSasTokens, string format ) : void
ListCaches ( string resourceGroupName ) : IPage
ListCachesUsingNextLink ( string resourceGroupName, string nextLink ) : IPage
RebootCache ( string resourceGroupName, string cacheName, string rebootType, int shardId ) : void
RedisCacheClient ( ) : Microsoft.Azure.Commands.Common.Authentication
RedisCacheClient ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
RegenerateAccessKeys ( string resourceGroupName, string cacheName, RedisKeyType keyType ) : RedisListKeysResult
RemovePatchSchedules ( string resourceGroupName, string cacheName ) : void
SetPatchSchedules ( string resourceGroupName, string cacheName, List schedules ) : IList

Private Methods

Method Description
SetDiagnostics ( string cacheId, string storageAccountName ) : void

Method Details

CreateOrUpdateCache() public method

public CreateOrUpdateCache ( string resourceGroupName, string cacheName, string location, string skuFamily, int skuCapacity, string skuName, Hashtable redisConfiguration, bool enableNonSslPort, Hashtable tenantSettings, int shardCount, string subnetId, string staticIP, string>.IDictionary tags = null ) : Microsoft.Azure.Management.Redis.Models.RedisResourceWithAccessKey
resourceGroupName string
cacheName string
location string
skuFamily string
skuCapacity int
skuName string
redisConfiguration System.Collections.Hashtable
enableNonSslPort bool
tenantSettings System.Collections.Hashtable
shardCount int
subnetId string
staticIP string
tags string>.IDictionary
return Microsoft.Azure.Management.Redis.Models.RedisResourceWithAccessKey

DeleteCache() public method

public DeleteCache ( string resourceGroupName, string cacheName ) : void
resourceGroupName string
cacheName string
return void

ExportToCache() public method

public ExportToCache ( string resourceGroupName, string cacheName, string containerUrisWithSasTokens, string prefix, string format ) : void
resourceGroupName string
cacheName string
containerUrisWithSasTokens string
prefix string
format string
return void

GetAccessKeys() public method

public GetAccessKeys ( string resourceGroupName, string cacheName ) : RedisListKeysResult
resourceGroupName string
cacheName string
return RedisListKeysResult

GetCache() public method

public GetCache ( string resourceGroupName, string cacheName ) : Microsoft.Azure.Management.Redis.Models.RedisResource
resourceGroupName string
cacheName string
return Microsoft.Azure.Management.Redis.Models.RedisResource

GetPatchSchedules() public method

public GetPatchSchedules ( string resourceGroupName, string cacheName ) : IList
resourceGroupName string
cacheName string
return IList

ImportToCache() public method

public ImportToCache ( string resourceGroupName, string cacheName, string blobUrisWithSasTokens, string format ) : void
resourceGroupName string
cacheName string
blobUrisWithSasTokens string
format string
return void

ListCaches() public method

public ListCaches ( string resourceGroupName ) : IPage
resourceGroupName string
return IPage

ListCachesUsingNextLink() public method

public ListCachesUsingNextLink ( string resourceGroupName, string nextLink ) : IPage
resourceGroupName string
nextLink string
return IPage

RebootCache() public method

public RebootCache ( string resourceGroupName, string cacheName, string rebootType, int shardId ) : void
resourceGroupName string
cacheName string
rebootType string
shardId int
return void

RedisCacheClient() public method

public RedisCacheClient ( ) : Microsoft.Azure.Commands.Common.Authentication
return Microsoft.Azure.Commands.Common.Authentication

RedisCacheClient() public method

public RedisCacheClient ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

RegenerateAccessKeys() public method

public RegenerateAccessKeys ( string resourceGroupName, string cacheName, RedisKeyType keyType ) : RedisListKeysResult
resourceGroupName string
cacheName string
keyType RedisKeyType
return RedisListKeysResult

RemovePatchSchedules() public method

public RemovePatchSchedules ( string resourceGroupName, string cacheName ) : void
resourceGroupName string
cacheName string
return void

SetPatchSchedules() public method

public SetPatchSchedules ( string resourceGroupName, string cacheName, List schedules ) : IList
resourceGroupName string
cacheName string
schedules List
return IList