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 AccessKeyType string + const Primary + const Secondary + func PossibleAccessKeyTypeValues() []AccessKeyType + type AccessKeys struct + PrimaryKey *string + SecondaryKey *string + func (ak AccessKeys) MarshalJSON() ([]byte, error) + type ActionType string + const Internal + func PossibleActionTypeValues() []ActionType + type AofFrequency string + const Always + const Ones + func PossibleAofFrequencyValues() []AofFrequency + type AzureEntityResource struct + Etag *string + ID *string + Name *string + Type *string + func (aer AzureEntityResource) 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, clusterName string, ...) (result CreateFuture, err error) + func (client Client) CreatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client Client) CreateResponder(resp *http.Response) (result Cluster, err error) + func (client Client) CreateSender(req *http.Request) (future CreateFuture, err error) + func (client Client) Delete(ctx context.Context, resourceGroupName string, clusterName string) (result DeleteFuture, err error) + func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName 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) Get(ctx context.Context, resourceGroupName string, clusterName string) (result Cluster, err error) + func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result Cluster, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context) (result ClusterListPage, err error) + func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ClusterListPage, err error) + func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ClusterListIterator, err error) + func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client Client) ListByResourceGroupResponder(resp *http.Response) (result ClusterList, err error) + func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client Client) ListComplete(ctx context.Context) (result ClusterListIterator, err error) + func (client Client) ListPreparer(ctx context.Context) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ClusterList, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) Update(ctx context.Context, resourceGroupName string, clusterName string, ...) (result UpdateFuture, err error) + func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result Cluster, err error) + func (client Client) UpdateSender(req *http.Request) (future UpdateFuture, err error) + type Cluster struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + Zones *[]string + func (c *Cluster) UnmarshalJSON(body []byte) error + func (c Cluster) MarshalJSON() ([]byte, error) + type ClusterList struct + NextLink *string + Value *[]Cluster + func (cl ClusterList) IsEmpty() bool + func (cl ClusterList) MarshalJSON() ([]byte, error) + type ClusterListIterator struct + func NewClusterListIterator(page ClusterListPage) ClusterListIterator + func (iter *ClusterListIterator) Next() error + func (iter *ClusterListIterator) NextWithContext(ctx context.Context) (err error) + func (iter ClusterListIterator) NotDone() bool + func (iter ClusterListIterator) Response() ClusterList + func (iter ClusterListIterator) Value() Cluster + type ClusterListPage struct + func NewClusterListPage(cur ClusterList, ...) ClusterListPage + func (page *ClusterListPage) Next() error + func (page *ClusterListPage) NextWithContext(ctx context.Context) (err error) + func (page ClusterListPage) NotDone() bool + func (page ClusterListPage) Response() ClusterList + func (page ClusterListPage) Values() []Cluster + type ClusterProperties struct + HostName *string + MinimumTLSVersion TLSVersion + PrivateEndpointConnections *[]PrivateEndpointConnection + ProvisioningState ProvisioningState + RedisVersion *string + ResourceState ResourceState + func (cp ClusterProperties) MarshalJSON() ([]byte, error) + type ClusterUpdate struct + Sku *Sku + Tags map[string]*string + func (cu *ClusterUpdate) UnmarshalJSON(body []byte) error + func (cu ClusterUpdate) MarshalJSON() ([]byte, error) + type ClusteringPolicy string + const EnterpriseCluster + const OSSCluster + func PossibleClusteringPolicyValues() []ClusteringPolicy + type CreateFuture struct + Result func(Client) (Cluster, error) + func (future *CreateFuture) UnmarshalJSON(body []byte) error + type Database struct + ID *string + Name *string + Type *string + func (d *Database) UnmarshalJSON(body []byte) error + func (d Database) MarshalJSON() ([]byte, error) + type DatabaseList struct + NextLink *string + Value *[]Database + func (dl DatabaseList) IsEmpty() bool + func (dl DatabaseList) MarshalJSON() ([]byte, error) + type DatabaseListIterator struct + func NewDatabaseListIterator(page DatabaseListPage) DatabaseListIterator + func (iter *DatabaseListIterator) Next() error + func (iter *DatabaseListIterator) NextWithContext(ctx context.Context) (err error) + func (iter DatabaseListIterator) NotDone() bool + func (iter DatabaseListIterator) Response() DatabaseList + func (iter DatabaseListIterator) Value() Database + type DatabaseListPage struct + func NewDatabaseListPage(cur DatabaseList, ...) DatabaseListPage + func (page *DatabaseListPage) Next() error + func (page *DatabaseListPage) NextWithContext(ctx context.Context) (err error) + func (page DatabaseListPage) NotDone() bool + func (page DatabaseListPage) Response() DatabaseList + func (page DatabaseListPage) Values() []Database + type DatabaseProperties struct + ClientProtocol Protocol + ClusteringPolicy ClusteringPolicy + EvictionPolicy EvictionPolicy + Modules *[]Module + Persistence *Persistence + Port *int32 + ProvisioningState ProvisioningState + ResourceState ResourceState + func (dp DatabaseProperties) MarshalJSON() ([]byte, error) + type DatabaseUpdate struct + func (du *DatabaseUpdate) UnmarshalJSON(body []byte) error + func (du DatabaseUpdate) MarshalJSON() ([]byte, error) + type DatabasesClient struct + func NewDatabasesClient(subscriptionID string) DatabasesClient + func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient + func (client DatabasesClient) Create(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesCreateFuture, err error) + func (client DatabasesClient) CreatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) CreateResponder(resp *http.Response) (result Database, err error) + func (client DatabasesClient) CreateSender(req *http.Request) (future DatabasesCreateFuture, err error) + func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesDeleteFuture, err error) + func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error) + func (client DatabasesClient) Export(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesExportFuture, err error) + func (client DatabasesClient) ExportPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) ExportResponder(resp *http.Response) (result autorest.Response, err error) + func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesExportFuture, err error) + func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, clusterName string, ...) (result Database, err error) + func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error) + func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error) + func (client DatabasesClient) Import(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesImportFuture, err error) + func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) ImportResponder(resp *http.Response) (result autorest.Response, err error) + func (client DatabasesClient) ImportSender(req *http.Request) (future DatabasesImportFuture, err error) + func (client DatabasesClient) ListByCluster(ctx context.Context, resourceGroupName string, clusterName string) (result DatabaseListPage, err error) + func (client DatabasesClient) ListByClusterComplete(ctx context.Context, resourceGroupName string, clusterName string) (result DatabaseListIterator, err error) + func (client DatabasesClient) ListByClusterPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error) + func (client DatabasesClient) ListByClusterResponder(resp *http.Response) (result DatabaseList, err error) + func (client DatabasesClient) ListByClusterSender(req *http.Request) (*http.Response, error) + func (client DatabasesClient) ListKeys(ctx context.Context, resourceGroupName string, clusterName string, ...) (result AccessKeys, err error) + func (client DatabasesClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) ListKeysResponder(resp *http.Response) (result AccessKeys, err error) + func (client DatabasesClient) ListKeysSender(req *http.Request) (*http.Response, error) + func (client DatabasesClient) RegenerateKey(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesRegenerateKeyFuture, err error) + func (client DatabasesClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) RegenerateKeyResponder(resp *http.Response) (result AccessKeys, err error) + func (client DatabasesClient) RegenerateKeySender(req *http.Request) (future DatabasesRegenerateKeyFuture, err error) + func (client DatabasesClient) Update(ctx context.Context, resourceGroupName string, clusterName string, ...) (result DatabasesUpdateFuture, err error) + func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client DatabasesClient) UpdateResponder(resp *http.Response) (result Database, err error) + func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesUpdateFuture, err error) + type DatabasesCreateFuture struct + Result func(DatabasesClient) (Database, error) + func (future *DatabasesCreateFuture) UnmarshalJSON(body []byte) error + type DatabasesDeleteFuture struct + Result func(DatabasesClient) (autorest.Response, error) + func (future *DatabasesDeleteFuture) UnmarshalJSON(body []byte) error + type DatabasesExportFuture struct + Result func(DatabasesClient) (autorest.Response, error) + func (future *DatabasesExportFuture) UnmarshalJSON(body []byte) error + type DatabasesImportFuture struct + Result func(DatabasesClient) (autorest.Response, error) + func (future *DatabasesImportFuture) UnmarshalJSON(body []byte) error + type DatabasesRegenerateKeyFuture struct + Result func(DatabasesClient) (AccessKeys, error) + func (future *DatabasesRegenerateKeyFuture) UnmarshalJSON(body []byte) error + type DatabasesUpdateFuture struct + Result func(DatabasesClient) (Database, error) + func (future *DatabasesUpdateFuture) UnmarshalJSON(body []byte) error + type DeleteFuture struct + Result func(Client) (autorest.Response, error) + func (future *DeleteFuture) UnmarshalJSON(body []byte) error + type ErrorAdditionalInfo struct + Info interface{} + Type *string + func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error) + type ErrorDetail struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorDetail + Message *string + Target *string + func (ed ErrorDetail) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorDetail + type EvictionPolicy string + const AllKeysLFU + const AllKeysLRU + const AllKeysRandom + const NoEviction + const VolatileLFU + const VolatileLRU + const VolatileRandom + const VolatileTTL + func PossibleEvictionPolicyValues() []EvictionPolicy + type ExportClusterParameters struct + SasURI *string + type ImportClusterParameters struct + SasURI *string + type Module struct + Args *string + Name *string + Version *string + func (mVar Module) MarshalJSON() ([]byte, error) + type Operation struct + ActionType ActionType + Display *OperationDisplay + IsDataAction *bool + Name *string + Origin Origin + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (o OperationDisplay) MarshalJSON() ([]byte, error) + 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 OperationStatus struct + EndTime *string + Error *ErrorResponse + ID *string + Name *string + StartTime *string + Status *string + 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 OperationsStatusClient struct + func NewOperationsStatusClient(subscriptionID string) OperationsStatusClient + func NewOperationsStatusClientWithBaseURI(baseURI string, subscriptionID string) OperationsStatusClient + func (client OperationsStatusClient) Get(ctx context.Context, location string, operationID string) (result OperationStatus, err error) + func (client OperationsStatusClient) GetPreparer(ctx context.Context, location string, operationID string) (*http.Request, error) + func (client OperationsStatusClient) GetResponder(resp *http.Response) (result OperationStatus, err error) + func (client OperationsStatusClient) GetSender(req *http.Request) (*http.Response, error) + type Origin string + const System + const User + const Usersystem + func PossibleOriginValues() []Origin + type Persistence struct + AofEnabled *bool + AofFrequency AofFrequency + RdbEnabled *bool + RdbFrequency RdbFrequency + type PrivateEndpoint struct + ID *string + func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error) + type PrivateEndpointConnection struct + ID *string + Name *string + Type *string + func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error + func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionListResult struct + Value *[]PrivateEndpointConnection + type PrivateEndpointConnectionProperties struct + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState + ProvisioningState PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionProvisioningState string + const Creating + const Deleting + const Failed + const Succeeded + func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionsClient struct + func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient + func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient + func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, ...) (result autorest.Response, err error) + func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, clusterName string, ...) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, clusterName string) (result PrivateEndpointConnectionListResult, err error) + func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error) + func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error) + func (client PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, clusterName string, ...) (result PrivateEndpointConnectionsPutFuture, err error) + func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, resourceGroupName string, clusterName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) PutResponder(resp *http.Response) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) PutSender(req *http.Request) (future PrivateEndpointConnectionsPutFuture, err error) + type PrivateEndpointConnectionsPutFuture struct + Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) + func (future *PrivateEndpointConnectionsPutFuture) UnmarshalJSON(body []byte) error + type PrivateEndpointServiceConnectionStatus string + const Approved + const Pending + const Rejected + func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus + type PrivateLinkResource struct + ID *string + Name *string + Type *string + func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error + func (plr PrivateLinkResource) MarshalJSON() ([]byte, error) + type PrivateLinkResourceListResult struct + Value *[]PrivateLinkResource + type PrivateLinkResourceProperties struct + GroupID *string + RequiredMembers *[]string + RequiredZoneNames *[]string + func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) + type PrivateLinkResourcesClient struct + func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient + func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient + func (client PrivateLinkResourcesClient) ListByCluster(ctx context.Context, resourceGroupName string, clusterName string) (result PrivateLinkResourceListResult, err error) + func (client PrivateLinkResourcesClient) ListByClusterPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error) + func (client PrivateLinkResourcesClient) ListByClusterResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error) + func (client PrivateLinkResourcesClient) ListByClusterSender(req *http.Request) (*http.Response, error) + type PrivateLinkServiceConnectionState struct + ActionsRequired *string + Description *string + Status PrivateEndpointServiceConnectionStatus + type Protocol string + const Encrypted + const Plaintext + func PossibleProtocolValues() []Protocol + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func PossibleProvisioningStateValues() []ProvisioningState + type ProxyResource struct + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type RdbFrequency string + const OneTwoh + const Oneh + const Sixh + func PossibleRdbFrequencyValues() []RdbFrequency + type RegenerateKeyParameters struct + KeyType AccessKeyType + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceState string + const ResourceStateCreateFailed + const ResourceStateCreating + const ResourceStateDeleteFailed + const ResourceStateDeleting + const ResourceStateDisableFailed + const ResourceStateDisabled + const ResourceStateDisabling + const ResourceStateEnableFailed + const ResourceStateEnabling + const ResourceStateRunning + const ResourceStateUpdateFailed + const ResourceStateUpdating + func PossibleResourceStateValues() []ResourceState + type Sku struct + Capacity *int32 + Name SkuName + type SkuName string + const EnterpriseE10 + const EnterpriseE100 + const EnterpriseE20 + const EnterpriseE50 + const EnterpriseFlashF1500 + const EnterpriseFlashF300 + const EnterpriseFlashF700 + func PossibleSkuNameValues() []SkuName + type TLSVersion string + const OneFullStopOne + const OneFullStopTwo + const OneFullStopZero + func PossibleTLSVersionValues() []TLSVersion + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) + type UpdateFuture struct + Result func(Client) (Cluster, error) + func (future *UpdateFuture) UnmarshalJSON(body []byte) error