Code Monkey home page Code Monkey logo

redis-cache-dotnet-manage-cache's Introduction

page_type languages products extensions
sample
csharp
azure
services
Redis-Cache
platforms
dotnet

Getting started on managing Redis Cache in C#

Azure Redis sample for managing Redis Cache:

  • Create a Redis Cache and print out hostname.
  • Get access keys.
  • Regenerate access keys.
  • Create another 2 Redis Caches with Premium Sku.
  • List all Redis Caches in a resource group โ€“ for each cache with Premium Sku:
    • set Redis patch schedule to Monday at 5 am.
    • update shard count.
    • enable non-SSL port.
    • modify max memory policy and reserved settings.
    • restart it.
  • Clean up all resources.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/redis-cache-dotnet-manage-cache.git

cd redis-cache-dotnet-manage-cache

dotnet build

bin\Debug\net452\ManageRedis.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

redis-cache-dotnet-manage-cache's People

Contributors

anuchandy avatar yaohaizh avatar anudeepsharma avatar azure-fluent avatar supernova-eng avatar lenala avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.