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 DatabasesFlushOperationResponse
- type DatabasesForceUnlinkOperationResponse
- type DatabasesGetOperationResponse
- type DatabasesImportOperationResponse
- type DatabasesListByClusterCompleteResult
- type DatabasesListByClusterOperationResponse
- type DatabasesListKeysOperationResponse
- type DatabasesRegenerateKeyOperationResponse
- type DatabasesUpdateOperationResponse
- type DeleteOperationResponse
- type EvictionPolicy
- type ExportClusterParameters
- type FlushParameters
- 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) DatabasesFlush(ctx context.Context, id DatabaseId, input FlushParameters) (result DatabasesFlushOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesFlushThenPoll(ctx context.Context, id DatabaseId, input FlushParameters) 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) (result DatabasesListByClusterOperationResponse, err error)
- func (c RedisEnterpriseClient) DatabasesListByClusterComplete(ctx context.Context, id RedisEnterpriseId) (DatabasesListByClusterCompleteResult, error)
- func (c RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate(ctx context.Context, id RedisEnterpriseId, ...) (result 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) (result ListOperationResponse, err error)
- func (c RedisEnterpriseClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result 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" )
func (*AccessKeyType) UnmarshalJSON ¶
func (s *AccessKeyType) UnmarshalJSON(bytes []byte) error
type AccessKeys ¶
type AofFrequency ¶
type AofFrequency string
const ( AofFrequencyAlways AofFrequency = "always" AofFrequencyOnes AofFrequency = "1s" )
func (*AofFrequency) UnmarshalJSON ¶
func (s *AofFrequency) UnmarshalJSON(bytes []byte) error
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 *zones.Schema `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" )
func (*ClusteringPolicy) UnmarshalJSON ¶
func (s *ClusteringPolicy) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
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 RedisEnterpriseName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, redisEnterpriseName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *DatabaseId) FromParseResult(input resourceids.ParseResult) error
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 DatabasesListByClusterCompleteResult ¶
type DatabasesListByClusterCompleteResult struct {
Items []Database
}
type DatabasesListKeysOperationResponse ¶
type DatabasesListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessKeys }
type DeleteOperationResponse ¶
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" )
func (*EvictionPolicy) UnmarshalJSON ¶
func (s *EvictionPolicy) UnmarshalJSON(bytes []byte) error
type ExportClusterParameters ¶
type ExportClusterParameters struct {
SasUri string `json:"sasUri"`
}
type FlushParameters ¶
type FlushParameters struct {
Ids *[]string `json:"ids,omitempty"`
}
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 ListCompleteResult ¶
type ListCompleteResult struct {
Items []Cluster
}
type ListOperationResponse ¶
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" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RdbFrequency ¶
type RdbFrequency string
const ( RdbFrequencyOneTwoh RdbFrequency = "12h" RdbFrequencyOneh RdbFrequency = "1h" RdbFrequencySixh RdbFrequency = "6h" )
func (*RdbFrequency) UnmarshalJSON ¶
func (s *RdbFrequency) UnmarshalJSON(bytes []byte) error
type RedisEnterpriseClient ¶
type RedisEnterpriseClient struct {
Client *resourcemanager.Client
}
func NewRedisEnterpriseClientWithBaseURI ¶
func NewRedisEnterpriseClientWithBaseURI(sdkApi sdkEnv.Api) (*RedisEnterpriseClient, error)
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) DatabasesFlush ¶
func (c RedisEnterpriseClient) DatabasesFlush(ctx context.Context, id DatabaseId, input FlushParameters) (result DatabasesFlushOperationResponse, err error)
DatabasesFlush ...
func (RedisEnterpriseClient) DatabasesFlushThenPoll ¶
func (c RedisEnterpriseClient) DatabasesFlushThenPoll(ctx context.Context, id DatabaseId, input FlushParameters) error
DatabasesFlushThenPoll performs DatabasesFlush 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) (result DatabasesListByClusterOperationResponse, err error)
DatabasesListByCluster ...
func (RedisEnterpriseClient) DatabasesListByClusterComplete ¶
func (c RedisEnterpriseClient) DatabasesListByClusterComplete(ctx context.Context, id RedisEnterpriseId) (DatabasesListByClusterCompleteResult, error)
DatabasesListByClusterComplete retrieves all the results into a single object
func (RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) DatabasesListByClusterCompleteMatchingPredicate(ctx context.Context, id RedisEnterpriseId, predicate DatabaseOperationPredicate) (result DatabasesListByClusterCompleteResult, err error)
DatabasesListByClusterCompleteMatchingPredicate retrieves all the results and then applies 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) (result ListOperationResponse, err error)
List ...
func (RedisEnterpriseClient) ListByResourceGroup ¶
func (c RedisEnterpriseClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (RedisEnterpriseClient) ListByResourceGroupComplete ¶
func (c RedisEnterpriseClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (RedisEnterpriseClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisEnterpriseClient) ListComplete ¶
func (c RedisEnterpriseClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RedisEnterpriseClient) ListCompleteMatchingPredicate ¶
func (c RedisEnterpriseClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 ¶
type RedisEnterpriseId struct { SubscriptionId string ResourceGroupName string RedisEnterpriseName string }
RedisEnterpriseId is a struct representing the Resource ID for a Redis Enterprise
func NewRedisEnterpriseID ¶
func NewRedisEnterpriseID(subscriptionId string, resourceGroupName string, redisEnterpriseName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *RedisEnterpriseId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*ResourceState) UnmarshalJSON ¶
func (s *ResourceState) UnmarshalJSON(bytes []byte) error
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" )
func (*SkuName) UnmarshalJSON ¶
type TlsVersion ¶
type TlsVersion string
const ( TlsVersionOnePointOne TlsVersion = "1.1" TlsVersionOnePointTwo TlsVersion = "1.2" TlsVersionOnePointZero TlsVersion = "1.0" )
func (*TlsVersion) UnmarshalJSON ¶
func (s *TlsVersion) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_database.go
- id_redisenterprise.go
- method_create.go
- method_databasescreate.go
- method_databasesdelete.go
- method_databasesexport.go
- method_databasesflush.go
- method_databasesforceunlink.go
- method_databasesget.go
- method_databasesimport.go
- method_databaseslistbycluster.go
- method_databaseslistkeys.go
- method_databasesregeneratekey.go
- method_databasesupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.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_flushparameters.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