Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 2.76 KB

cache.md

File metadata and controls

61 lines (48 loc) · 2.76 KB

Cache

Azure's cache service · portable interface driver.Cache · Azure index

Operations (17)

Operation Description
CreateCache
Decr
DecrBy
Delete
DeleteCache
Expire TTL management
FlushAll
Get
GetCache
GetTTL
Incr Atomic counters
IncrBy
Keys
ListCaches
Persist
Set
UpdateCache UpdateCache replaces the mutable fields (node type, tags) of an

Optional capabilities

Discovered by type assertion; only some providers implement these.

AccessKeys

AccessKeys is an OPTIONAL capability, discovered by type assertion. Azure

Operation Description
ListCacheKeys ListCacheKeys returns the cache's current primary and secondary access
RegenerateCacheKey RegenerateCacheKey rotates the requested key ("Primary" or "Secondary")

RedisChildren

RedisChildren is an OPTIONAL capability, discovered by type assertion. Azure

Operation Description
DeleteFirewallRule DeleteFirewallRule removes a rule and reports whether it existed.
DeletePatchSchedule DeletePatchSchedule removes the patch schedule and reports whether one
GetFirewallRule GetFirewallRule returns a rule, NotFound when it does not exist.
GetPatchSchedule GetPatchSchedule returns the patch schedule, NotFound when none is set.
ListFirewallRules ListFirewallRules returns the cache's rules sorted by name.
PutFirewallRule PutFirewallRule creates or replaces a rule. created is true for a new
SetPatchSchedule SetPatchSchedule replaces the cache's patch schedule. created is true

Not in scope

  • AWS: ElastiCache clusters, replication groups, and subnet and parameter groups share one id namespace across regions, so the same id cannot exist in two regions at once (#1693).
  • AWS: ElastiCache snapshot ARNs cannot be tagged yet; AddTagsToResource and ListTagsForResource on a :snapshot: ARN answer not-found (#1695).
  • AWS: with a real cache engine, a cluster or replication group reports creating only while the engine is being started and deleting only while it is being stopped. Without one, both are immediate unless --async-settle is set.
  • AWS: a persisted snapshot (--persist, /_cloudemu/snapshot) leaves out ElastiCache clusters and replication groups that are still creating or deleting with a real engine, so they are not restored.
  • AWS: while a replication group is deleting with a real engine, its member clusters (<groupId>-001, …) are already gone from DescribeCacheClusters, though the group itself still shows deleting.