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) (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 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 OData *odata.OData Model *MaintenanceConfiguration }
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 { 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