Documentation ¶
Index ¶
- func PossibleValuesForAccessPolicyAssignmentProvisioningState() []string
- func PossibleValuesForAccessPolicyProvisioningState() []string
- func PossibleValuesForAccessPolicyType() []string
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForRebootType() []string
- func PossibleValuesForRedisKeyType() []string
- func PossibleValuesForReplicationRole() []string
- func PossibleValuesForSkuFamily() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForTlsVersion() []string
- func PossibleValuesForUpdateChannel() []string
- func ValidateAccessPolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAccessPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLinkedServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRediID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPolicyAssignmentCreateUpdateOperationResponse
- type AccessPolicyAssignmentDeleteOperationResponse
- type AccessPolicyAssignmentGetOperationResponse
- type AccessPolicyAssignmentId
- func NewAccessPolicyAssignmentID(subscriptionId string, resourceGroupName string, redisName string, ...) AccessPolicyAssignmentId
- func ParseAccessPolicyAssignmentID(input string) (*AccessPolicyAssignmentId, error)
- func ParseAccessPolicyAssignmentIDInsensitively(input string) (*AccessPolicyAssignmentId, error)
- type AccessPolicyAssignmentListCompleteResult
- type AccessPolicyAssignmentListOperationResponse
- type AccessPolicyAssignmentProvisioningState
- type AccessPolicyCreateUpdateOperationResponse
- type AccessPolicyDeleteOperationResponse
- type AccessPolicyGetOperationResponse
- type AccessPolicyId
- type AccessPolicyListCompleteResult
- type AccessPolicyListOperationResponse
- type AccessPolicyProvisioningState
- type AccessPolicyType
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityParameters
- type CreateOperationResponse
- type DayOfWeek
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type ExportDataOperationResponse
- type ExportRDBParameters
- type FirewallRuleId
- type FirewallRulesCreateOrUpdateOperationResponse
- type FirewallRulesDeleteOperationResponse
- type FirewallRulesGetOperationResponse
- type FirewallRulesListCompleteResult
- type FirewallRulesListOperationResponse
- type FlushCacheOperationResponse
- type ForceRebootOperationResponse
- type GetOperationResponse
- type ImportDataOperationResponse
- type ImportRDBParameters
- type LinkedServerCreateOperationResponse
- type LinkedServerDeleteOperationResponse
- type LinkedServerGetOperationResponse
- type LinkedServerId
- type LinkedServerListCompleteResult
- type LinkedServerListOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListKeysOperationResponse
- type ListUpgradeNotificationsCompleteResult
- type ListUpgradeNotificationsOperationOptions
- type ListUpgradeNotificationsOperationResponse
- type OperationStatusResult
- type PatchSchedulesCreateOrUpdateOperationResponse
- type PatchSchedulesDeleteOperationResponse
- type PatchSchedulesGetOperationResponse
- type PatchSchedulesListByRedisResourceCompleteResult
- type PatchSchedulesListByRedisResourceOperationResponse
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type RebootType
- type RediId
- type RedisAccessKeys
- type RedisCacheAccessPolicy
- type RedisCacheAccessPolicyAssignment
- type RedisCacheAccessPolicyAssignmentOperationPredicate
- type RedisCacheAccessPolicyAssignmentProperties
- type RedisCacheAccessPolicyOperationPredicate
- type RedisCacheAccessPolicyProperties
- type RedisClient
- func (c RedisClient) AccessPolicyAssignmentCreateUpdate(ctx context.Context, id AccessPolicyAssignmentId, ...) (result AccessPolicyAssignmentCreateUpdateOperationResponse, err error)
- func (c RedisClient) AccessPolicyAssignmentCreateUpdateThenPoll(ctx context.Context, id AccessPolicyAssignmentId, ...) error
- func (c RedisClient) AccessPolicyAssignmentDelete(ctx context.Context, id AccessPolicyAssignmentId) (result AccessPolicyAssignmentDeleteOperationResponse, err error)
- func (c RedisClient) AccessPolicyAssignmentDeleteThenPoll(ctx context.Context, id AccessPolicyAssignmentId) error
- func (c RedisClient) AccessPolicyAssignmentGet(ctx context.Context, id AccessPolicyAssignmentId) (result AccessPolicyAssignmentGetOperationResponse, err error)
- func (c RedisClient) AccessPolicyAssignmentList(ctx context.Context, id RediId) (result AccessPolicyAssignmentListOperationResponse, err error)
- func (c RedisClient) AccessPolicyAssignmentListComplete(ctx context.Context, id RediId) (AccessPolicyAssignmentListCompleteResult, error)
- func (c RedisClient) AccessPolicyAssignmentListCompleteMatchingPredicate(ctx context.Context, id RediId, ...) (result AccessPolicyAssignmentListCompleteResult, err error)
- func (c RedisClient) AccessPolicyCreateUpdate(ctx context.Context, id AccessPolicyId, input RedisCacheAccessPolicy) (result AccessPolicyCreateUpdateOperationResponse, err error)
- func (c RedisClient) AccessPolicyCreateUpdateThenPoll(ctx context.Context, id AccessPolicyId, input RedisCacheAccessPolicy) error
- func (c RedisClient) AccessPolicyDelete(ctx context.Context, id AccessPolicyId) (result AccessPolicyDeleteOperationResponse, err error)
- func (c RedisClient) AccessPolicyDeleteThenPoll(ctx context.Context, id AccessPolicyId) error
- func (c RedisClient) AccessPolicyGet(ctx context.Context, id AccessPolicyId) (result AccessPolicyGetOperationResponse, err error)
- func (c RedisClient) AccessPolicyList(ctx context.Context, id RediId) (result AccessPolicyListOperationResponse, err error)
- func (c RedisClient) AccessPolicyListComplete(ctx context.Context, id RediId) (AccessPolicyListCompleteResult, error)
- func (c RedisClient) AccessPolicyListCompleteMatchingPredicate(ctx context.Context, id RediId, ...) (result AccessPolicyListCompleteResult, err error)
- func (c RedisClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c RedisClient) Create(ctx context.Context, id RediId, input RedisCreateParameters) (result CreateOperationResponse, err error)
- func (c RedisClient) CreateThenPoll(ctx context.Context, id RediId, input RedisCreateParameters) error
- func (c RedisClient) Delete(ctx context.Context, id RediId) (result DeleteOperationResponse, err error)
- func (c RedisClient) DeleteThenPoll(ctx context.Context, id RediId) error
- func (c RedisClient) ExportData(ctx context.Context, id RediId, input ExportRDBParameters) (result ExportDataOperationResponse, err error)
- func (c RedisClient) ExportDataThenPoll(ctx context.Context, id RediId, input ExportRDBParameters) error
- func (c RedisClient) FirewallRulesCreateOrUpdate(ctx context.Context, id FirewallRuleId, input RedisFirewallRule) (result FirewallRulesCreateOrUpdateOperationResponse, err error)
- func (c RedisClient) FirewallRulesDelete(ctx context.Context, id FirewallRuleId) (result FirewallRulesDeleteOperationResponse, err error)
- func (c RedisClient) FirewallRulesGet(ctx context.Context, id FirewallRuleId) (result FirewallRulesGetOperationResponse, err error)
- func (c RedisClient) FirewallRulesList(ctx context.Context, id RediId) (result FirewallRulesListOperationResponse, err error)
- func (c RedisClient) FirewallRulesListComplete(ctx context.Context, id RediId) (FirewallRulesListCompleteResult, error)
- func (c RedisClient) FirewallRulesListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisFirewallRuleOperationPredicate) (result FirewallRulesListCompleteResult, err error)
- func (c RedisClient) FlushCache(ctx context.Context, id RediId) (result FlushCacheOperationResponse, err error)
- func (c RedisClient) FlushCacheThenPoll(ctx context.Context, id RediId) error
- func (c RedisClient) ForceReboot(ctx context.Context, id RediId, input RedisRebootParameters) (result ForceRebootOperationResponse, err error)
- func (c RedisClient) Get(ctx context.Context, id RediId) (result GetOperationResponse, err error)
- func (c RedisClient) ImportData(ctx context.Context, id RediId, input ImportRDBParameters) (result ImportDataOperationResponse, err error)
- func (c RedisClient) ImportDataThenPoll(ctx context.Context, id RediId, input ImportRDBParameters) error
- func (c RedisClient) LinkedServerCreate(ctx context.Context, id LinkedServerId, ...) (result LinkedServerCreateOperationResponse, err error)
- func (c RedisClient) LinkedServerCreateThenPoll(ctx context.Context, id LinkedServerId, ...) error
- func (c RedisClient) LinkedServerDelete(ctx context.Context, id LinkedServerId) (result LinkedServerDeleteOperationResponse, err error)
- func (c RedisClient) LinkedServerDeleteThenPoll(ctx context.Context, id LinkedServerId) error
- func (c RedisClient) LinkedServerGet(ctx context.Context, id LinkedServerId) (result LinkedServerGetOperationResponse, err error)
- func (c RedisClient) LinkedServerList(ctx context.Context, id RediId) (result LinkedServerListOperationResponse, err error)
- func (c RedisClient) LinkedServerListComplete(ctx context.Context, id RediId) (LinkedServerListCompleteResult, error)
- func (c RedisClient) LinkedServerListCompleteMatchingPredicate(ctx context.Context, id RediId, ...) (result LinkedServerListCompleteResult, err error)
- func (c RedisClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c RedisClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c RedisClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c RedisClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c RedisClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c RedisClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c RedisClient) ListKeys(ctx context.Context, id RediId) (result ListKeysOperationResponse, err error)
- func (c RedisClient) ListUpgradeNotifications(ctx context.Context, id RediId, ...) (result ListUpgradeNotificationsOperationResponse, err error)
- func (c RedisClient) ListUpgradeNotificationsComplete(ctx context.Context, id RediId, ...) (ListUpgradeNotificationsCompleteResult, error)
- func (c RedisClient) ListUpgradeNotificationsCompleteMatchingPredicate(ctx context.Context, id RediId, ...) (result ListUpgradeNotificationsCompleteResult, err error)
- func (c RedisClient) PatchSchedulesCreateOrUpdate(ctx context.Context, id RediId, input RedisPatchSchedule) (result PatchSchedulesCreateOrUpdateOperationResponse, err error)
- func (c RedisClient) PatchSchedulesDelete(ctx context.Context, id RediId) (result PatchSchedulesDeleteOperationResponse, err error)
- func (c RedisClient) PatchSchedulesGet(ctx context.Context, id RediId) (result PatchSchedulesGetOperationResponse, err error)
- func (c RedisClient) PatchSchedulesListByRedisResource(ctx context.Context, id RediId) (result PatchSchedulesListByRedisResourceOperationResponse, err error)
- func (c RedisClient) PatchSchedulesListByRedisResourceComplete(ctx context.Context, id RediId) (PatchSchedulesListByRedisResourceCompleteResult, error)
- func (c RedisClient) PatchSchedulesListByRedisResourceCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisPatchScheduleOperationPredicate) (result PatchSchedulesListByRedisResourceCompleteResult, err error)
- func (c RedisClient) RegenerateKey(ctx context.Context, id RediId, input RedisRegenerateKeyParameters) (result RegenerateKeyOperationResponse, err error)
- func (c RedisClient) Update(ctx context.Context, id RediId, input RedisUpdateParameters) (result UpdateOperationResponse, err error)
- func (c RedisClient) UpdateThenPoll(ctx context.Context, id RediId, input RedisUpdateParameters) error
- type RedisCommonPropertiesRedisConfiguration
- type RedisCreateParameters
- type RedisCreateProperties
- type RedisFirewallRule
- type RedisFirewallRuleOperationPredicate
- type RedisFirewallRuleProperties
- type RedisForceRebootResponse
- type RedisInstanceDetails
- type RedisKeyType
- type RedisLinkedServer
- type RedisLinkedServerCreateParameters
- type RedisLinkedServerCreateProperties
- type RedisLinkedServerProperties
- type RedisLinkedServerWithProperties
- type RedisLinkedServerWithPropertiesOperationPredicate
- type RedisPatchSchedule
- type RedisPatchScheduleOperationPredicate
- type RedisProperties
- type RedisRebootParameters
- type RedisRegenerateKeyParameters
- type RedisResource
- type RedisResourceOperationPredicate
- type RedisUpdateParameters
- type RedisUpdateProperties
- type RegenerateKeyOperationResponse
- type ReplicationRole
- type ScheduleEntries
- type ScheduleEntry
- type Sku
- type SkuFamily
- type SkuName
- type TlsVersion
- type UpdateChannel
- type UpdateOperationResponse
- type UpgradeNotification
- type UpgradeNotificationOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessPolicyAssignmentProvisioningState ¶
func PossibleValuesForAccessPolicyAssignmentProvisioningState() []string
func PossibleValuesForAccessPolicyProvisioningState ¶
func PossibleValuesForAccessPolicyProvisioningState() []string
func PossibleValuesForAccessPolicyType ¶
func PossibleValuesForAccessPolicyType() []string
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForRebootType ¶
func PossibleValuesForRebootType() []string
func PossibleValuesForRedisKeyType ¶
func PossibleValuesForRedisKeyType() []string
func PossibleValuesForReplicationRole ¶
func PossibleValuesForReplicationRole() []string
func PossibleValuesForSkuFamily ¶
func PossibleValuesForSkuFamily() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForTlsVersion ¶
func PossibleValuesForTlsVersion() []string
func PossibleValuesForUpdateChannel ¶
func PossibleValuesForUpdateChannel() []string
func ValidateAccessPolicyAssignmentID ¶
func ValidateAccessPolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateAccessPolicyAssignmentID checks that 'input' can be parsed as a Access Policy Assignment ID
func ValidateAccessPolicyID ¶
ValidateAccessPolicyID checks that 'input' can be parsed as a Access Policy ID
func ValidateFirewallRuleID ¶
ValidateFirewallRuleID checks that 'input' can be parsed as a Firewall Rule ID
func ValidateLinkedServerID ¶
ValidateLinkedServerID checks that 'input' can be parsed as a Linked Server ID
func ValidateRediID ¶
ValidateRediID checks that 'input' can be parsed as a Redi ID
Types ¶
type AccessPolicyAssignmentGetOperationResponse ¶
type AccessPolicyAssignmentGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisCacheAccessPolicyAssignment }
type AccessPolicyAssignmentId ¶
type AccessPolicyAssignmentId struct { SubscriptionId string ResourceGroupName string RedisName string AccessPolicyAssignmentName string }
AccessPolicyAssignmentId is a struct representing the Resource ID for a Access Policy Assignment
func NewAccessPolicyAssignmentID ¶
func NewAccessPolicyAssignmentID(subscriptionId string, resourceGroupName string, redisName string, accessPolicyAssignmentName string) AccessPolicyAssignmentId
NewAccessPolicyAssignmentID returns a new AccessPolicyAssignmentId struct
func ParseAccessPolicyAssignmentID ¶
func ParseAccessPolicyAssignmentID(input string) (*AccessPolicyAssignmentId, error)
ParseAccessPolicyAssignmentID parses 'input' into a AccessPolicyAssignmentId
func ParseAccessPolicyAssignmentIDInsensitively ¶
func ParseAccessPolicyAssignmentIDInsensitively(input string) (*AccessPolicyAssignmentId, error)
ParseAccessPolicyAssignmentIDInsensitively parses 'input' case-insensitively into a AccessPolicyAssignmentId note: this method should only be used for API response data and not user input
func (*AccessPolicyAssignmentId) FromParseResult ¶
func (id *AccessPolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (AccessPolicyAssignmentId) ID ¶
func (id AccessPolicyAssignmentId) ID() string
ID returns the formatted Access Policy Assignment ID
func (AccessPolicyAssignmentId) Segments ¶
func (id AccessPolicyAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access Policy Assignment ID
func (AccessPolicyAssignmentId) String ¶
func (id AccessPolicyAssignmentId) String() string
String returns a human-readable description of this Access Policy Assignment ID
type AccessPolicyAssignmentListCompleteResult ¶
type AccessPolicyAssignmentListCompleteResult struct { LatestHttpResponse *http.Response Items []RedisCacheAccessPolicyAssignment }
type AccessPolicyAssignmentListOperationResponse ¶
type AccessPolicyAssignmentListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisCacheAccessPolicyAssignment }
type AccessPolicyAssignmentProvisioningState ¶
type AccessPolicyAssignmentProvisioningState string
const ( AccessPolicyAssignmentProvisioningStateCanceled AccessPolicyAssignmentProvisioningState = "Canceled" AccessPolicyAssignmentProvisioningStateDeleted AccessPolicyAssignmentProvisioningState = "Deleted" AccessPolicyAssignmentProvisioningStateDeleting AccessPolicyAssignmentProvisioningState = "Deleting" AccessPolicyAssignmentProvisioningStateFailed AccessPolicyAssignmentProvisioningState = "Failed" AccessPolicyAssignmentProvisioningStateSucceeded AccessPolicyAssignmentProvisioningState = "Succeeded" AccessPolicyAssignmentProvisioningStateUpdating AccessPolicyAssignmentProvisioningState = "Updating" )
func (*AccessPolicyAssignmentProvisioningState) UnmarshalJSON ¶
func (s *AccessPolicyAssignmentProvisioningState) UnmarshalJSON(bytes []byte) error
type AccessPolicyGetOperationResponse ¶
type AccessPolicyGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisCacheAccessPolicy }
type AccessPolicyId ¶
type AccessPolicyId struct { SubscriptionId string ResourceGroupName string RedisName string AccessPolicyName string }
AccessPolicyId is a struct representing the Resource ID for a Access Policy
func NewAccessPolicyID ¶
func NewAccessPolicyID(subscriptionId string, resourceGroupName string, redisName string, accessPolicyName string) AccessPolicyId
NewAccessPolicyID returns a new AccessPolicyId struct
func ParseAccessPolicyID ¶
func ParseAccessPolicyID(input string) (*AccessPolicyId, error)
ParseAccessPolicyID parses 'input' into a AccessPolicyId
func ParseAccessPolicyIDInsensitively ¶
func ParseAccessPolicyIDInsensitively(input string) (*AccessPolicyId, error)
ParseAccessPolicyIDInsensitively parses 'input' case-insensitively into a AccessPolicyId note: this method should only be used for API response data and not user input
func (*AccessPolicyId) FromParseResult ¶
func (id *AccessPolicyId) FromParseResult(input resourceids.ParseResult) error
func (AccessPolicyId) ID ¶
func (id AccessPolicyId) ID() string
ID returns the formatted Access Policy ID
func (AccessPolicyId) Segments ¶
func (id AccessPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access Policy ID
func (AccessPolicyId) String ¶
func (id AccessPolicyId) String() string
String returns a human-readable description of this Access Policy ID
type AccessPolicyListCompleteResult ¶
type AccessPolicyListCompleteResult struct { LatestHttpResponse *http.Response Items []RedisCacheAccessPolicy }
type AccessPolicyListOperationResponse ¶
type AccessPolicyListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisCacheAccessPolicy }
type AccessPolicyProvisioningState ¶
type AccessPolicyProvisioningState string
const ( AccessPolicyProvisioningStateCanceled AccessPolicyProvisioningState = "Canceled" AccessPolicyProvisioningStateDeleted AccessPolicyProvisioningState = "Deleted" AccessPolicyProvisioningStateDeleting AccessPolicyProvisioningState = "Deleting" AccessPolicyProvisioningStateFailed AccessPolicyProvisioningState = "Failed" AccessPolicyProvisioningStateSucceeded AccessPolicyProvisioningState = "Succeeded" AccessPolicyProvisioningStateUpdating AccessPolicyProvisioningState = "Updating" )
func (*AccessPolicyProvisioningState) UnmarshalJSON ¶
func (s *AccessPolicyProvisioningState) UnmarshalJSON(bytes []byte) error
type AccessPolicyType ¶
type AccessPolicyType string
const ( AccessPolicyTypeBuiltIn AccessPolicyType = "BuiltIn" AccessPolicyTypeCustom AccessPolicyType = "Custom" )
func (*AccessPolicyType) UnmarshalJSON ¶
func (s *AccessPolicyType) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type DayOfWeek ¶
type DayOfWeek string
const ( DayOfWeekEveryday DayOfWeek = "Everyday" DayOfWeekFriday DayOfWeek = "Friday" DayOfWeekMonday DayOfWeek = "Monday" DayOfWeekSaturday DayOfWeek = "Saturday" DayOfWeekSunday DayOfWeek = "Sunday" DayOfWeekThursday DayOfWeek = "Thursday" DayOfWeekTuesday DayOfWeek = "Tuesday" DayOfWeekWednesday DayOfWeek = "Wednesday" DayOfWeekWeekend DayOfWeek = "Weekend" )
func (*DayOfWeek) UnmarshalJSON ¶
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ExportRDBParameters ¶
type ExportRDBParameters struct { Container string `json:"container"` Format *string `json:"format,omitempty"` PreferredDataArchiveAuthMethod *string `json:"preferred-data-archive-auth-method,omitempty"` Prefix string `json:"prefix"` StorageSubscriptionId *string `json:"storage-subscription-id,omitempty"` }
type FirewallRuleId ¶
type FirewallRuleId struct { SubscriptionId string ResourceGroupName string RedisName string FirewallRuleName string }
FirewallRuleId is a struct representing the Resource ID for a Firewall Rule
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId string, resourceGroupName string, redisName string, firewallRuleName string) FirewallRuleId
NewFirewallRuleID returns a new FirewallRuleId struct
func ParseFirewallRuleID ¶
func ParseFirewallRuleID(input string) (*FirewallRuleId, error)
ParseFirewallRuleID parses 'input' into a FirewallRuleId
func ParseFirewallRuleIDInsensitively ¶
func ParseFirewallRuleIDInsensitively(input string) (*FirewallRuleId, error)
ParseFirewallRuleIDInsensitively parses 'input' case-insensitively into a FirewallRuleId note: this method should only be used for API response data and not user input
func (*FirewallRuleId) FromParseResult ¶
func (id *FirewallRuleId) FromParseResult(input resourceids.ParseResult) error
func (FirewallRuleId) ID ¶
func (id FirewallRuleId) ID() string
ID returns the formatted Firewall Rule ID
func (FirewallRuleId) Segments ¶
func (id FirewallRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Firewall Rule ID
func (FirewallRuleId) String ¶
func (id FirewallRuleId) String() string
String returns a human-readable description of this Firewall Rule ID
type FirewallRulesCreateOrUpdateOperationResponse ¶
type FirewallRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisFirewallRule }
type FirewallRulesGetOperationResponse ¶
type FirewallRulesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisFirewallRule }
type FirewallRulesListCompleteResult ¶
type FirewallRulesListCompleteResult struct { LatestHttpResponse *http.Response Items []RedisFirewallRule }
type FirewallRulesListOperationResponse ¶
type FirewallRulesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisFirewallRule }
type ForceRebootOperationResponse ¶
type ForceRebootOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisForceRebootResponse }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisResource }
type ImportRDBParameters ¶
type LinkedServerGetOperationResponse ¶
type LinkedServerGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisLinkedServerWithProperties }
type LinkedServerId ¶
type LinkedServerId struct { SubscriptionId string ResourceGroupName string RedisName string LinkedServerName string }
LinkedServerId is a struct representing the Resource ID for a Linked Server
func NewLinkedServerID ¶
func NewLinkedServerID(subscriptionId string, resourceGroupName string, redisName string, linkedServerName string) LinkedServerId
NewLinkedServerID returns a new LinkedServerId struct
func ParseLinkedServerID ¶
func ParseLinkedServerID(input string) (*LinkedServerId, error)
ParseLinkedServerID parses 'input' into a LinkedServerId
func ParseLinkedServerIDInsensitively ¶
func ParseLinkedServerIDInsensitively(input string) (*LinkedServerId, error)
ParseLinkedServerIDInsensitively parses 'input' case-insensitively into a LinkedServerId note: this method should only be used for API response data and not user input
func (*LinkedServerId) FromParseResult ¶
func (id *LinkedServerId) FromParseResult(input resourceids.ParseResult) error
func (LinkedServerId) ID ¶
func (id LinkedServerId) ID() string
ID returns the formatted Linked Server ID
func (LinkedServerId) Segments ¶
func (id LinkedServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Linked Server ID
func (LinkedServerId) String ¶
func (id LinkedServerId) String() string
String returns a human-readable description of this Linked Server ID
type LinkedServerListCompleteResult ¶
type LinkedServerListCompleteResult struct { LatestHttpResponse *http.Response Items []RedisLinkedServerWithProperties }
type LinkedServerListOperationResponse ¶
type LinkedServerListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisLinkedServerWithProperties }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []RedisResource }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []RedisResource }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisResource }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisAccessKeys }
type ListUpgradeNotificationsCompleteResult ¶
type ListUpgradeNotificationsCompleteResult struct { LatestHttpResponse *http.Response Items []UpgradeNotification }
type ListUpgradeNotificationsOperationOptions ¶
type ListUpgradeNotificationsOperationOptions struct {
History *float64
}
func DefaultListUpgradeNotificationsOperationOptions ¶
func DefaultListUpgradeNotificationsOperationOptions() ListUpgradeNotificationsOperationOptions
func (ListUpgradeNotificationsOperationOptions) ToHeaders ¶
func (o ListUpgradeNotificationsOperationOptions) ToHeaders() *client.Headers
func (ListUpgradeNotificationsOperationOptions) ToOData ¶
func (o ListUpgradeNotificationsOperationOptions) ToOData() *odata.Query
func (ListUpgradeNotificationsOperationOptions) ToQuery ¶
func (o ListUpgradeNotificationsOperationOptions) ToQuery() *client.QueryParams
type ListUpgradeNotificationsOperationResponse ¶
type ListUpgradeNotificationsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UpgradeNotification }
type OperationStatusResult ¶
type OperationStatusResult struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Operations *[]OperationStatusResult `json:"operations,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*OperationStatusResult) GetEndTimeAsTime ¶
func (o *OperationStatusResult) GetEndTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) GetStartTimeAsTime ¶
func (o *OperationStatusResult) GetStartTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) SetEndTimeAsTime ¶
func (o *OperationStatusResult) SetEndTimeAsTime(input time.Time)
func (*OperationStatusResult) SetStartTimeAsTime ¶
func (o *OperationStatusResult) SetStartTimeAsTime(input time.Time)
type PatchSchedulesCreateOrUpdateOperationResponse ¶
type PatchSchedulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisPatchSchedule }
type PatchSchedulesGetOperationResponse ¶
type PatchSchedulesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisPatchSchedule }
type PatchSchedulesListByRedisResourceCompleteResult ¶
type PatchSchedulesListByRedisResourceCompleteResult struct { LatestHttpResponse *http.Response Items []RedisPatchSchedule }
type PatchSchedulesListByRedisResourceOperationResponse ¶
type PatchSchedulesListByRedisResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisPatchSchedule }
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 ( ProvisioningStateConfiguringAAD ProvisioningState = "ConfiguringAAD" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateDisabled ProvisioningState = "Disabled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateLinking ProvisioningState = "Linking" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateRecoveringScaleFailure ProvisioningState = "RecoveringScaleFailure" ProvisioningStateScaling ProvisioningState = "Scaling" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnlinking ProvisioningState = "Unlinking" ProvisioningStateUnprovisioning ProvisioningState = "Unprovisioning" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type RebootType ¶
type RebootType string
const ( RebootTypeAllNodes RebootType = "AllNodes" RebootTypePrimaryNode RebootType = "PrimaryNode" RebootTypeSecondaryNode RebootType = "SecondaryNode" )
func (*RebootType) UnmarshalJSON ¶
func (s *RebootType) UnmarshalJSON(bytes []byte) error
type RediId ¶
RediId is a struct representing the Resource ID for a Redi
func ParseRediID ¶
ParseRediID parses 'input' into a RediId
func ParseRediIDInsensitively ¶
ParseRediIDInsensitively parses 'input' case-insensitively into a RediId note: this method should only be used for API response data and not user input
func (*RediId) FromParseResult ¶
func (id *RediId) FromParseResult(input resourceids.ParseResult) error
func (RediId) Segments ¶
func (id RediId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Redi ID
type RedisAccessKeys ¶
type RedisCacheAccessPolicy ¶
type RedisCacheAccessPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RedisCacheAccessPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RedisCacheAccessPolicyAssignment ¶
type RedisCacheAccessPolicyAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RedisCacheAccessPolicyAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RedisCacheAccessPolicyAssignmentOperationPredicate ¶
type RedisCacheAccessPolicyAssignmentOperationPredicate struct { Id *string Name *string Type *string }
func (RedisCacheAccessPolicyAssignmentOperationPredicate) Matches ¶
func (p RedisCacheAccessPolicyAssignmentOperationPredicate) Matches(input RedisCacheAccessPolicyAssignment) bool
type RedisCacheAccessPolicyAssignmentProperties ¶
type RedisCacheAccessPolicyAssignmentProperties struct { AccessPolicyName string `json:"accessPolicyName"` ObjectId string `json:"objectId"` ObjectIdAlias string `json:"objectIdAlias"` ProvisioningState *AccessPolicyAssignmentProvisioningState `json:"provisioningState,omitempty"` }
type RedisCacheAccessPolicyOperationPredicate ¶
func (RedisCacheAccessPolicyOperationPredicate) Matches ¶
func (p RedisCacheAccessPolicyOperationPredicate) Matches(input RedisCacheAccessPolicy) bool
type RedisCacheAccessPolicyProperties ¶
type RedisCacheAccessPolicyProperties struct { Permissions string `json:"permissions"` ProvisioningState *AccessPolicyProvisioningState `json:"provisioningState,omitempty"` Type *AccessPolicyType `json:"type,omitempty"` }
type RedisClient ¶
type RedisClient struct {
Client *resourcemanager.Client
}
func NewRedisClientWithBaseURI ¶
func NewRedisClientWithBaseURI(sdkApi sdkEnv.Api) (*RedisClient, error)
func (RedisClient) AccessPolicyAssignmentCreateUpdate ¶
func (c RedisClient) AccessPolicyAssignmentCreateUpdate(ctx context.Context, id AccessPolicyAssignmentId, input RedisCacheAccessPolicyAssignment) (result AccessPolicyAssignmentCreateUpdateOperationResponse, err error)
AccessPolicyAssignmentCreateUpdate ...
func (RedisClient) AccessPolicyAssignmentCreateUpdateThenPoll ¶
func (c RedisClient) AccessPolicyAssignmentCreateUpdateThenPoll(ctx context.Context, id AccessPolicyAssignmentId, input RedisCacheAccessPolicyAssignment) error
AccessPolicyAssignmentCreateUpdateThenPoll performs AccessPolicyAssignmentCreateUpdate then polls until it's completed
func (RedisClient) AccessPolicyAssignmentDelete ¶
func (c RedisClient) AccessPolicyAssignmentDelete(ctx context.Context, id AccessPolicyAssignmentId) (result AccessPolicyAssignmentDeleteOperationResponse, err error)
AccessPolicyAssignmentDelete ...
func (RedisClient) AccessPolicyAssignmentDeleteThenPoll ¶
func (c RedisClient) AccessPolicyAssignmentDeleteThenPoll(ctx context.Context, id AccessPolicyAssignmentId) error
AccessPolicyAssignmentDeleteThenPoll performs AccessPolicyAssignmentDelete then polls until it's completed
func (RedisClient) AccessPolicyAssignmentGet ¶
func (c RedisClient) AccessPolicyAssignmentGet(ctx context.Context, id AccessPolicyAssignmentId) (result AccessPolicyAssignmentGetOperationResponse, err error)
AccessPolicyAssignmentGet ...
func (RedisClient) AccessPolicyAssignmentList ¶
func (c RedisClient) AccessPolicyAssignmentList(ctx context.Context, id RediId) (result AccessPolicyAssignmentListOperationResponse, err error)
AccessPolicyAssignmentList ...
func (RedisClient) AccessPolicyAssignmentListComplete ¶
func (c RedisClient) AccessPolicyAssignmentListComplete(ctx context.Context, id RediId) (AccessPolicyAssignmentListCompleteResult, error)
AccessPolicyAssignmentListComplete retrieves all the results into a single object
func (RedisClient) AccessPolicyAssignmentListCompleteMatchingPredicate ¶
func (c RedisClient) AccessPolicyAssignmentListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisCacheAccessPolicyAssignmentOperationPredicate) (result AccessPolicyAssignmentListCompleteResult, err error)
AccessPolicyAssignmentListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) AccessPolicyCreateUpdate ¶
func (c RedisClient) AccessPolicyCreateUpdate(ctx context.Context, id AccessPolicyId, input RedisCacheAccessPolicy) (result AccessPolicyCreateUpdateOperationResponse, err error)
AccessPolicyCreateUpdate ...
func (RedisClient) AccessPolicyCreateUpdateThenPoll ¶
func (c RedisClient) AccessPolicyCreateUpdateThenPoll(ctx context.Context, id AccessPolicyId, input RedisCacheAccessPolicy) error
AccessPolicyCreateUpdateThenPoll performs AccessPolicyCreateUpdate then polls until it's completed
func (RedisClient) AccessPolicyDelete ¶
func (c RedisClient) AccessPolicyDelete(ctx context.Context, id AccessPolicyId) (result AccessPolicyDeleteOperationResponse, err error)
AccessPolicyDelete ...
func (RedisClient) AccessPolicyDeleteThenPoll ¶
func (c RedisClient) AccessPolicyDeleteThenPoll(ctx context.Context, id AccessPolicyId) error
AccessPolicyDeleteThenPoll performs AccessPolicyDelete then polls until it's completed
func (RedisClient) AccessPolicyGet ¶
func (c RedisClient) AccessPolicyGet(ctx context.Context, id AccessPolicyId) (result AccessPolicyGetOperationResponse, err error)
AccessPolicyGet ...
func (RedisClient) AccessPolicyList ¶
func (c RedisClient) AccessPolicyList(ctx context.Context, id RediId) (result AccessPolicyListOperationResponse, err error)
AccessPolicyList ...
func (RedisClient) AccessPolicyListComplete ¶
func (c RedisClient) AccessPolicyListComplete(ctx context.Context, id RediId) (AccessPolicyListCompleteResult, error)
AccessPolicyListComplete retrieves all the results into a single object
func (RedisClient) AccessPolicyListCompleteMatchingPredicate ¶
func (c RedisClient) AccessPolicyListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisCacheAccessPolicyOperationPredicate) (result AccessPolicyListCompleteResult, err error)
AccessPolicyListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) CheckNameAvailability ¶
func (c RedisClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityParameters) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (RedisClient) Create ¶
func (c RedisClient) Create(ctx context.Context, id RediId, input RedisCreateParameters) (result CreateOperationResponse, err error)
Create ...
func (RedisClient) CreateThenPoll ¶
func (c RedisClient) CreateThenPoll(ctx context.Context, id RediId, input RedisCreateParameters) error
CreateThenPoll performs Create then polls until it's completed
func (RedisClient) Delete ¶
func (c RedisClient) Delete(ctx context.Context, id RediId) (result DeleteOperationResponse, err error)
Delete ...
func (RedisClient) DeleteThenPoll ¶
func (c RedisClient) DeleteThenPoll(ctx context.Context, id RediId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RedisClient) ExportData ¶
func (c RedisClient) ExportData(ctx context.Context, id RediId, input ExportRDBParameters) (result ExportDataOperationResponse, err error)
ExportData ...
func (RedisClient) ExportDataThenPoll ¶
func (c RedisClient) ExportDataThenPoll(ctx context.Context, id RediId, input ExportRDBParameters) error
ExportDataThenPoll performs ExportData then polls until it's completed
func (RedisClient) FirewallRulesCreateOrUpdate ¶
func (c RedisClient) FirewallRulesCreateOrUpdate(ctx context.Context, id FirewallRuleId, input RedisFirewallRule) (result FirewallRulesCreateOrUpdateOperationResponse, err error)
FirewallRulesCreateOrUpdate ...
func (RedisClient) FirewallRulesDelete ¶
func (c RedisClient) FirewallRulesDelete(ctx context.Context, id FirewallRuleId) (result FirewallRulesDeleteOperationResponse, err error)
FirewallRulesDelete ...
func (RedisClient) FirewallRulesGet ¶
func (c RedisClient) FirewallRulesGet(ctx context.Context, id FirewallRuleId) (result FirewallRulesGetOperationResponse, err error)
FirewallRulesGet ...
func (RedisClient) FirewallRulesList ¶
func (c RedisClient) FirewallRulesList(ctx context.Context, id RediId) (result FirewallRulesListOperationResponse, err error)
FirewallRulesList ...
func (RedisClient) FirewallRulesListComplete ¶
func (c RedisClient) FirewallRulesListComplete(ctx context.Context, id RediId) (FirewallRulesListCompleteResult, error)
FirewallRulesListComplete retrieves all the results into a single object
func (RedisClient) FirewallRulesListCompleteMatchingPredicate ¶
func (c RedisClient) FirewallRulesListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisFirewallRuleOperationPredicate) (result FirewallRulesListCompleteResult, err error)
FirewallRulesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) FlushCache ¶
func (c RedisClient) FlushCache(ctx context.Context, id RediId) (result FlushCacheOperationResponse, err error)
FlushCache ...
func (RedisClient) FlushCacheThenPoll ¶
func (c RedisClient) FlushCacheThenPoll(ctx context.Context, id RediId) error
FlushCacheThenPoll performs FlushCache then polls until it's completed
func (RedisClient) ForceReboot ¶
func (c RedisClient) ForceReboot(ctx context.Context, id RediId, input RedisRebootParameters) (result ForceRebootOperationResponse, err error)
ForceReboot ...
func (RedisClient) Get ¶
func (c RedisClient) Get(ctx context.Context, id RediId) (result GetOperationResponse, err error)
Get ...
func (RedisClient) ImportData ¶
func (c RedisClient) ImportData(ctx context.Context, id RediId, input ImportRDBParameters) (result ImportDataOperationResponse, err error)
ImportData ...
func (RedisClient) ImportDataThenPoll ¶
func (c RedisClient) ImportDataThenPoll(ctx context.Context, id RediId, input ImportRDBParameters) error
ImportDataThenPoll performs ImportData then polls until it's completed
func (RedisClient) LinkedServerCreate ¶
func (c RedisClient) LinkedServerCreate(ctx context.Context, id LinkedServerId, input RedisLinkedServerCreateParameters) (result LinkedServerCreateOperationResponse, err error)
LinkedServerCreate ...
func (RedisClient) LinkedServerCreateThenPoll ¶
func (c RedisClient) LinkedServerCreateThenPoll(ctx context.Context, id LinkedServerId, input RedisLinkedServerCreateParameters) error
LinkedServerCreateThenPoll performs LinkedServerCreate then polls until it's completed
func (RedisClient) LinkedServerDelete ¶
func (c RedisClient) LinkedServerDelete(ctx context.Context, id LinkedServerId) (result LinkedServerDeleteOperationResponse, err error)
LinkedServerDelete ...
func (RedisClient) LinkedServerDeleteThenPoll ¶
func (c RedisClient) LinkedServerDeleteThenPoll(ctx context.Context, id LinkedServerId) error
LinkedServerDeleteThenPoll performs LinkedServerDelete then polls until it's completed
func (RedisClient) LinkedServerGet ¶
func (c RedisClient) LinkedServerGet(ctx context.Context, id LinkedServerId) (result LinkedServerGetOperationResponse, err error)
LinkedServerGet ...
func (RedisClient) LinkedServerList ¶
func (c RedisClient) LinkedServerList(ctx context.Context, id RediId) (result LinkedServerListOperationResponse, err error)
LinkedServerList ...
func (RedisClient) LinkedServerListComplete ¶
func (c RedisClient) LinkedServerListComplete(ctx context.Context, id RediId) (LinkedServerListCompleteResult, error)
LinkedServerListComplete retrieves all the results into a single object
func (RedisClient) LinkedServerListCompleteMatchingPredicate ¶
func (c RedisClient) LinkedServerListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisLinkedServerWithPropertiesOperationPredicate) (result LinkedServerListCompleteResult, err error)
LinkedServerListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) ListByResourceGroup ¶
func (c RedisClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (RedisClient) ListByResourceGroupComplete ¶
func (c RedisClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (RedisClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c RedisClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate RedisResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) ListBySubscription ¶
func (c RedisClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (RedisClient) ListBySubscriptionComplete ¶
func (c RedisClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (RedisClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c RedisClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate RedisResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) ListKeys ¶
func (c RedisClient) ListKeys(ctx context.Context, id RediId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (RedisClient) ListUpgradeNotifications ¶
func (c RedisClient) ListUpgradeNotifications(ctx context.Context, id RediId, options ListUpgradeNotificationsOperationOptions) (result ListUpgradeNotificationsOperationResponse, err error)
ListUpgradeNotifications ...
func (RedisClient) ListUpgradeNotificationsComplete ¶
func (c RedisClient) ListUpgradeNotificationsComplete(ctx context.Context, id RediId, options ListUpgradeNotificationsOperationOptions) (ListUpgradeNotificationsCompleteResult, error)
ListUpgradeNotificationsComplete retrieves all the results into a single object
func (RedisClient) ListUpgradeNotificationsCompleteMatchingPredicate ¶
func (c RedisClient) ListUpgradeNotificationsCompleteMatchingPredicate(ctx context.Context, id RediId, options ListUpgradeNotificationsOperationOptions, predicate UpgradeNotificationOperationPredicate) (result ListUpgradeNotificationsCompleteResult, err error)
ListUpgradeNotificationsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) PatchSchedulesCreateOrUpdate ¶
func (c RedisClient) PatchSchedulesCreateOrUpdate(ctx context.Context, id RediId, input RedisPatchSchedule) (result PatchSchedulesCreateOrUpdateOperationResponse, err error)
PatchSchedulesCreateOrUpdate ...
func (RedisClient) PatchSchedulesDelete ¶
func (c RedisClient) PatchSchedulesDelete(ctx context.Context, id RediId) (result PatchSchedulesDeleteOperationResponse, err error)
PatchSchedulesDelete ...
func (RedisClient) PatchSchedulesGet ¶
func (c RedisClient) PatchSchedulesGet(ctx context.Context, id RediId) (result PatchSchedulesGetOperationResponse, err error)
PatchSchedulesGet ...
func (RedisClient) PatchSchedulesListByRedisResource ¶
func (c RedisClient) PatchSchedulesListByRedisResource(ctx context.Context, id RediId) (result PatchSchedulesListByRedisResourceOperationResponse, err error)
PatchSchedulesListByRedisResource ...
func (RedisClient) PatchSchedulesListByRedisResourceComplete ¶
func (c RedisClient) PatchSchedulesListByRedisResourceComplete(ctx context.Context, id RediId) (PatchSchedulesListByRedisResourceCompleteResult, error)
PatchSchedulesListByRedisResourceComplete retrieves all the results into a single object
func (RedisClient) PatchSchedulesListByRedisResourceCompleteMatchingPredicate ¶
func (c RedisClient) PatchSchedulesListByRedisResourceCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisPatchScheduleOperationPredicate) (result PatchSchedulesListByRedisResourceCompleteResult, err error)
PatchSchedulesListByRedisResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RedisClient) RegenerateKey ¶
func (c RedisClient) RegenerateKey(ctx context.Context, id RediId, input RedisRegenerateKeyParameters) (result RegenerateKeyOperationResponse, err error)
RegenerateKey ...
func (RedisClient) Update ¶
func (c RedisClient) Update(ctx context.Context, id RediId, input RedisUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (RedisClient) UpdateThenPoll ¶
func (c RedisClient) UpdateThenPoll(ctx context.Context, id RediId, input RedisUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type RedisCommonPropertiesRedisConfiguration ¶
type RedisCommonPropertiesRedisConfiguration struct { AadEnabled *string `json:"aad-enabled,omitempty"` AofBackupEnabled *string `json:"aof-backup-enabled,omitempty"` AofStorageConnectionString0 *string `json:"aof-storage-connection-string-0,omitempty"` AofStorageConnectionString1 *string `json:"aof-storage-connection-string-1,omitempty"` Authnotrequired *string `json:"authnotrequired,omitempty"` Maxclients *string `json:"maxclients,omitempty"` MaxfragmentationmemoryReserved *string `json:"maxfragmentationmemory-reserved,omitempty"` MaxmemoryDelta *string `json:"maxmemory-delta,omitempty"` MaxmemoryPolicy *string `json:"maxmemory-policy,omitempty"` MaxmemoryReserved *string `json:"maxmemory-reserved,omitempty"` NotifyKeyspaceEvents string `json:"notify-keyspace-events"` PreferredDataArchiveAuthMethod *string `json:"preferred-data-archive-auth-method,omitempty"` PreferredDataPersistenceAuthMethod *string `json:"preferred-data-persistence-auth-method,omitempty"` RdbBackupEnabled *string `json:"rdb-backup-enabled,omitempty"` RdbBackupFrequency *string `json:"rdb-backup-frequency,omitempty"` RdbBackupMaxSnapshotCount *string `json:"rdb-backup-max-snapshot-count,omitempty"` RdbStorageConnectionString *string `json:"rdb-storage-connection-string,omitempty"` StorageSubscriptionId *string `json:"storage-subscription-id,omitempty"` ZonalConfiguration *string `json:"zonal-configuration,omitempty"` }
type RedisCreateParameters ¶
type RedisCreateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Properties RedisCreateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type RedisCreateProperties ¶
type RedisCreateProperties struct { EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RedisConfiguration *RedisCommonPropertiesRedisConfiguration `json:"redisConfiguration,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` ReplicasPerMaster *int64 `json:"replicasPerMaster,omitempty"` ReplicasPerPrimary *int64 `json:"replicasPerPrimary,omitempty"` ShardCount *int64 `json:"shardCount,omitempty"` Sku Sku `json:"sku"` StaticIP *string `json:"staticIP,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TenantSettings *map[string]string `json:"tenantSettings,omitempty"` UpdateChannel *UpdateChannel `json:"updateChannel,omitempty"` }
type RedisFirewallRule ¶
type RedisFirewallRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties RedisFirewallRuleProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type RedisFirewallRuleOperationPredicate ¶
func (RedisFirewallRuleOperationPredicate) Matches ¶
func (p RedisFirewallRuleOperationPredicate) Matches(input RedisFirewallRule) bool
type RedisForceRebootResponse ¶
type RedisForceRebootResponse struct {
Message *string `json:"message,omitempty"`
}
type RedisInstanceDetails ¶
type RedisKeyType ¶
type RedisKeyType string
const ( RedisKeyTypePrimary RedisKeyType = "Primary" RedisKeyTypeSecondary RedisKeyType = "Secondary" )
func (*RedisKeyType) UnmarshalJSON ¶
func (s *RedisKeyType) UnmarshalJSON(bytes []byte) error
type RedisLinkedServer ¶
type RedisLinkedServer struct {
Id *string `json:"id,omitempty"`
}
type RedisLinkedServerCreateParameters ¶
type RedisLinkedServerCreateParameters struct {
Properties RedisLinkedServerCreateProperties `json:"properties"`
}
type RedisLinkedServerCreateProperties ¶
type RedisLinkedServerCreateProperties struct { GeoReplicatedPrimaryHostName *string `json:"geoReplicatedPrimaryHostName,omitempty"` LinkedRedisCacheId string `json:"linkedRedisCacheId"` LinkedRedisCacheLocation string `json:"linkedRedisCacheLocation"` PrimaryHostName *string `json:"primaryHostName,omitempty"` ServerRole ReplicationRole `json:"serverRole"` }
type RedisLinkedServerProperties ¶
type RedisLinkedServerProperties struct { GeoReplicatedPrimaryHostName *string `json:"geoReplicatedPrimaryHostName,omitempty"` LinkedRedisCacheId string `json:"linkedRedisCacheId"` LinkedRedisCacheLocation string `json:"linkedRedisCacheLocation"` PrimaryHostName *string `json:"primaryHostName,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ServerRole ReplicationRole `json:"serverRole"` }
type RedisLinkedServerWithProperties ¶
type RedisLinkedServerWithProperties struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RedisLinkedServerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RedisLinkedServerWithPropertiesOperationPredicate ¶
type RedisLinkedServerWithPropertiesOperationPredicate struct { Id *string Name *string Type *string }
func (RedisLinkedServerWithPropertiesOperationPredicate) Matches ¶
func (p RedisLinkedServerWithPropertiesOperationPredicate) Matches(input RedisLinkedServerWithProperties) bool
type RedisPatchSchedule ¶
type RedisPatchSchedule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ScheduleEntries `json:"properties"` Type *string `json:"type,omitempty"` }
type RedisPatchScheduleOperationPredicate ¶
type RedisPatchScheduleOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RedisPatchScheduleOperationPredicate) Matches ¶
func (p RedisPatchScheduleOperationPredicate) Matches(input RedisPatchSchedule) bool
type RedisProperties ¶
type RedisProperties struct { AccessKeys *RedisAccessKeys `json:"accessKeys,omitempty"` EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` HostName *string `json:"hostName,omitempty"` Instances *[]RedisInstanceDetails `json:"instances,omitempty"` LinkedServers *[]RedisLinkedServer `json:"linkedServers,omitempty"` MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"` Port *int64 `json:"port,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RedisConfiguration *RedisCommonPropertiesRedisConfiguration `json:"redisConfiguration,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` ReplicasPerMaster *int64 `json:"replicasPerMaster,omitempty"` ReplicasPerPrimary *int64 `json:"replicasPerPrimary,omitempty"` ShardCount *int64 `json:"shardCount,omitempty"` Sku Sku `json:"sku"` SslPort *int64 `json:"sslPort,omitempty"` StaticIP *string `json:"staticIP,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TenantSettings *map[string]string `json:"tenantSettings,omitempty"` UpdateChannel *UpdateChannel `json:"updateChannel,omitempty"` }
type RedisRebootParameters ¶
type RedisRebootParameters struct { Ports *[]int64 `json:"ports,omitempty"` RebootType *RebootType `json:"rebootType,omitempty"` ShardId *int64 `json:"shardId,omitempty"` }
type RedisRegenerateKeyParameters ¶
type RedisRegenerateKeyParameters struct {
KeyType RedisKeyType `json:"keyType"`
}
type RedisResource ¶
type RedisResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties RedisProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type RedisResourceOperationPredicate ¶
type RedisResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RedisResourceOperationPredicate) Matches ¶
func (p RedisResourceOperationPredicate) Matches(input RedisResource) bool
type RedisUpdateParameters ¶
type RedisUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Properties *RedisUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type RedisUpdateProperties ¶
type RedisUpdateProperties struct { EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RedisConfiguration *RedisCommonPropertiesRedisConfiguration `json:"redisConfiguration,omitempty"` RedisVersion *string `json:"redisVersion,omitempty"` ReplicasPerMaster *int64 `json:"replicasPerMaster,omitempty"` ReplicasPerPrimary *int64 `json:"replicasPerPrimary,omitempty"` ShardCount *int64 `json:"shardCount,omitempty"` Sku *Sku `json:"sku,omitempty"` TenantSettings *map[string]string `json:"tenantSettings,omitempty"` UpdateChannel *UpdateChannel `json:"updateChannel,omitempty"` }
type RegenerateKeyOperationResponse ¶
type RegenerateKeyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisAccessKeys }
type ReplicationRole ¶
type ReplicationRole string
const ( ReplicationRolePrimary ReplicationRole = "Primary" ReplicationRoleSecondary ReplicationRole = "Secondary" )
func (*ReplicationRole) UnmarshalJSON ¶
func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error
type ScheduleEntries ¶
type ScheduleEntries struct {
ScheduleEntries []ScheduleEntry `json:"scheduleEntries"`
}
type ScheduleEntry ¶
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
type UpdateChannel ¶
type UpdateChannel string
const ( UpdateChannelPreview UpdateChannel = "Preview" UpdateChannelStable UpdateChannel = "Stable" )
func (*UpdateChannel) UnmarshalJSON ¶
func (s *UpdateChannel) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpgradeNotification ¶
type UpgradeNotification struct { Name *string `json:"name,omitempty"` Timestamp *string `json:"timestamp,omitempty"` UpsellNotification *map[string]string `json:"upsellNotification,omitempty"` }
func (*UpgradeNotification) GetTimestampAsTime ¶
func (o *UpgradeNotification) GetTimestampAsTime() (*time.Time, error)
func (*UpgradeNotification) SetTimestampAsTime ¶
func (o *UpgradeNotification) SetTimestampAsTime(input time.Time)
type UpgradeNotificationOperationPredicate ¶
func (UpgradeNotificationOperationPredicate) Matches ¶
func (p UpgradeNotificationOperationPredicate) Matches(input UpgradeNotification) bool
Source Files ¶
- client.go
- constants.go
- id_accesspolicy.go
- id_accesspolicyassignment.go
- id_firewallrule.go
- id_linkedserver.go
- id_redi.go
- method_accesspolicyassignmentcreateupdate.go
- method_accesspolicyassignmentdelete.go
- method_accesspolicyassignmentget.go
- method_accesspolicyassignmentlist.go
- method_accesspolicycreateupdate.go
- method_accesspolicydelete.go
- method_accesspolicyget.go
- method_accesspolicylist.go
- method_checknameavailability.go
- method_create.go
- method_delete.go
- method_exportdata.go
- method_firewallrulescreateorupdate.go
- method_firewallrulesdelete.go
- method_firewallrulesget.go
- method_firewallruleslist.go
- method_flushcache.go
- method_forcereboot.go
- method_get.go
- method_importdata.go
- method_linkedservercreate.go
- method_linkedserverdelete.go
- method_linkedserverget.go
- method_linkedserverlist.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listkeys.go
- method_listupgradenotifications.go
- method_patchschedulescreateorupdate.go
- method_patchschedulesdelete.go
- method_patchschedulesget.go
- method_patchscheduleslistbyredisresource.go
- method_regeneratekey.go
- method_update.go
- model_checknameavailabilityparameters.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_exportrdbparameters.go
- model_importrdbparameters.go
- model_operationstatusresult.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_redisaccesskeys.go
- model_rediscacheaccesspolicy.go
- model_rediscacheaccesspolicyassignment.go
- model_rediscacheaccesspolicyassignmentproperties.go
- model_rediscacheaccesspolicyproperties.go
- model_rediscommonpropertiesredisconfiguration.go
- model_rediscreateparameters.go
- model_rediscreateproperties.go
- model_redisfirewallrule.go
- model_redisfirewallruleproperties.go
- model_redisforcerebootresponse.go
- model_redisinstancedetails.go
- model_redislinkedserver.go
- model_redislinkedservercreateparameters.go
- model_redislinkedservercreateproperties.go
- model_redislinkedserverproperties.go
- model_redislinkedserverwithproperties.go
- model_redispatchschedule.go
- model_redisproperties.go
- model_redisrebootparameters.go
- model_redisregeneratekeyparameters.go
- model_redisresource.go
- model_redisupdateparameters.go
- model_redisupdateproperties.go
- model_scheduleentries.go
- model_scheduleentry.go
- model_sku.go
- model_upgradenotification.go
- predicates.go
- version.go