Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AccessKeys struct + PrimaryKey *string + SecondaryKey *string + func (ak AccessKeys) MarshalJSON() ([]byte, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) Create(ctx context.Context, resourceGroupName string, name string, ...) (result CreateFuture, err error) + func (client Client) CreatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) CreateResponder(resp *http.Response) (result ResourceType, err error) + func (client Client) CreateSender(req *http.Request) (future CreateFuture, err error) + func (client Client) Delete(ctx context.Context, resourceGroupName string, name string) (result DeleteFuture, err error) + func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) DeleteSender(req *http.Request) (future DeleteFuture, err error) + func (client Client) ExportData(ctx context.Context, resourceGroupName string, name string, ...) (result ExportDataFuture, err error) + func (client Client) ExportDataPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) ExportDataResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) ExportDataSender(req *http.Request) (future ExportDataFuture, err error) + func (client Client) ForceReboot(ctx context.Context, resourceGroupName string, name string, ...) (result ForceRebootResponse, err error) + func (client Client) ForceRebootPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) ForceRebootResponder(resp *http.Response) (result ForceRebootResponse, err error) + func (client Client) ForceRebootSender(req *http.Request) (*http.Response, error) + func (client Client) Get(ctx context.Context, resourceGroupName string, name string) (result ResourceType, err error) + func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result ResourceType, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) ImportData(ctx context.Context, resourceGroupName string, name string, ...) (result ImportDataFuture, err error) + func (client Client) ImportDataPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) ImportDataResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) ImportDataSender(req *http.Request) (future ImportDataFuture, err error) + func (client Client) List(ctx context.Context) (result ListResultPage, err error) + func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error) + func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error) + func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client Client) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client Client) ListComplete(ctx context.Context) (result ListResultIterator, err error) + func (client Client) ListKeys(ctx context.Context, resourceGroupName string, name string) (result AccessKeys, err error) + func (client Client) ListKeysPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client Client) ListKeysResponder(resp *http.Response) (result AccessKeys, err error) + func (client Client) ListKeysSender(req *http.Request) (*http.Response, error) + func (client Client) ListPreparer(ctx context.Context) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) RegenerateKey(ctx context.Context, resourceGroupName string, name string, ...) (result AccessKeys, err error) + func (client Client) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) RegenerateKeyResponder(resp *http.Response) (result AccessKeys, err error) + func (client Client) RegenerateKeySender(req *http.Request) (*http.Response, error) + func (client Client) Update(ctx context.Context, resourceGroupName string, name string, ...) (result ResourceType, err error) + func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result ResourceType, err error) + func (client Client) UpdateSender(req *http.Request) (*http.Response, error) + type CreateFuture struct + Result func(Client) (ResourceType, error) + func (future *CreateFuture) UnmarshalJSON(body []byte) error + type CreateParameters struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (cp *CreateParameters) UnmarshalJSON(body []byte) error + func (cp CreateParameters) MarshalJSON() ([]byte, error) + type CreateProperties struct + EnableNonSslPort *bool + RedisConfiguration map[string]*string + ShardCount *int32 + Sku *Sku + StaticIP *string + SubnetID *string + TenantSettings map[string]*string + func (cp CreateProperties) MarshalJSON() ([]byte, error) + type DayOfWeek string + const Everyday + const Friday + const Monday + const Saturday + const Sunday + const Thursday + const Tuesday + const Wednesday + const Weekend + func PossibleDayOfWeekValues() []DayOfWeek + type DeleteFuture struct + Result func(Client) (autorest.Response, error) + func (future *DeleteFuture) UnmarshalJSON(body []byte) error + type ExportDataFuture struct + Result func(Client) (autorest.Response, error) + func (future *ExportDataFuture) UnmarshalJSON(body []byte) error + type ExportRDBParameters struct + Container *string + Format *string + Prefix *string + type FirewallRule struct + ID *string + Name *string + Type *string + func (fr *FirewallRule) UnmarshalJSON(body []byte) error + func (fr FirewallRule) MarshalJSON() ([]byte, error) + type FirewallRuleListResult struct + NextLink *string + Value *[]FirewallRule + func (frlr FirewallRuleListResult) IsEmpty() bool + func (frlr FirewallRuleListResult) MarshalJSON() ([]byte, error) + type FirewallRuleListResultIterator struct + func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator + func (iter *FirewallRuleListResultIterator) Next() error + func (iter *FirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter FirewallRuleListResultIterator) NotDone() bool + func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult + func (iter FirewallRuleListResultIterator) Value() FirewallRule + type FirewallRuleListResultPage struct + func NewFirewallRuleListResultPage(cur FirewallRuleListResult, ...) FirewallRuleListResultPage + func (page *FirewallRuleListResultPage) Next() error + func (page *FirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error) + func (page FirewallRuleListResultPage) NotDone() bool + func (page FirewallRuleListResultPage) Response() FirewallRuleListResult + func (page FirewallRuleListResultPage) Values() []FirewallRule + type FirewallRuleProperties struct + EndIP *string + StartIP *string + type FirewallRulesClient struct + func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient + func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient + func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, cacheName string, ...) (result FirewallRule, err error) + func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, cacheName string, ...) (*http.Request, error) + func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error) + func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, cacheName string, ...) (result autorest.Response, err error) + func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, cacheName string, ...) (*http.Request, error) + func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, cacheName string, ...) (result FirewallRule, err error) + func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, cacheName string, ...) (*http.Request, error) + func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error) + func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error) + func (client FirewallRulesClient) ListByRedisResource(ctx context.Context, resourceGroupName string, cacheName string) (result FirewallRuleListResultPage, err error) + func (client FirewallRulesClient) ListByRedisResourceComplete(ctx context.Context, resourceGroupName string, cacheName string) (result FirewallRuleListResultIterator, err error) + func (client FirewallRulesClient) ListByRedisResourcePreparer(ctx context.Context, resourceGroupName string, cacheName string) (*http.Request, error) + func (client FirewallRulesClient) ListByRedisResourceResponder(resp *http.Response) (result FirewallRuleListResult, err error) + func (client FirewallRulesClient) ListByRedisResourceSender(req *http.Request) (*http.Response, error) + type ForceRebootResponse struct + Message *string + func (frr ForceRebootResponse) MarshalJSON() ([]byte, error) + type ImportDataFuture struct + Result func(Client) (autorest.Response, error) + func (future *ImportDataFuture) UnmarshalJSON(body []byte) error + type ImportRDBParameters struct + Files *[]string + Format *string + type KeyType string + const Primary + const Secondary + func PossibleKeyTypeValues() []KeyType + type LinkedServer struct + ID *string + func (ls LinkedServer) MarshalJSON() ([]byte, error) + type LinkedServerClient struct + func NewLinkedServerClient(subscriptionID string) LinkedServerClient + func NewLinkedServerClientWithBaseURI(baseURI string, subscriptionID string) LinkedServerClient + func (client LinkedServerClient) Create(ctx context.Context, resourceGroupName string, name string, ...) (result LinkedServerCreateFuture, err error) + func (client LinkedServerClient) CreatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client LinkedServerClient) CreateResponder(resp *http.Response) (result LinkedServerWithProperties, err error) + func (client LinkedServerClient) CreateSender(req *http.Request) (future LinkedServerCreateFuture, err error) + func (client LinkedServerClient) Delete(ctx context.Context, resourceGroupName string, name string, ...) (result autorest.Response, err error) + func (client LinkedServerClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client LinkedServerClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client LinkedServerClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client LinkedServerClient) Get(ctx context.Context, resourceGroupName string, name string, ...) (result LinkedServerWithProperties, err error) + func (client LinkedServerClient) GetPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client LinkedServerClient) GetResponder(resp *http.Response) (result LinkedServerWithProperties, err error) + func (client LinkedServerClient) GetSender(req *http.Request) (*http.Response, error) + func (client LinkedServerClient) List(ctx context.Context, resourceGroupName string, name string) (result LinkedServerWithPropertiesList, err error) + func (client LinkedServerClient) ListPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client LinkedServerClient) ListResponder(resp *http.Response) (result LinkedServerWithPropertiesList, err error) + func (client LinkedServerClient) ListSender(req *http.Request) (*http.Response, error) + type LinkedServerCreateFuture struct + Result func(LinkedServerClient) (LinkedServerWithProperties, error) + func (future *LinkedServerCreateFuture) UnmarshalJSON(body []byte) error + type LinkedServerCreateParameters struct + func (lscp *LinkedServerCreateParameters) UnmarshalJSON(body []byte) error + func (lscp LinkedServerCreateParameters) MarshalJSON() ([]byte, error) + type LinkedServerCreateProperties struct + LinkedRedisCacheID *string + LinkedRedisCacheLocation *string + ServerRole ReplicationRole + type LinkedServerList struct + Value *[]LinkedServer + type LinkedServerProperties struct + LinkedRedisCacheID *string + LinkedRedisCacheLocation *string + ProvisioningState *string + ServerRole ReplicationRole + func (lsp LinkedServerProperties) MarshalJSON() ([]byte, error) + type LinkedServerWithProperties struct + ID *string + Name *string + Type *string + func (lswp *LinkedServerWithProperties) UnmarshalJSON(body []byte) error + func (lswp LinkedServerWithProperties) MarshalJSON() ([]byte, error) + type LinkedServerWithPropertiesList struct + Value *[]LinkedServerWithProperties + type ListResult struct + NextLink *string + Value *[]ResourceType + func (lr ListResult) IsEmpty() bool + func (lr ListResult) MarshalJSON() ([]byte, error) + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() ResourceType + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []ResourceType + type Operation struct + Display *OperationDisplay + Name *string + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + func (olr OperationListResult) MarshalJSON() ([]byte, error) + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(cur OperationListResult, ...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type PatchSchedule struct + ID *string + Location *string + Name *string + Type *string + func (ps *PatchSchedule) UnmarshalJSON(body []byte) error + func (ps PatchSchedule) MarshalJSON() ([]byte, error) + type PatchSchedulesClient struct + func NewPatchSchedulesClient(subscriptionID string) PatchSchedulesClient + func NewPatchSchedulesClientWithBaseURI(baseURI string, subscriptionID string) PatchSchedulesClient + func (client PatchSchedulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, ...) (result PatchSchedule, err error) + func (client PatchSchedulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client PatchSchedulesClient) CreateOrUpdateResponder(resp *http.Response) (result PatchSchedule, err error) + func (client PatchSchedulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client PatchSchedulesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) + func (client PatchSchedulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client PatchSchedulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client PatchSchedulesClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client PatchSchedulesClient) Get(ctx context.Context, resourceGroupName string, name string) (result PatchSchedule, err error) + func (client PatchSchedulesClient) GetPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client PatchSchedulesClient) GetResponder(resp *http.Response) (result PatchSchedule, err error) + func (client PatchSchedulesClient) GetSender(req *http.Request) (*http.Response, error) + type Properties struct + EnableNonSslPort *bool + RedisConfiguration map[string]*string + ShardCount *int32 + StaticIP *string + SubnetID *string + TenantSettings map[string]*string + func (p Properties) MarshalJSON() ([]byte, error) + type ProxyResource struct + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type RebootParameters struct + RebootType RebootType + ShardID *int32 + type RebootType string + const AllNodes + const PrimaryNode + const SecondaryNode + func PossibleRebootTypeValues() []RebootType + type RegenerateKeyParameters struct + KeyType KeyType + type ReplicationRole string + const ReplicationRolePrimary + const ReplicationRoleSecondary + func PossibleReplicationRoleValues() []ReplicationRole + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceProperties struct + AccessKeys *AccessKeys + EnableNonSslPort *bool + HostName *string + LinkedServers *LinkedServerList + Port *int32 + ProvisioningState *string + RedisConfiguration map[string]*string + RedisVersion *string + ShardCount *int32 + Sku *Sku + SslPort *int32 + StaticIP *string + SubnetID *string + TenantSettings map[string]*string + func (rp ResourceProperties) MarshalJSON() ([]byte, error) + type ResourceType struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (rt *ResourceType) UnmarshalJSON(body []byte) error + func (rt ResourceType) MarshalJSON() ([]byte, error) + type ScheduleEntries struct + ScheduleEntries *[]ScheduleEntry + type ScheduleEntry struct + DayOfWeek DayOfWeek + MaintenanceWindow *string + StartHourUtc *int32 + type Sku struct + Capacity *int32 + Family SkuFamily + Name SkuName + type SkuFamily string + const C + const P + func PossibleSkuFamilyValues() []SkuFamily + type SkuName string + const Basic + const Premium + const Standard + func PossibleSkuNameValues() []SkuName + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) + type UpdateParameters struct + Tags map[string]*string + func (up *UpdateParameters) UnmarshalJSON(body []byte) error + func (up UpdateParameters) MarshalJSON() ([]byte, error) + type UpdateProperties struct + EnableNonSslPort *bool + RedisConfiguration map[string]*string + ShardCount *int32 + Sku *Sku + StaticIP *string + SubnetID *string + TenantSettings map[string]*string + func (up UpdateProperties) MarshalJSON() ([]byte, error)