Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAccessKeyType() []string + func PossibleValuesForAofFrequency() []string + func PossibleValuesForClusteringPolicy() []string + func PossibleValuesForEvictionPolicy() []string + func PossibleValuesForLinkState() []string + func PossibleValuesForProtocol() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForRdbFrequency() []string + func PossibleValuesForResourceState() []string + func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRedisEnterpriseID(input interface{}, key string) (warnings []string, errors []error) + type AccessKeyType string + const AccessKeyTypePrimary + const AccessKeyTypeSecondary + func (s *AccessKeyType) UnmarshalJSON(bytes []byte) error + type AccessKeys struct + PrimaryKey *string + SecondaryKey *string + type AofFrequency string + const AofFrequencyAlways + const AofFrequencyOnes + func (s *AofFrequency) UnmarshalJSON(bytes []byte) error + type ClusteringPolicy string + const ClusteringPolicyEnterpriseCluster + const ClusteringPolicyOSSCluster + func (s *ClusteringPolicy) UnmarshalJSON(bytes []byte) error + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Database + OData *odata.OData + Poller pollers.Poller + type Database struct + Id *string + Name *string + Properties *DatabaseProperties + SystemData *systemdata.SystemData + Type *string + type DatabaseId struct + DatabaseName string + RedisEnterpriseName string + ResourceGroupName string + SubscriptionId string + func NewDatabaseID(subscriptionId string, resourceGroupName string, redisEnterpriseName string, ...) DatabaseId + func ParseDatabaseID(input string) (*DatabaseId, error) + func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error) + func (id *DatabaseId) FromParseResult(input resourceids.ParseResult) error + func (id DatabaseId) ID() string + func (id DatabaseId) Segments() []resourceids.Segment + func (id DatabaseId) String() string + type DatabaseOperationPredicate struct + Id *string + Name *string + Type *string + func (p DatabaseOperationPredicate) Matches(input Database) bool + type DatabaseProperties struct + ClientProtocol *Protocol + ClusteringPolicy *ClusteringPolicy + EvictionPolicy *EvictionPolicy + GeoReplication *DatabasePropertiesGeoReplication + Modules *[]Module + Persistence *Persistence + Port *int64 + ProvisioningState *ProvisioningState + ResourceState *ResourceState + type DatabasePropertiesGeoReplication struct + GroupNickname *string + LinkedDatabases *[]LinkedDatabase + type DatabaseUpdate struct + Properties *DatabaseProperties + type DatabasesClient struct + Client *resourcemanager.Client + func NewDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabasesClient, error) + func (c DatabasesClient) Create(ctx context.Context, id DatabaseId, input Database) (result CreateOperationResponse, err error) + func (c DatabasesClient) CreateThenPoll(ctx context.Context, id DatabaseId, input Database) error + func (c DatabasesClient) Delete(ctx context.Context, id DatabaseId) (result DeleteOperationResponse, err error) + func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id DatabaseId) error + func (c DatabasesClient) Export(ctx context.Context, id DatabaseId, input ExportClusterParameters) (result ExportOperationResponse, err error) + func (c DatabasesClient) ExportThenPoll(ctx context.Context, id DatabaseId, input ExportClusterParameters) error + func (c DatabasesClient) Flush(ctx context.Context, id DatabaseId, input FlushParameters) (result FlushOperationResponse, err error) + func (c DatabasesClient) FlushThenPoll(ctx context.Context, id DatabaseId, input FlushParameters) error + func (c DatabasesClient) ForceUnlink(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) (result ForceUnlinkOperationResponse, err error) + func (c DatabasesClient) ForceUnlinkThenPoll(ctx context.Context, id DatabaseId, input ForceUnlinkParameters) error + func (c DatabasesClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error) + func (c DatabasesClient) Import(ctx context.Context, id DatabaseId, input ImportClusterParameters) (result ImportOperationResponse, err error) + func (c DatabasesClient) ImportThenPoll(ctx context.Context, id DatabaseId, input ImportClusterParameters) error + func (c DatabasesClient) ListByCluster(ctx context.Context, id RedisEnterpriseId) (result ListByClusterOperationResponse, err error) + func (c DatabasesClient) ListByClusterComplete(ctx context.Context, id RedisEnterpriseId) (ListByClusterCompleteResult, error) + func (c DatabasesClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id RedisEnterpriseId, ...) (result ListByClusterCompleteResult, err error) + func (c DatabasesClient) ListKeys(ctx context.Context, id DatabaseId) (result ListKeysOperationResponse, err error) + func (c DatabasesClient) RegenerateKey(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) (result RegenerateKeyOperationResponse, err error) + func (c DatabasesClient) RegenerateKeyThenPoll(ctx context.Context, id DatabaseId, input RegenerateKeyParameters) error + func (c DatabasesClient) Update(ctx context.Context, id DatabaseId, input DatabaseUpdate) (result UpdateOperationResponse, err error) + func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id DatabaseId, input DatabaseUpdate) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type EvictionPolicy string + const EvictionPolicyAllKeysLFU + const EvictionPolicyAllKeysLRU + const EvictionPolicyAllKeysRandom + const EvictionPolicyNoEviction + const EvictionPolicyVolatileLFU + const EvictionPolicyVolatileLRU + const EvictionPolicyVolatileRandom + const EvictionPolicyVolatileTTL + func (s *EvictionPolicy) UnmarshalJSON(bytes []byte) error + type ExportClusterParameters struct + SasUri string + type ExportOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FlushOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FlushParameters struct + Ids *[]string + type ForceUnlinkOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ForceUnlinkParameters struct + Ids []string + type GetOperationResponse struct + HttpResponse *http.Response + Model *Database + OData *odata.OData + type ImportClusterParameters struct + SasUris []string + type ImportOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type LinkState string + const LinkStateLinkFailed + const LinkStateLinked + const LinkStateLinking + const LinkStateUnlinkFailed + const LinkStateUnlinking + func (s *LinkState) UnmarshalJSON(bytes []byte) error + type LinkedDatabase struct + Id *string + State *LinkState + type ListByClusterCompleteResult struct + Items []Database + LatestHttpResponse *http.Response + type ListByClusterCustomPager struct + NextLink *odata.Link + func (p *ListByClusterCustomPager) NextPageLink() *odata.Link + type ListByClusterOperationResponse struct + HttpResponse *http.Response + Model *[]Database + OData *odata.OData + type ListKeysOperationResponse struct + HttpResponse *http.Response + Model *AccessKeys + OData *odata.OData + type Module struct + Args *string + Name string + Version *string + type Persistence struct + AofEnabled *bool + AofFrequency *AofFrequency + RdbEnabled *bool + RdbFrequency *RdbFrequency + type Protocol string + const ProtocolEncrypted + const ProtocolPlaintext + func (s *Protocol) UnmarshalJSON(bytes []byte) error + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RdbFrequency string + const RdbFrequencyOneTwoh + const RdbFrequencyOneh + const RdbFrequencySixh + func (s *RdbFrequency) UnmarshalJSON(bytes []byte) error + type RedisEnterpriseId struct + RedisEnterpriseName string + ResourceGroupName string + SubscriptionId string + func NewRedisEnterpriseID(subscriptionId string, resourceGroupName string, redisEnterpriseName string) RedisEnterpriseId + func ParseRedisEnterpriseID(input string) (*RedisEnterpriseId, error) + func ParseRedisEnterpriseIDInsensitively(input string) (*RedisEnterpriseId, error) + func (id *RedisEnterpriseId) FromParseResult(input resourceids.ParseResult) error + func (id RedisEnterpriseId) ID() string + func (id RedisEnterpriseId) Segments() []resourceids.Segment + func (id RedisEnterpriseId) String() string + type RegenerateKeyOperationResponse struct + HttpResponse *http.Response + Model *AccessKeys + OData *odata.OData + Poller pollers.Poller + type RegenerateKeyParameters struct + KeyType AccessKeyType + type ResourceState string + const ResourceStateCreateFailed + const ResourceStateCreating + const ResourceStateDeleteFailed + const ResourceStateDeleting + const ResourceStateDisableFailed + const ResourceStateDisabled + const ResourceStateDisabling + const ResourceStateEnableFailed + const ResourceStateEnabling + const ResourceStateRunning + const ResourceStateScaling + const ResourceStateScalingFailed + const ResourceStateUpdateFailed + const ResourceStateUpdating + func (s *ResourceState) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Database + OData *odata.OData + Poller pollers.Poller