Documentation ¶
Index ¶
- func PossibleValuesForType() []string
- func PossibleValuesForWeekDay() []string
- func ValidateMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AbsoluteMonthlySchedule
- type CreateOrUpdateOperationResponse
- type DailySchedule
- type DateSpan
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByManagedClusterCompleteResult
- type ListByManagedClusterOperationResponse
- type MaintenanceConfiguration
- type MaintenanceConfigurationId
- func NewMaintenanceConfigurationID(subscriptionId string, resourceGroupName string, managedClusterName string, ...) MaintenanceConfigurationId
- func ParseMaintenanceConfigurationID(input string) (*MaintenanceConfigurationId, error)
- func ParseMaintenanceConfigurationIDInsensitively(input string) (*MaintenanceConfigurationId, error)
- type MaintenanceConfigurationOperationPredicate
- type MaintenanceConfigurationProperties
- type MaintenanceConfigurationsClient
- func (c MaintenanceConfigurationsClient) CreateOrUpdate(ctx context.Context, id MaintenanceConfigurationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) Delete(ctx context.Context, id MaintenanceConfigurationId) (result DeleteOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) Get(ctx context.Context, id MaintenanceConfigurationId) (result GetOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) ListByManagedCluster(ctx context.Context, id commonids.KubernetesClusterId) (result ListByManagedClusterOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) ListByManagedClusterComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListByManagedClusterCompleteResult, error)
- func (c MaintenanceConfigurationsClient) ListByManagedClusterCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, ...) (result ListByManagedClusterCompleteResult, err error)
- type MaintenanceWindow
- type RelativeMonthlySchedule
- type Schedule
- type TimeInWeek
- type TimeSpan
- type Type
- type WeekDay
- type WeeklySchedule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func PossibleValuesForWeekDay ¶
func PossibleValuesForWeekDay() []string
func ValidateMaintenanceConfigurationID ¶
func ValidateMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateMaintenanceConfigurationID checks that 'input' can be parsed as a Maintenance Configuration ID
Types ¶
type AbsoluteMonthlySchedule ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MaintenanceConfiguration }
type DailySchedule ¶
type DailySchedule struct {
IntervalDays int64 `json:"intervalDays"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MaintenanceConfiguration }
type ListByManagedClusterCompleteResult ¶
type ListByManagedClusterCompleteResult struct { LatestHttpResponse *http.Response Items []MaintenanceConfiguration }
type ListByManagedClusterOperationResponse ¶
type ListByManagedClusterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MaintenanceConfiguration }
type MaintenanceConfiguration ¶
type MaintenanceConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MaintenanceConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MaintenanceConfigurationId ¶
type MaintenanceConfigurationId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string MaintenanceConfigurationName string }
MaintenanceConfigurationId is a struct representing the Resource ID for a Maintenance Configuration
func NewMaintenanceConfigurationID ¶
func NewMaintenanceConfigurationID(subscriptionId string, resourceGroupName string, managedClusterName string, maintenanceConfigurationName string) MaintenanceConfigurationId
NewMaintenanceConfigurationID returns a new MaintenanceConfigurationId struct
func ParseMaintenanceConfigurationID ¶
func ParseMaintenanceConfigurationID(input string) (*MaintenanceConfigurationId, error)
ParseMaintenanceConfigurationID parses 'input' into a MaintenanceConfigurationId
func ParseMaintenanceConfigurationIDInsensitively ¶
func ParseMaintenanceConfigurationIDInsensitively(input string) (*MaintenanceConfigurationId, error)
ParseMaintenanceConfigurationIDInsensitively parses 'input' case-insensitively into a MaintenanceConfigurationId note: this method should only be used for API response data and not user input
func (*MaintenanceConfigurationId) FromParseResult ¶
func (id *MaintenanceConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (MaintenanceConfigurationId) ID ¶
func (id MaintenanceConfigurationId) ID() string
ID returns the formatted Maintenance Configuration ID
func (MaintenanceConfigurationId) Segments ¶
func (id MaintenanceConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Maintenance Configuration ID
func (MaintenanceConfigurationId) String ¶
func (id MaintenanceConfigurationId) String() string
String returns a human-readable description of this Maintenance Configuration ID
type MaintenanceConfigurationOperationPredicate ¶
func (MaintenanceConfigurationOperationPredicate) Matches ¶
func (p MaintenanceConfigurationOperationPredicate) Matches(input MaintenanceConfiguration) bool
type MaintenanceConfigurationProperties ¶
type MaintenanceConfigurationProperties struct { MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` NotAllowedTime *[]TimeSpan `json:"notAllowedTime,omitempty"` TimeInWeek *[]TimeInWeek `json:"timeInWeek,omitempty"` }
type MaintenanceConfigurationsClient ¶
type MaintenanceConfigurationsClient struct {
Client *resourcemanager.Client
}
func NewMaintenanceConfigurationsClientWithBaseURI ¶
func NewMaintenanceConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*MaintenanceConfigurationsClient, error)
func (MaintenanceConfigurationsClient) CreateOrUpdate ¶
func (c MaintenanceConfigurationsClient) CreateOrUpdate(ctx context.Context, id MaintenanceConfigurationId, input MaintenanceConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MaintenanceConfigurationsClient) Delete ¶
func (c MaintenanceConfigurationsClient) Delete(ctx context.Context, id MaintenanceConfigurationId) (result DeleteOperationResponse, err error)
Delete ...
func (MaintenanceConfigurationsClient) Get ¶
func (c MaintenanceConfigurationsClient) Get(ctx context.Context, id MaintenanceConfigurationId) (result GetOperationResponse, err error)
Get ...
func (MaintenanceConfigurationsClient) ListByManagedCluster ¶
func (c MaintenanceConfigurationsClient) ListByManagedCluster(ctx context.Context, id commonids.KubernetesClusterId) (result ListByManagedClusterOperationResponse, err error)
ListByManagedCluster ...
func (MaintenanceConfigurationsClient) ListByManagedClusterComplete ¶
func (c MaintenanceConfigurationsClient) ListByManagedClusterComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListByManagedClusterCompleteResult, error)
ListByManagedClusterComplete retrieves all the results into a single object
func (MaintenanceConfigurationsClient) ListByManagedClusterCompleteMatchingPredicate ¶
func (c MaintenanceConfigurationsClient) ListByManagedClusterCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, predicate MaintenanceConfigurationOperationPredicate) (result ListByManagedClusterCompleteResult, err error)
ListByManagedClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate
type MaintenanceWindow ¶
type MaintenanceWindow struct { DurationHours int64 `json:"durationHours"` NotAllowedDates *[]DateSpan `json:"notAllowedDates,omitempty"` Schedule Schedule `json:"schedule"` StartDate *string `json:"startDate,omitempty"` StartTime string `json:"startTime"` UtcOffset *string `json:"utcOffset,omitempty"` }
type RelativeMonthlySchedule ¶
type Schedule ¶
type Schedule struct { AbsoluteMonthly *AbsoluteMonthlySchedule `json:"absoluteMonthly,omitempty"` Daily *DailySchedule `json:"daily,omitempty"` RelativeMonthly *RelativeMonthlySchedule `json:"relativeMonthly,omitempty"` Weekly *WeeklySchedule `json:"weekly,omitempty"` }
type TimeInWeek ¶
type WeeklySchedule ¶
Source Files ¶
- client.go
- constants.go
- id_maintenanceconfiguration.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbymanagedcluster.go
- model_absolutemonthlyschedule.go
- model_dailyschedule.go
- model_datespan.go
- model_maintenanceconfiguration.go
- model_maintenanceconfigurationproperties.go
- model_maintenancewindow.go
- model_relativemonthlyschedule.go
- model_schedule.go
- model_timeinweek.go
- model_timespan.go
- model_weeklyschedule.go
- predicates.go
- version.go