Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessKeys
- type CreateOrUpdateParameters
- type KeyType
- type ListKeysResult
- type ListResult
- type ManagementClient
- func (client ManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (result ResourceWithAccessKey, ae error)
- func (client ManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (*http.Request, error)
- func (client ManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceWithAccessKey, err error)
- func (client ManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Delete(resourceGroupName string, name string) (result autorest.Response, ae error)
- func (client ManagementClient) DeletePreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client ManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Get(resourceGroupName string, name string) (result ResourceType, ae error)
- func (client ManagementClient) GetPreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client ManagementClient) GetResponder(resp *http.Response) (result ResourceType, err error)
- func (client ManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) List() (result ListResult, ae error)
- func (client ManagementClient) ListByResourceGroup(resourceGroupName string) (result ListResult, ae error)
- func (client ManagementClient) ListByResourceGroupNextResults(lastResults ListResult) (result ListResult, ae error)
- func (client ManagementClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client ManagementClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
- func (client ManagementClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) ListKeys(resourceGroupName string, name string) (result ListKeysResult, ae error)
- func (client ManagementClient) ListKeysPreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client ManagementClient) ListKeysResponder(resp *http.Response) (result ListKeysResult, err error)
- func (client ManagementClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) ListNextResults(lastResults ListResult) (result ListResult, ae error)
- func (client ManagementClient) ListPreparer() (*http.Request, error)
- func (client ManagementClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client ManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) RegenerateKey(resourceGroupName string, name string, parameters RegenerateKeyParameters) (result ListKeysResult, ae error)
- func (client ManagementClient) RegenerateKeyPreparer(resourceGroupName string, name string, parameters RegenerateKeyParameters) (*http.Request, error)
- func (client ManagementClient) RegenerateKeyResponder(resp *http.Response) (result ListKeysResult, err error)
- func (client ManagementClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
- type Properties
- type ReadableProperties
- type ReadablePropertiesWithAccessKey
- type RedisManagementClient
- func (client RedisManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (result ResourceWithAccessKey, ae error)
- func (client RedisManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (*http.Request, error)
- func (client RedisManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceWithAccessKey, err error)
- func (client RedisManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) Delete(resourceGroupName string, name string) (result autorest.Response, ae error)
- func (client RedisManagementClient) DeletePreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client RedisManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RedisManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) Get(resourceGroupName string, name string) (result ResourceType, ae error)
- func (client RedisManagementClient) GetPreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client RedisManagementClient) GetResponder(resp *http.Response) (result ResourceType, err error)
- func (client RedisManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) List() (result ListResult, ae error)
- func (client RedisManagementClient) ListByResourceGroup(resourceGroupName string) (result ListResult, ae error)
- func (client RedisManagementClient) ListByResourceGroupNextResults(lastResults ListResult) (result ListResult, ae error)
- func (client RedisManagementClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client RedisManagementClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
- func (client RedisManagementClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) ListKeys(resourceGroupName string, name string) (result ListKeysResult, ae error)
- func (client RedisManagementClient) ListKeysPreparer(resourceGroupName string, name string) (*http.Request, error)
- func (client RedisManagementClient) ListKeysResponder(resp *http.Response) (result ListKeysResult, err error)
- func (client RedisManagementClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) ListNextResults(lastResults ListResult) (result ListResult, ae error)
- func (client RedisManagementClient) ListPreparer() (*http.Request, error)
- func (client RedisManagementClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client RedisManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client RedisManagementClient) RegenerateKey(resourceGroupName string, name string, parameters RegenerateKeyParameters) (result ListKeysResult, ae error)
- func (client RedisManagementClient) RegenerateKeyPreparer(resourceGroupName string, name string, parameters RegenerateKeyParameters) (*http.Request, error)
- func (client RedisManagementClient) RegenerateKeyResponder(resp *http.Response) (result ListKeysResult, err error)
- func (client RedisManagementClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
- type RegenerateKeyParameters
- type Resource
- type ResourceType
- type ResourceWithAccessKey
- type Sku
- type SkuFamily
- type SkuName
- type SubResource
Constants ¶
const ( // APIVersion is the version of the Redis APIVersion = "2015-08-01" // DefaultBaseURI is the default URI used for the service Redis DefaultBaseURI = "https://management.azure.com" )
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessKeys ¶
type AccessKeys struct { PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` }
AccessKeys is redis cache access keys.
type CreateOrUpdateParameters ¶
type CreateOrUpdateParameters struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Properties *Properties `json:"properties,omitempty"` }
CreateOrUpdateParameters is parameters supplied to the CreateOrUpdate Redis operation.
type ListKeysResult ¶
type ListKeysResult struct { autorest.Response `json:"-"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` }
ListKeysResult is the response of redis list keys operation.
type ListResult ¶
type ListResult struct { autorest.Response `json:"-"` Value *[]ResourceType `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListResult is the response of list redis operation.
func (ListResult) ListResultPreparer ¶
func (client ListResult) ListResultPreparer() (*http.Request, error)
ListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ManagementClient ¶
ManagementClient is the .Net client wrapper for the REST API for Azure Redis Cache Management Service
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
func (ManagementClient) CreateOrUpdate ¶
func (client ManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (result ResourceWithAccessKey, ae error)
CreateOrUpdate create a redis cache, or replace (overwrite/recreate, with potential downtime) an existing cache
resourceGroupName is the name of the resource group. name is the name of the redis cache. parameters is parameters supplied to the CreateOrUpdate redis operation.
func (ManagementClient) CreateOrUpdatePreparer ¶
func (client ManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagementClient) CreateOrUpdateResponder ¶
func (client ManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceWithAccessKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagementClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Delete ¶
func (client ManagementClient) Delete(resourceGroupName string, name string) (result autorest.Response, ae error)
Delete deletes a redis cache. This operation takes a while to complete.
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (ManagementClient) DeletePreparer ¶
func (client ManagementClient) DeletePreparer(resourceGroupName string, name string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagementClient) DeleteResponder ¶
func (client ManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Get ¶
func (client ManagementClient) Get(resourceGroupName string, name string) (result ResourceType, ae error)
Get gets a redis cache (resource description).
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (ManagementClient) GetPreparer ¶
func (client ManagementClient) GetPreparer(resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagementClient) GetResponder ¶
func (client ManagementClient) GetResponder(resp *http.Response) (result ResourceType, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) List ¶
func (client ManagementClient) List() (result ListResult, ae error)
List gets all redis caches in the specified subscription.
func (ManagementClient) ListByResourceGroup ¶
func (client ManagementClient) ListByResourceGroup(resourceGroupName string) (result ListResult, ae error)
ListByResourceGroup gets all redis caches in a resource group.
resourceGroupName is the name of the resource group.
func (ManagementClient) ListByResourceGroupNextResults ¶
func (client ManagementClient) ListByResourceGroupNextResults(lastResults ListResult) (result ListResult, ae error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (ManagementClient) ListByResourceGroupPreparer ¶
func (client ManagementClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ManagementClient) ListByResourceGroupResponder ¶
func (client ManagementClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ManagementClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) ListKeys ¶
func (client ManagementClient) ListKeys(resourceGroupName string, name string) (result ListKeysResult, ae error)
ListKeys retrieve a redis cache's access keys. This operation requires write permission to the cache resource.
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (ManagementClient) ListKeysPreparer ¶
func (client ManagementClient) ListKeysPreparer(resourceGroupName string, name string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (ManagementClient) ListKeysResponder ¶
func (client ManagementClient) ListKeysResponder(resp *http.Response) (result ListKeysResult, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (ManagementClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) ListNextResults ¶
func (client ManagementClient) ListNextResults(lastResults ListResult) (result ListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (ManagementClient) ListPreparer ¶
func (client ManagementClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (ManagementClient) ListResponder ¶
func (client ManagementClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) RegenerateKey ¶
func (client ManagementClient) RegenerateKey(resourceGroupName string, name string, parameters RegenerateKeyParameters) (result ListKeysResult, ae error)
RegenerateKey regenerate redis cache's access keys. This operation requires write permission to the cache resource.
resourceGroupName is the name of the resource group. name is the name of the redis cache. parameters is specifies which key to reset.
func (ManagementClient) RegenerateKeyPreparer ¶
func (client ManagementClient) RegenerateKeyPreparer(resourceGroupName string, name string, parameters RegenerateKeyParameters) (*http.Request, error)
RegenerateKeyPreparer prepares the RegenerateKey request.
func (ManagementClient) RegenerateKeyResponder ¶
func (client ManagementClient) RegenerateKeyResponder(resp *http.Response) (result ListKeysResult, err error)
RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.
func (ManagementClient) RegenerateKeySender ¶
RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.
type Properties ¶
type Properties struct { RedisVersion *string `json:"redisVersion,omitempty"` Sku *Sku `json:"sku,omitempty"` RedisConfiguration *map[string]*string `json:"redisConfiguration,omitempty"` EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` TenantSettings *map[string]*string `json:"tenantSettings,omitempty"` ShardCount *int `json:"shardCount,omitempty"` VirtualNetwork *string `json:"virtualNetwork,omitempty"` Subnet *string `json:"subnet,omitempty"` StaticIP *string `json:"staticIP,omitempty"` }
Properties is parameters supplied to CreateOrUpdate redis operation.
type ReadableProperties ¶
type ReadableProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` HostName *string `json:"hostName,omitempty"` Port *int `json:"port,omitempty"` SslPort *int `json:"sslPort,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` Sku *Sku `json:"sku,omitempty"` RedisConfiguration *map[string]*string `json:"redisConfiguration,omitempty"` EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` TenantSettings *map[string]*string `json:"tenantSettings,omitempty"` ShardCount *int `json:"shardCount,omitempty"` VirtualNetwork *string `json:"virtualNetwork,omitempty"` Subnet *string `json:"subnet,omitempty"` StaticIP *string `json:"staticIP,omitempty"` }
ReadableProperties is parameters describing a redis instance
type ReadablePropertiesWithAccessKey ¶
type ReadablePropertiesWithAccessKey struct { AccessKeys *AccessKeys `json:"accessKeys,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` HostName *string `json:"hostName,omitempty"` Port *int `json:"port,omitempty"` SslPort *int `json:"sslPort,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` Sku *Sku `json:"sku,omitempty"` RedisConfiguration *map[string]*string `json:"redisConfiguration,omitempty"` EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` TenantSettings *map[string]*string `json:"tenantSettings,omitempty"` ShardCount *int `json:"shardCount,omitempty"` VirtualNetwork *string `json:"virtualNetwork,omitempty"` Subnet *string `json:"subnet,omitempty"` StaticIP *string `json:"staticIP,omitempty"` }
ReadablePropertiesWithAccessKey is properties generated only in response to CreateOrUpdate redis operation.
type RedisManagementClient ¶
type RedisManagementClient struct {
ManagementClient
}
RedisManagementClient is the .Net client wrapper for the REST API for Azure Redis Cache Management Service
func NewRedisManagementClient ¶
func NewRedisManagementClient(subscriptionID string) RedisManagementClient
NewRedisManagementClient creates an instance of the RedisManagementClient client.
func NewRedisManagementClientWithBaseURI ¶
func NewRedisManagementClientWithBaseURI(baseURI string, subscriptionID string) RedisManagementClient
NewRedisManagementClientWithBaseURI creates an instance of the RedisManagementClient client.
func (RedisManagementClient) CreateOrUpdate ¶
func (client RedisManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (result ResourceWithAccessKey, ae error)
CreateOrUpdate create a redis cache, or replace (overwrite/recreate, with potential downtime) an existing cache
resourceGroupName is the name of the resource group. name is the name of the redis cache. parameters is parameters supplied to the CreateOrUpdate redis operation.
func (RedisManagementClient) CreateOrUpdatePreparer ¶
func (client RedisManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters CreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RedisManagementClient) CreateOrUpdateResponder ¶
func (client RedisManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceWithAccessKey, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RedisManagementClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) Delete ¶
func (client RedisManagementClient) Delete(resourceGroupName string, name string) (result autorest.Response, ae error)
Delete deletes a redis cache. This operation takes a while to complete.
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (RedisManagementClient) DeletePreparer ¶
func (client RedisManagementClient) DeletePreparer(resourceGroupName string, name string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RedisManagementClient) DeleteResponder ¶
func (client RedisManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RedisManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) Get ¶
func (client RedisManagementClient) Get(resourceGroupName string, name string) (result ResourceType, ae error)
Get gets a redis cache (resource description).
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (RedisManagementClient) GetPreparer ¶
func (client RedisManagementClient) GetPreparer(resourceGroupName string, name string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RedisManagementClient) GetResponder ¶
func (client RedisManagementClient) GetResponder(resp *http.Response) (result ResourceType, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RedisManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) List ¶
func (client RedisManagementClient) List() (result ListResult, ae error)
List gets all redis caches in the specified subscription.
func (RedisManagementClient) ListByResourceGroup ¶
func (client RedisManagementClient) ListByResourceGroup(resourceGroupName string) (result ListResult, ae error)
ListByResourceGroup gets all redis caches in a resource group.
resourceGroupName is the name of the resource group.
func (RedisManagementClient) ListByResourceGroupNextResults ¶
func (client RedisManagementClient) ListByResourceGroupNextResults(lastResults ListResult) (result ListResult, ae error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (RedisManagementClient) ListByResourceGroupPreparer ¶
func (client RedisManagementClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (RedisManagementClient) ListByResourceGroupResponder ¶
func (client RedisManagementClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (RedisManagementClient) ListByResourceGroupSender ¶
func (client RedisManagementClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) ListKeys ¶
func (client RedisManagementClient) ListKeys(resourceGroupName string, name string) (result ListKeysResult, ae error)
ListKeys retrieve a redis cache's access keys. This operation requires write permission to the cache resource.
resourceGroupName is the name of the resource group. name is the name of the redis cache.
func (RedisManagementClient) ListKeysPreparer ¶
func (client RedisManagementClient) ListKeysPreparer(resourceGroupName string, name string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (RedisManagementClient) ListKeysResponder ¶
func (client RedisManagementClient) ListKeysResponder(resp *http.Response) (result ListKeysResult, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (RedisManagementClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) ListNextResults ¶
func (client RedisManagementClient) ListNextResults(lastResults ListResult) (result ListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (RedisManagementClient) ListPreparer ¶
func (client RedisManagementClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (RedisManagementClient) ListResponder ¶
func (client RedisManagementClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RedisManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (RedisManagementClient) RegenerateKey ¶
func (client RedisManagementClient) RegenerateKey(resourceGroupName string, name string, parameters RegenerateKeyParameters) (result ListKeysResult, ae error)
RegenerateKey regenerate redis cache's access keys. This operation requires write permission to the cache resource.
resourceGroupName is the name of the resource group. name is the name of the redis cache. parameters is specifies which key to reset.
func (RedisManagementClient) RegenerateKeyPreparer ¶
func (client RedisManagementClient) RegenerateKeyPreparer(resourceGroupName string, name string, parameters RegenerateKeyParameters) (*http.Request, error)
RegenerateKeyPreparer prepares the RegenerateKey request.
func (RedisManagementClient) RegenerateKeyResponder ¶
func (client RedisManagementClient) RegenerateKeyResponder(resp *http.Response) (result ListKeysResult, err error)
RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.
func (RedisManagementClient) RegenerateKeySender ¶
RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.
type RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyType KeyType `json:"keyType,omitempty"`
}
RegenerateKeyParameters is specifies which redis access keys to reset.
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Resource is
type ResourceType ¶
type ResourceType struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Properties *ReadableProperties `json:"properties,omitempty"` }
ResourceType is a single redis item in List or Get Operation.
type ResourceWithAccessKey ¶
type ResourceWithAccessKey struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Properties *ReadablePropertiesWithAccessKey `json:"properties,omitempty"` }
ResourceWithAccessKey is a redis item in CreateOrUpdate Operation response.
type Sku ¶
type Sku struct { Name string `json:"name,omitempty"` Family string `json:"family,omitempty"` Capacity *int `json:"capacity,omitempty"` }
Sku is sku parameters supplied to the create redis operation.