Documentation ¶
Index ¶
- func PossibleValuesForAccessKeyType() []string
- func PossibleValuesForAofFrequency() []string
- func PossibleValuesForClusteringPolicy() []string
- func PossibleValuesForEvictionPolicy() []string
- func PossibleValuesForLinkState() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProtocol() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRdbFrequency() []string
- func PossibleValuesForResourceState() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForTlsVersion() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRedisEnterpriseID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeyType
- type AccessKeys
- type AofFrequency
- type Cluster
- type ClusterOperationPredicate
- type ClusterProperties
- type ClusterUpdate
- type ClusteringPolicy
- type CreateOperationResponse
- type Database
- type DatabaseId
- type DatabaseOperationPredicate
- type DatabaseProperties
- type DatabasePropertiesGeoReplication
- type DatabaseUpdate
- type DatabasesCreateOperationResponse
- type DatabasesDeleteOperationResponse
- type DatabasesExportOperationResponse
- type DatabasesForceUnlinkOperationResponse
- type DatabasesGetOperationResponse
- type DatabasesImportOperationResponse
- type DatabasesListByClusterCompleteResult
- type DatabasesListByClusterOperationResponse
- type DatabasesListKeysOperationResponse
- type DatabasesRegenerateKeyOperationResponse
- type DatabasesUpdateOperationResponse
- type DeleteOperationResponse
- type EvictionPolicy
- type ExportClusterParameters
- type ForceUnlinkParameters
- type GetOperationResponse
- type ImportClusterParameters
- type LinkState
- type LinkedDatabase
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Module
- type Persistence
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type Protocol
- type ProvisioningState
- type RdbFrequency
- type RedisEnterpriseClient
- func (c RedisEnterpriseClient) Create(ctx context.Context, id RedisEnterpriseId, input Cluster) (result CreateOperationResponse, err error)
- func (c RedisEnterpriseClient) CreateThenPoll(ctx context.Context, id RedisEnterpriseId, input Cluster) error
- func (c RedisEnterpriseClient) DatabasesCreate(ctx context.Context, id DatabaseId, input Database) (result DatabasesCreateOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesCreateThenPoll(ctx context.Context, id DatabaseId, input Database) error
- func (c RedisEnterpriseClient) DatabasesDelete(ctx context.Context, id DatabaseId) (result DatabasesDeleteOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesDeleteThenPoll(ctx context.Context, id DatabaseId) error
- func (c RedisEnterpriseClient) DatabasesExport(ctx context.Context, id DatabaseId, input ExportClusterParameters) (result DatabasesExportOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesExportThenPoll(ctx context.Context, id DatabaseId, input ExportClusterParameters) error
- func (c RedisEnterpriseClient) DatabasesForceUnlink(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) (result DatabasesForceUnlinkOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesForceUnlinkThenPoll(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) error
- func (c RedisEnterpriseClient) DatabasesGet(ctx context.Context, id DatabaseId) (result DatabasesGetOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesImport(ctx context.Context, id DatabaseId, input ImportClusterParameters) (result DatabasesImportOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesImportThenPoll(ctx context.Context, id DatabaseId, input ImportClusterParameters) error
- func (c RedisEnterpriseClient) DatabasesListByCluster(ctx context.Context, id RedisEnterpriseId) (resp DatabasesListByClusterOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesListByClusterComplete(ctx context.Context, id RedisEnterpriseId) (DatabasesListByClusterCompleteResult, error)
- func (c RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate(ctx context.Context, id RedisEnterpriseId, ...) (resp DatabasesListByClusterCompleteResult, err error)
- func (c RedisEnterpriseClient) DatabasesListKeys(ctx context.Context, id DatabaseId) (result DatabasesListKeysOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesRegenerateKey(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) (result DatabasesRegenerateKeyOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesRegenerateKeyThenPoll(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) error
- func (c RedisEnterpriseClient) DatabasesUpdate(ctx context.Context, id DatabaseId, input DatabaseUpdate) (result DatabasesUpdateOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesUpdateThenPoll(ctx context.Context, id DatabaseId, input DatabaseUpdate) error
- func (c RedisEnterpriseClient) Delete(ctx context.Context, id RedisEnterpriseId) (result DeleteOperationResponse, err error)
- func (c RedisEnterpriseClient) DeleteThenPoll(ctx context.Context, id RedisEnterpriseId) error
- func (c RedisEnterpriseClient) Get(ctx context.Context, id RedisEnterpriseId) (result GetOperationResponse, err error)
- func (c RedisEnterpriseClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c RedisEnterpriseClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c RedisEnterpriseClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c RedisEnterpriseClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c RedisEnterpriseClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c RedisEnterpriseClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c RedisEnterpriseClient) Update(ctx context.Context, id RedisEnterpriseId, input ClusterUpdate) (result UpdateOperationResponse, err error)
- func (c RedisEnterpriseClient) UpdateThenPoll(ctx context.Context, id RedisEnterpriseId, input ClusterUpdate) error
- type RedisEnterpriseId
- type RegenerateKeyParameters
- type ResourceState
- type Sku
- type SkuName
- type TlsVersion
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessKeyType ¶
func PossibleValuesForAccessKeyType() []string
func PossibleValuesForAofFrequency ¶
func PossibleValuesForAofFrequency() []string
func PossibleValuesForClusteringPolicy ¶
func PossibleValuesForClusteringPolicy() []string
func PossibleValuesForEvictionPolicy ¶
func PossibleValuesForEvictionPolicy() []string
func PossibleValuesForLinkState ¶
func PossibleValuesForLinkState() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForProtocol ¶
func PossibleValuesForProtocol() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRdbFrequency ¶
func PossibleValuesForRdbFrequency() []string
func PossibleValuesForResourceState ¶
func PossibleValuesForResourceState() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForTlsVersion ¶
func PossibleValuesForTlsVersion() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
func ValidateRedisEnterpriseID ¶
ValidateRedisEnterpriseID checks that 'input' can be parsed as a Redis Enterprise ID
Types ¶
type AccessKeyType ¶
type AccessKeyType string
const ( AccessKeyTypePrimary AccessKeyType = "Primary" AccessKeyTypeSecondary AccessKeyType = "Secondary" )
type AccessKeys ¶
type AofFrequency ¶
type AofFrequency string
const ( AofFrequencyAlways AofFrequency = "always" AofFrequencyOnes AofFrequency = "1s" )
type Cluster ¶
type Cluster struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *[]string `json:"zones,omitempty"` }
type ClusterOperationPredicate ¶
func (ClusterOperationPredicate) Matches ¶
func (p ClusterOperationPredicate) Matches(input Cluster) bool
type ClusterProperties ¶
type ClusterProperties struct { HostName *string `json:"hostName,omitempty"` MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` ResourceState *ResourceState `json:"resourceState,omitempty"` }
type ClusterUpdate ¶
type ClusterUpdate struct { Properties *ClusterProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ClusteringPolicy ¶
type ClusteringPolicy string
const ( ClusteringPolicyEnterpriseCluster ClusteringPolicy = "EnterpriseCluster" ClusteringPolicyOSSCluster ClusteringPolicy = "OSSCluster" )
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Database ¶
type Database struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ClusterName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, clusterName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type DatabaseOperationPredicate ¶
func (DatabaseOperationPredicate) Matches ¶
func (p DatabaseOperationPredicate) Matches(input Database) bool
type DatabaseProperties ¶
type DatabaseProperties struct { ClientProtocol *Protocol `json:"clientProtocol,omitempty"` ClusteringPolicy *ClusteringPolicy `json:"clusteringPolicy,omitempty"` EvictionPolicy *EvictionPolicy `json:"evictionPolicy,omitempty"` GeoReplication *DatabasePropertiesGeoReplication `json:"geoReplication,omitempty"` Modules *[]Module `json:"modules,omitempty"` Persistence *Persistence `json:"persistence,omitempty"` Port *int64 `json:"port,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceState *ResourceState `json:"resourceState,omitempty"` }
type DatabasePropertiesGeoReplication ¶
type DatabasePropertiesGeoReplication struct { GroupNickname *string `json:"groupNickname,omitempty"` LinkedDatabases *[]LinkedDatabase `json:"linkedDatabases,omitempty"` }
type DatabaseUpdate ¶
type DatabaseUpdate struct {
Properties *DatabaseProperties `json:"properties,omitempty"`
}
type DatabasesCreateOperationResponse ¶
type DatabasesCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesDeleteOperationResponse ¶
type DatabasesDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesExportOperationResponse ¶
type DatabasesExportOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesForceUnlinkOperationResponse ¶
type DatabasesForceUnlinkOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesImportOperationResponse ¶
type DatabasesImportOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesListByClusterCompleteResult ¶
type DatabasesListByClusterCompleteResult struct {
Items []Database
}
type DatabasesListByClusterOperationResponse ¶
type DatabasesListByClusterOperationResponse struct { HttpResponse *http.Response Model *[]Database // contains filtered or unexported fields }
func (DatabasesListByClusterOperationResponse) HasMore ¶
func (r DatabasesListByClusterOperationResponse) HasMore() bool
func (DatabasesListByClusterOperationResponse) LoadMore ¶
func (r DatabasesListByClusterOperationResponse) LoadMore(ctx context.Context) (resp DatabasesListByClusterOperationResponse, err error)
type DatabasesListKeysOperationResponse ¶
type DatabasesListKeysOperationResponse struct { HttpResponse *http.Response Model *AccessKeys }
type DatabasesRegenerateKeyOperationResponse ¶
type DatabasesRegenerateKeyOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabasesUpdateOperationResponse ¶
type DatabasesUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type EvictionPolicy ¶
type EvictionPolicy string
const ( EvictionPolicyAllKeysLFU EvictionPolicy = "AllKeysLFU" EvictionPolicyAllKeysLRU EvictionPolicy = "AllKeysLRU" EvictionPolicyAllKeysRandom EvictionPolicy = "AllKeysRandom" EvictionPolicyNoEviction EvictionPolicy = "NoEviction" EvictionPolicyVolatileLFU EvictionPolicy = "VolatileLFU" EvictionPolicyVolatileLRU EvictionPolicy = "VolatileLRU" EvictionPolicyVolatileRandom EvictionPolicy = "VolatileRandom" EvictionPolicyVolatileTTL EvictionPolicy = "VolatileTTL" )
type ExportClusterParameters ¶
type ExportClusterParameters struct {
SasUri string `json:"sasUri"`
}
type ForceUnlinkParameters ¶
type ForceUnlinkParameters struct {
Ids []string `json:"ids"`
}
type GetOperationResponse ¶
type ImportClusterParameters ¶
type ImportClusterParameters struct {
SasUris []string `json:"sasUris"`
}
type LinkedDatabase ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Cluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Cluster
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Persistence ¶
type Persistence struct { AofEnabled *bool `json:"aofEnabled,omitempty"` AofFrequency *AofFrequency `json:"aofFrequency,omitempty"` RdbEnabled *bool `json:"rdbEnabled,omitempty"` RdbFrequency *RdbFrequency `json:"rdbFrequency,omitempty"` }
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RdbFrequency ¶
type RdbFrequency string
const ( RdbFrequencyOneTwoh RdbFrequency = "12h" RdbFrequencyOneh RdbFrequency = "1h" RdbFrequencySixh RdbFrequency = "6h" )
type RedisEnterpriseClient ¶
type RedisEnterpriseClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRedisEnterpriseClientWithBaseURI ¶
func NewRedisEnterpriseClientWithBaseURI(endpoint string) RedisEnterpriseClient
func (RedisEnterpriseClient) Create ¶
func (c RedisEnterpriseClient) Create(ctx context.Context, id RedisEnterpriseId, input Cluster) (result CreateOperationResponse, err error)
Create ...
func (RedisEnterpriseClient) CreateThenPoll ¶
func (c RedisEnterpriseClient) CreateThenPoll(ctx context.Context, id RedisEnterpriseId, input Cluster) error
CreateThenPoll performs Create then polls until it's completed
func (RedisEnterpriseClient) DatabasesCreate ¶
func (c RedisEnterpriseClient) DatabasesCreate(ctx context.Context, id DatabaseId, input Database) (result DatabasesCreateOperationResponse, err error)
DatabasesCreate ...
func (RedisEnterpriseClient) DatabasesCreateThenPoll ¶
func (c RedisEnterpriseClient) DatabasesCreateThenPoll(ctx context.Context, id DatabaseId, input Database) error
DatabasesCreateThenPoll performs DatabasesCreate then polls until it's completed
func (RedisEnterpriseClient) DatabasesDelete ¶
func (c RedisEnterpriseClient) DatabasesDelete(ctx context.Context, id DatabaseId) (result DatabasesDeleteOperationResponse, err error)
DatabasesDelete ...
func (RedisEnterpriseClient) DatabasesDeleteThenPoll ¶
func (c RedisEnterpriseClient) DatabasesDeleteThenPoll(ctx context.Context, id DatabaseId) error
DatabasesDeleteThenPoll performs DatabasesDelete then polls until it's completed
func (RedisEnterpriseClient) DatabasesExport ¶
func (c RedisEnterpriseClient) DatabasesExport(ctx context.Context, id DatabaseId, input ExportClusterParameters) (result DatabasesExportOperationResponse, err error)
DatabasesExport ...
func (RedisEnterpriseClient) DatabasesExportThenPoll ¶
func (c RedisEnterpriseClient) DatabasesExportThenPoll(ctx context.Context, id DatabaseId, input ExportClusterParameters) error
DatabasesExportThenPoll performs DatabasesExport then polls until it's completed
func (RedisEnterpriseClient) DatabasesForceUnlink ¶
func (c RedisEnterpriseClient) DatabasesForceUnlink(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) (result DatabasesForceUnlinkOperationResponse, err error)
DatabasesForceUnlink ...
func (RedisEnterpriseClient) DatabasesForceUnlinkThenPoll ¶
func (c RedisEnterpriseClient) DatabasesForceUnlinkThenPoll(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) error
DatabasesForceUnlinkThenPoll performs DatabasesForceUnlink then polls until it's completed
func (RedisEnterpriseClient) DatabasesGet ¶
func (c RedisEnterpriseClient) DatabasesGet(ctx context.Context, id DatabaseId) (result DatabasesGetOperationResponse, err error)
DatabasesGet ...
func (RedisEnterpriseClient) DatabasesImport ¶
func (c RedisEnterpriseClient) DatabasesImport(ctx context.Context, id DatabaseId, input ImportClusterParameters) (result DatabasesImportOperationResponse, err error)
DatabasesImport ...
func (RedisEnterpriseClient) DatabasesImportThenPoll ¶
func (c RedisEnterpriseClient) DatabasesImportThenPoll(ctx context.Context, id DatabaseId, input ImportClusterParameters) error
DatabasesImportThenPoll performs DatabasesImport then polls until it's completed
func (RedisEnterpriseClient) DatabasesListByCluster ¶
func (c RedisEnterpriseClient) DatabasesListByCluster(ctx context.Context, id RedisEnterpriseId) (resp DatabasesListByClusterOperationResponse, err error)
DatabasesListByCluster ...
func (RedisEnterpriseClient) DatabasesListByClusterComplete ¶
func (c RedisEnterpriseClient) DatabasesListByClusterComplete(ctx context.Context, id RedisEnterpriseId) (DatabasesListByClusterCompleteResult, error)
DatabasesListByClusterComplete retrieves all of the results into a single object
func (RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate(ctx context.Context, id RedisEnterpriseId, predicate DatabaseOperationPredicate) (resp DatabasesListByClusterCompleteResult, err error)
DatabasesListByClusterCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RedisEnterpriseClient) DatabasesListKeys ¶
func (c RedisEnterpriseClient) DatabasesListKeys(ctx context.Context, id DatabaseId) (result DatabasesListKeysOperationResponse, err error)
DatabasesListKeys ...
func (RedisEnterpriseClient) DatabasesRegenerateKey ¶
func (c RedisEnterpriseClient) DatabasesRegenerateKey(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) (result DatabasesRegenerateKeyOperationResponse, err error)
DatabasesRegenerateKey ...
func (RedisEnterpriseClient) DatabasesRegenerateKeyThenPoll ¶
func (c RedisEnterpriseClient) DatabasesRegenerateKeyThenPoll(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) error
DatabasesRegenerateKeyThenPoll performs DatabasesRegenerateKey then polls until it's completed
func (RedisEnterpriseClient) DatabasesUpdate ¶
func (c RedisEnterpriseClient) DatabasesUpdate(ctx context.Context, id DatabaseId, input DatabaseUpdate) (result DatabasesUpdateOperationResponse, err error)
DatabasesUpdate ...
func (RedisEnterpriseClient) DatabasesUpdateThenPoll ¶
func (c RedisEnterpriseClient) DatabasesUpdateThenPoll(ctx context.Context, id DatabaseId, input DatabaseUpdate) error
DatabasesUpdateThenPoll performs DatabasesUpdate then polls until it's completed
func (RedisEnterpriseClient) Delete ¶
func (c RedisEnterpriseClient) Delete(ctx context.Context, id RedisEnterpriseId) (result DeleteOperationResponse, err error)
Delete ...
func (RedisEnterpriseClient) DeleteThenPoll ¶
func (c RedisEnterpriseClient) DeleteThenPoll(ctx context.Context, id RedisEnterpriseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RedisEnterpriseClient) Get ¶
func (c RedisEnterpriseClient) Get(ctx context.Context, id RedisEnterpriseId) (result GetOperationResponse, err error)
Get ...
func (RedisEnterpriseClient) List ¶
func (c RedisEnterpriseClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (RedisEnterpriseClient) ListByResourceGroup ¶
func (c RedisEnterpriseClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (RedisEnterpriseClient) ListByResourceGroupComplete ¶
func (c RedisEnterpriseClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (RedisEnterpriseClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RedisEnterpriseClient) ListComplete ¶
func (c RedisEnterpriseClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (RedisEnterpriseClient) ListCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RedisEnterpriseClient) Update ¶
func (c RedisEnterpriseClient) Update(ctx context.Context, id RedisEnterpriseId, input ClusterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (RedisEnterpriseClient) UpdateThenPoll ¶
func (c RedisEnterpriseClient) UpdateThenPoll(ctx context.Context, id RedisEnterpriseId, input ClusterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type RedisEnterpriseId ¶
RedisEnterpriseId is a struct representing the Resource ID for a Redis Enterprise
func NewRedisEnterpriseID ¶
func NewRedisEnterpriseID(subscriptionId string, resourceGroupName string, clusterName string) RedisEnterpriseId
NewRedisEnterpriseID returns a new RedisEnterpriseId struct
func ParseRedisEnterpriseID ¶
func ParseRedisEnterpriseID(input string) (*RedisEnterpriseId, error)
ParseRedisEnterpriseID parses 'input' into a RedisEnterpriseId
func ParseRedisEnterpriseIDInsensitively ¶
func ParseRedisEnterpriseIDInsensitively(input string) (*RedisEnterpriseId, error)
ParseRedisEnterpriseIDInsensitively parses 'input' case-insensitively into a RedisEnterpriseId note: this method should only be used for API response data and not user input
func (RedisEnterpriseId) ID ¶
func (id RedisEnterpriseId) ID() string
ID returns the formatted Redis Enterprise ID
func (RedisEnterpriseId) Segments ¶
func (id RedisEnterpriseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Redis Enterprise ID
func (RedisEnterpriseId) String ¶
func (id RedisEnterpriseId) String() string
String returns a human-readable description of this Redis Enterprise ID
type RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyType AccessKeyType `json:"keyType"`
}
type ResourceState ¶
type ResourceState string
const ( ResourceStateCreateFailed ResourceState = "CreateFailed" ResourceStateCreating ResourceState = "Creating" ResourceStateDeleteFailed ResourceState = "DeleteFailed" ResourceStateDeleting ResourceState = "Deleting" ResourceStateDisableFailed ResourceState = "DisableFailed" ResourceStateDisabled ResourceState = "Disabled" ResourceStateDisabling ResourceState = "Disabling" ResourceStateEnableFailed ResourceState = "EnableFailed" ResourceStateEnabling ResourceState = "Enabling" ResourceStateRunning ResourceState = "Running" ResourceStateUpdateFailed ResourceState = "UpdateFailed" ResourceStateUpdating ResourceState = "Updating" )
type SkuName ¶
type SkuName string
const ( SkuNameEnterpriseEFiveZero SkuName = "Enterprise_E50" SkuNameEnterpriseEOneHundred SkuName = "Enterprise_E100" SkuNameEnterpriseEOneZero SkuName = "Enterprise_E10" SkuNameEnterpriseETwoZero SkuName = "Enterprise_E20" SkuNameEnterpriseFlashFOneFiveHundred SkuName = "EnterpriseFlash_F1500" SkuNameEnterpriseFlashFSevenHundred SkuName = "EnterpriseFlash_F700" SkuNameEnterpriseFlashFThreeHundred SkuName = "EnterpriseFlash_F300" )
type TlsVersion ¶
type TlsVersion string
const ( TlsVersionOnePointOne TlsVersion = "1.1" TlsVersionOnePointTwo TlsVersion = "1.2" TlsVersionOnePointZero TlsVersion = "1.0" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_database.go
- id_redisenterprise.go
- method_create_autorest.go
- method_databasescreate_autorest.go
- method_databasesdelete_autorest.go
- method_databasesexport_autorest.go
- method_databasesforceunlink_autorest.go
- method_databasesget_autorest.go
- method_databasesimport_autorest.go
- method_databaseslistbycluster_autorest.go
- method_databaseslistkeys_autorest.go
- method_databasesregeneratekey_autorest.go
- method_databasesupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_accesskeys.go
- model_cluster.go
- model_clusterproperties.go
- model_clusterupdate.go
- model_database.go
- model_databaseproperties.go
- model_databasepropertiesgeoreplication.go
- model_databaseupdate.go
- model_exportclusterparameters.go
- model_forceunlinkparameters.go
- model_importclusterparameters.go
- model_linkeddatabase.go
- model_module.go
- model_persistence.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_regeneratekeyparameters.go
- model_sku.go
- predicates.go
- version.go