Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func ValidateRediID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DayOfWeek
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByRedisResourceCompleteResult
- type ListByRedisResourceOperationResponse
- type PatchSchedulesClient
- func (c PatchSchedulesClient) CreateOrUpdate(ctx context.Context, id RediId, input RedisPatchSchedule) (result CreateOrUpdateOperationResponse, err error)
- func (c PatchSchedulesClient) Delete(ctx context.Context, id RediId) (result DeleteOperationResponse, err error)
- func (c PatchSchedulesClient) Get(ctx context.Context, id RediId) (result GetOperationResponse, err error)
- func (c PatchSchedulesClient) ListByRedisResource(ctx context.Context, id RediId) (result ListByRedisResourceOperationResponse, err error)
- func (c PatchSchedulesClient) ListByRedisResourceComplete(ctx context.Context, id RediId) (ListByRedisResourceCompleteResult, error)
- func (c PatchSchedulesClient) ListByRedisResourceCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisPatchScheduleOperationPredicate) (result ListByRedisResourceCompleteResult, err error)
- type RediId
- type RedisPatchSchedule
- type RedisPatchScheduleOperationPredicate
- type ScheduleEntries
- type ScheduleEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func ValidateRediID ¶
ValidateRediID checks that 'input' can be parsed as a Redi ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisPatchSchedule }
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisPatchSchedule }
type ListByRedisResourceCompleteResult ¶
type ListByRedisResourceCompleteResult struct {
Items []RedisPatchSchedule
}
type ListByRedisResourceOperationResponse ¶
type ListByRedisResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisPatchSchedule }
type PatchSchedulesClient ¶
type PatchSchedulesClient struct {
Client *resourcemanager.Client
}
func NewPatchSchedulesClientWithBaseURI ¶
func NewPatchSchedulesClientWithBaseURI(sdkApi sdkEnv.Api) (*PatchSchedulesClient, error)
func (PatchSchedulesClient) CreateOrUpdate ¶
func (c PatchSchedulesClient) CreateOrUpdate(ctx context.Context, id RediId, input RedisPatchSchedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PatchSchedulesClient) Delete ¶
func (c PatchSchedulesClient) Delete(ctx context.Context, id RediId) (result DeleteOperationResponse, err error)
Delete ...
func (PatchSchedulesClient) Get ¶
func (c PatchSchedulesClient) Get(ctx context.Context, id RediId) (result GetOperationResponse, err error)
Get ...
func (PatchSchedulesClient) ListByRedisResource ¶
func (c PatchSchedulesClient) ListByRedisResource(ctx context.Context, id RediId) (result ListByRedisResourceOperationResponse, err error)
ListByRedisResource ...
func (PatchSchedulesClient) ListByRedisResourceComplete ¶
func (c PatchSchedulesClient) ListByRedisResourceComplete(ctx context.Context, id RediId) (ListByRedisResourceCompleteResult, error)
ListByRedisResourceComplete retrieves all the results into a single object
func (PatchSchedulesClient) ListByRedisResourceCompleteMatchingPredicate ¶
func (c PatchSchedulesClient) ListByRedisResourceCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisPatchScheduleOperationPredicate) (result ListByRedisResourceCompleteResult, err error)
ListByRedisResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
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) Segments ¶
func (id RediId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Redi ID
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 ScheduleEntries ¶
type ScheduleEntries struct {
ScheduleEntries []ScheduleEntry `json:"scheduleEntries"`
}
type ScheduleEntry ¶
Click to show internal directories.
Click to hide internal directories.