Documentation ¶
Index ¶
- func PossibleValuesForWeekDay() []string
- func ValidateMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- 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) (resp 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, ...) (resp ListByManagedClusterCompleteResult, err error)
- type TimeInWeek
- type TimeSpan
- type WeekDay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *MaintenanceConfiguration }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *MaintenanceConfiguration }
type ListByManagedClusterCompleteResult ¶
type ListByManagedClusterCompleteResult struct {
Items []MaintenanceConfiguration
}
type ListByManagedClusterOperationResponse ¶
type ListByManagedClusterOperationResponse struct { HttpResponse *http.Response Model *[]MaintenanceConfiguration // contains filtered or unexported fields }
func (ListByManagedClusterOperationResponse) HasMore ¶
func (r ListByManagedClusterOperationResponse) HasMore() bool
func (ListByManagedClusterOperationResponse) LoadMore ¶
func (r ListByManagedClusterOperationResponse) LoadMore(ctx context.Context) (resp ListByManagedClusterOperationResponse, err error)
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 { NotAllowedTime *[]TimeSpan `json:"notAllowedTime,omitempty"` TimeInWeek *[]TimeInWeek `json:"timeInWeek,omitempty"` }
type MaintenanceConfigurationsClient ¶
type MaintenanceConfigurationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewMaintenanceConfigurationsClientWithBaseURI ¶
func NewMaintenanceConfigurationsClientWithBaseURI(endpoint string) MaintenanceConfigurationsClient
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) (resp ListByManagedClusterOperationResponse, err error)
ListByManagedCluster ...
func (MaintenanceConfigurationsClient) ListByManagedClusterComplete ¶
func (c MaintenanceConfigurationsClient) ListByManagedClusterComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListByManagedClusterCompleteResult, error)
ListByManagedClusterComplete retrieves all of the results into a single object
func (MaintenanceConfigurationsClient) ListByManagedClusterCompleteMatchingPredicate ¶
func (c MaintenanceConfigurationsClient) ListByManagedClusterCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, predicate MaintenanceConfigurationOperationPredicate) (resp ListByManagedClusterCompleteResult, err error)
ListByManagedClusterCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type TimeInWeek ¶
Source Files ¶
- client.go
- constants.go
- id_maintenanceconfiguration.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbymanagedcluster_autorest.go
- model_maintenanceconfiguration.go
- model_maintenanceconfigurationproperties.go
- model_timeinweek.go
- model_timespan.go
- predicates.go
- version.go