maintenance

package
v67.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/maintenance/armmaintenance(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/maintenance/armmaintenance). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package maintenance implements the Azure ARM Maintenance service API version 2021-05-01.

Azure Maintenance Management Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Maintenance
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type ApplyUpdate

type ApplyUpdate struct {
	autorest.Response `json:"-"`
	// ApplyUpdateProperties - Properties of the apply update
	*ApplyUpdateProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

ApplyUpdate apply Update request

func (ApplyUpdate) MarshalJSON

func (au ApplyUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplyUpdate.

func (*ApplyUpdate) UnmarshalJSON

func (au *ApplyUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplyUpdate struct.

type ApplyUpdateForResourceGroupClient

type ApplyUpdateForResourceGroupClient struct {
	BaseClient
}

ApplyUpdateForResourceGroupClient is the azure Maintenance Management Client

func NewApplyUpdateForResourceGroupClient

func NewApplyUpdateForResourceGroupClient(subscriptionID string) ApplyUpdateForResourceGroupClient

NewApplyUpdateForResourceGroupClient creates an instance of the ApplyUpdateForResourceGroupClient client.

func NewApplyUpdateForResourceGroupClientWithBaseURI

func NewApplyUpdateForResourceGroupClientWithBaseURI(baseURI string, subscriptionID string) ApplyUpdateForResourceGroupClient

NewApplyUpdateForResourceGroupClientWithBaseURI creates an instance of the ApplyUpdateForResourceGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplyUpdateForResourceGroupClient) List

func (client ApplyUpdateForResourceGroupClient) List(ctx context.Context, resourceGroupName string) (result ListApplyUpdate, err error)

List sends the list request. Parameters: resourceGroupName - resource Group Name

func (ApplyUpdateForResourceGroupClient) ListPreparer

func (client ApplyUpdateForResourceGroupClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplyUpdateForResourceGroupClient) ListResponder

func (client ApplyUpdateForResourceGroupClient) ListResponder(resp *http.Response) (result ListApplyUpdate, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplyUpdateForResourceGroupClient) ListSender

func (client ApplyUpdateForResourceGroupClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ApplyUpdateProperties

type ApplyUpdateProperties struct {
	// Status - The status. Possible values include: 'UpdateStatusPending', 'UpdateStatusInProgress', 'UpdateStatusCompleted', 'UpdateStatusRetryNow', 'UpdateStatusRetryLater'
	Status UpdateStatus `json:"status,omitempty"`
	// ResourceID - The resourceId
	ResourceID *string `json:"resourceId,omitempty"`
	// LastUpdateTime - Last Update time
	LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"`
}

ApplyUpdateProperties properties for apply update

type ApplyUpdatesClient

type ApplyUpdatesClient struct {
	BaseClient
}

ApplyUpdatesClient is the azure Maintenance Management Client

func NewApplyUpdatesClient

func NewApplyUpdatesClient(subscriptionID string) ApplyUpdatesClient

NewApplyUpdatesClient creates an instance of the ApplyUpdatesClient client.

func NewApplyUpdatesClientWithBaseURI

func NewApplyUpdatesClientWithBaseURI(baseURI string, subscriptionID string) ApplyUpdatesClient

NewApplyUpdatesClientWithBaseURI creates an instance of the ApplyUpdatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplyUpdatesClient) CreateOrUpdate

func (client ApplyUpdatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (result ApplyUpdate, err error)

CreateOrUpdate apply maintenance updates to resource Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier

func (ApplyUpdatesClient) CreateOrUpdateParent

func (client ApplyUpdatesClient) CreateOrUpdateParent(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (result ApplyUpdate, err error)

CreateOrUpdateParent apply maintenance updates to resource with parent Parameters: resourceGroupName - resource group name providerName - resource provider name resourceParentType - resource parent type resourceParentName - resource parent identifier resourceType - resource type resourceName - resource identifier

func (ApplyUpdatesClient) CreateOrUpdateParentPreparer

func (client ApplyUpdatesClient) CreateOrUpdateParentPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (*http.Request, error)

CreateOrUpdateParentPreparer prepares the CreateOrUpdateParent request.

func (ApplyUpdatesClient) CreateOrUpdateParentResponder

func (client ApplyUpdatesClient) CreateOrUpdateParentResponder(resp *http.Response) (result ApplyUpdate, err error)

CreateOrUpdateParentResponder handles the response to the CreateOrUpdateParent request. The method always closes the http.Response Body.

func (ApplyUpdatesClient) CreateOrUpdateParentSender

func (client ApplyUpdatesClient) CreateOrUpdateParentSender(req *http.Request) (*http.Response, error)

CreateOrUpdateParentSender sends the CreateOrUpdateParent request. The method will close the http.Response Body if it receives an error.

func (ApplyUpdatesClient) CreateOrUpdatePreparer

func (client ApplyUpdatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplyUpdatesClient) CreateOrUpdateResponder

func (client ApplyUpdatesClient) CreateOrUpdateResponder(resp *http.Response) (result ApplyUpdate, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplyUpdatesClient) CreateOrUpdateSender

func (client ApplyUpdatesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplyUpdatesClient) Get

func (client ApplyUpdatesClient) Get(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, applyUpdateName string) (result ApplyUpdate, err error)

Get track maintenance updates to resource Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier applyUpdateName - applyUpdate Id

func (ApplyUpdatesClient) GetParent

func (client ApplyUpdatesClient) GetParent(ctx context.Context, resourceGroupName string, resourceParentType string, resourceParentName string, providerName string, resourceType string, resourceName string, applyUpdateName string) (result ApplyUpdate, err error)

GetParent track maintenance updates to resource with parent Parameters: resourceGroupName - resource group name resourceParentType - resource parent type resourceParentName - resource parent identifier providerName - resource provider name resourceType - resource type resourceName - resource identifier applyUpdateName - applyUpdate Id

func (ApplyUpdatesClient) GetParentPreparer

func (client ApplyUpdatesClient) GetParentPreparer(ctx context.Context, resourceGroupName string, resourceParentType string, resourceParentName string, providerName string, resourceType string, resourceName string, applyUpdateName string) (*http.Request, error)

GetParentPreparer prepares the GetParent request.

func (ApplyUpdatesClient) GetParentResponder

func (client ApplyUpdatesClient) GetParentResponder(resp *http.Response) (result ApplyUpdate, err error)

GetParentResponder handles the response to the GetParent request. The method always closes the http.Response Body.

func (ApplyUpdatesClient) GetParentSender

func (client ApplyUpdatesClient) GetParentSender(req *http.Request) (*http.Response, error)

GetParentSender sends the GetParent request. The method will close the http.Response Body if it receives an error.

func (ApplyUpdatesClient) GetPreparer

func (client ApplyUpdatesClient) GetPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, applyUpdateName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplyUpdatesClient) GetResponder

func (client ApplyUpdatesClient) GetResponder(resp *http.Response) (result ApplyUpdate, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplyUpdatesClient) GetSender

func (client ApplyUpdatesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplyUpdatesClient) List

func (client ApplyUpdatesClient) List(ctx context.Context) (result ListApplyUpdate, err error)

List sends the list request.

func (ApplyUpdatesClient) ListPreparer

func (client ApplyUpdatesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplyUpdatesClient) ListResponder

func (client ApplyUpdatesClient) ListResponder(resp *http.Response) (result ListApplyUpdate, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplyUpdatesClient) ListSender

func (client ApplyUpdatesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Maintenance.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type Configuration

type Configuration struct {
	autorest.Response `json:"-"`
	// Location - Gets or sets location of the resource
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets tags of the resource
	Tags map[string]*string `json:"tags"`
	// ConfigurationProperties - Gets or sets properties of the resource
	*ConfigurationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Configuration maintenance configuration record type

func (Configuration) MarshalJSON

func (c Configuration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Configuration.

func (*Configuration) UnmarshalJSON

func (c *Configuration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Configuration struct.

type ConfigurationAssignment

type ConfigurationAssignment struct {
	autorest.Response `json:"-"`
	// Location - Location of the resource
	Location *string `json:"location,omitempty"`
	// ConfigurationAssignmentProperties - Properties of the configuration assignment
	*ConfigurationAssignmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

ConfigurationAssignment configuration Assignment

func (ConfigurationAssignment) MarshalJSON

func (ca ConfigurationAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationAssignment.

func (*ConfigurationAssignment) UnmarshalJSON

func (ca *ConfigurationAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfigurationAssignment struct.

type ConfigurationAssignmentProperties

type ConfigurationAssignmentProperties struct {
	// MaintenanceConfigurationID - The maintenance configuration Id
	MaintenanceConfigurationID *string `json:"maintenanceConfigurationId,omitempty"`
	// ResourceID - The unique resourceId
	ResourceID *string `json:"resourceId,omitempty"`
}

ConfigurationAssignmentProperties properties for configuration assignment

type ConfigurationAssignmentsClient

type ConfigurationAssignmentsClient struct {
	BaseClient
}

ConfigurationAssignmentsClient is the azure Maintenance Management Client

func NewConfigurationAssignmentsClient

func NewConfigurationAssignmentsClient(subscriptionID string) ConfigurationAssignmentsClient

NewConfigurationAssignmentsClient creates an instance of the ConfigurationAssignmentsClient client.

func NewConfigurationAssignmentsClientWithBaseURI

func NewConfigurationAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationAssignmentsClient

NewConfigurationAssignmentsClientWithBaseURI creates an instance of the ConfigurationAssignmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationAssignmentsClient) CreateOrUpdate

func (client ConfigurationAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, configurationAssignmentName string, configurationAssignment ConfigurationAssignment) (result ConfigurationAssignment, err error)

CreateOrUpdate register configuration for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier configurationAssignmentName - configuration assignment name configurationAssignment - the configurationAssignment

func (ConfigurationAssignmentsClient) CreateOrUpdateParent

func (client ConfigurationAssignmentsClient) CreateOrUpdateParent(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string, configurationAssignmentName string, configurationAssignment ConfigurationAssignment) (result ConfigurationAssignment, err error)

CreateOrUpdateParent register configuration for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceParentType - resource parent type resourceParentName - resource parent identifier resourceType - resource type resourceName - resource identifier configurationAssignmentName - configuration assignment name configurationAssignment - the configurationAssignment

func (ConfigurationAssignmentsClient) CreateOrUpdateParentPreparer

func (client ConfigurationAssignmentsClient) CreateOrUpdateParentPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string, configurationAssignmentName string, configurationAssignment ConfigurationAssignment) (*http.Request, error)

CreateOrUpdateParentPreparer prepares the CreateOrUpdateParent request.

func (ConfigurationAssignmentsClient) CreateOrUpdateParentResponder

func (client ConfigurationAssignmentsClient) CreateOrUpdateParentResponder(resp *http.Response) (result ConfigurationAssignment, err error)

CreateOrUpdateParentResponder handles the response to the CreateOrUpdateParent request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) CreateOrUpdateParentSender

func (client ConfigurationAssignmentsClient) CreateOrUpdateParentSender(req *http.Request) (*http.Response, error)

CreateOrUpdateParentSender sends the CreateOrUpdateParent request. The method will close the http.Response Body if it receives an error.

func (ConfigurationAssignmentsClient) CreateOrUpdatePreparer

func (client ConfigurationAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, configurationAssignmentName string, configurationAssignment ConfigurationAssignment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationAssignmentsClient) CreateOrUpdateResponder

func (client ConfigurationAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationAssignment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) CreateOrUpdateSender

func (client ConfigurationAssignmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConfigurationAssignmentsClient) Delete

func (client ConfigurationAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, configurationAssignmentName string) (result ConfigurationAssignment, err error)

Delete unregister configuration for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier configurationAssignmentName - unique configuration assignment name

func (ConfigurationAssignmentsClient) DeleteParent

func (client ConfigurationAssignmentsClient) DeleteParent(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string, configurationAssignmentName string) (result ConfigurationAssignment, err error)

DeleteParent unregister configuration for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceParentType - resource parent type resourceParentName - resource parent identifier resourceType - resource type resourceName - resource identifier configurationAssignmentName - unique configuration assignment name

func (ConfigurationAssignmentsClient) DeleteParentPreparer

func (client ConfigurationAssignmentsClient) DeleteParentPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string, configurationAssignmentName string) (*http.Request, error)

DeleteParentPreparer prepares the DeleteParent request.

func (ConfigurationAssignmentsClient) DeleteParentResponder

func (client ConfigurationAssignmentsClient) DeleteParentResponder(resp *http.Response) (result ConfigurationAssignment, err error)

DeleteParentResponder handles the response to the DeleteParent request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) DeleteParentSender

func (client ConfigurationAssignmentsClient) DeleteParentSender(req *http.Request) (*http.Response, error)

DeleteParentSender sends the DeleteParent request. The method will close the http.Response Body if it receives an error.

func (ConfigurationAssignmentsClient) DeletePreparer

func (client ConfigurationAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string, configurationAssignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConfigurationAssignmentsClient) DeleteResponder

func (client ConfigurationAssignmentsClient) DeleteResponder(resp *http.Response) (result ConfigurationAssignment, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) DeleteSender

func (client ConfigurationAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConfigurationAssignmentsClient) List

func (client ConfigurationAssignmentsClient) List(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (result ListConfigurationAssignmentsResult, err error)

List list configurationAssignments for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier

func (ConfigurationAssignmentsClient) ListParent

func (client ConfigurationAssignmentsClient) ListParent(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (result ListConfigurationAssignmentsResult, err error)

ListParent list configurationAssignments for resource. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceParentType - resource parent type resourceParentName - resource parent identifier resourceType - resource type resourceName - resource identifier

func (ConfigurationAssignmentsClient) ListParentPreparer

func (client ConfigurationAssignmentsClient) ListParentPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (*http.Request, error)

ListParentPreparer prepares the ListParent request.

func (ConfigurationAssignmentsClient) ListParentResponder

func (client ConfigurationAssignmentsClient) ListParentResponder(resp *http.Response) (result ListConfigurationAssignmentsResult, err error)

ListParentResponder handles the response to the ListParent request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) ListParentSender

func (client ConfigurationAssignmentsClient) ListParentSender(req *http.Request) (*http.Response, error)

ListParentSender sends the ListParent request. The method will close the http.Response Body if it receives an error.

func (ConfigurationAssignmentsClient) ListPreparer

func (client ConfigurationAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationAssignmentsClient) ListResponder

func (client ConfigurationAssignmentsClient) ListResponder(resp *http.Response) (result ListConfigurationAssignmentsResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConfigurationAssignmentsClient) ListSender

func (client ConfigurationAssignmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ConfigurationProperties

type ConfigurationProperties struct {
	// Namespace - Gets or sets namespace of the resource
	Namespace *string `json:"namespace,omitempty"`
	// ExtensionProperties - Gets or sets extensionProperties of the maintenanceConfiguration
	ExtensionProperties map[string]*string `json:"extensionProperties"`
	// MaintenanceScope - Gets or sets maintenanceScope of the configuration. Possible values include: 'ScopeHost', 'ScopeOSImage', 'ScopeExtension', 'ScopeInGuestPatch', 'ScopeSQLDB', 'ScopeSQLManagedInstance'
	MaintenanceScope Scope `json:"maintenanceScope,omitempty"`
	// Window - Definition of a MaintenanceWindow
	*Window `json:"maintenanceWindow,omitempty"`
	// Visibility - Gets or sets the visibility of the configuration. The default value is 'Custom'. Possible values include: 'VisibilityCustom', 'VisibilityPublic'
	Visibility Visibility `json:"visibility,omitempty"`
}

ConfigurationProperties properties for maintenance configuration

func (ConfigurationProperties) MarshalJSON

func (cp ConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationProperties.

func (*ConfigurationProperties) UnmarshalJSON

func (cp *ConfigurationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfigurationProperties struct.

type ConfigurationsClient

type ConfigurationsClient struct {
	BaseClient
}

ConfigurationsClient is the azure Maintenance Management Client

func NewConfigurationsClient

func NewConfigurationsClient(subscriptionID string) ConfigurationsClient

NewConfigurationsClient creates an instance of the ConfigurationsClient client.

func NewConfigurationsClientWithBaseURI

func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient

NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationsClient) CreateOrUpdate

func (client ConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, configuration Configuration) (result Configuration, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - resource Group Name resourceName - maintenance Configuration Name configuration - the configuration

func (ConfigurationsClient) CreateOrUpdatePreparer

func (client ConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, configuration Configuration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationsClient) CreateOrUpdateResponder

func (client ConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result Configuration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationsClient) CreateOrUpdateSender

func (client ConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) Delete

func (client ConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result Configuration, err error)

Delete sends the delete request. Parameters: resourceGroupName - resource Group Name resourceName - maintenance Configuration Name

func (ConfigurationsClient) DeletePreparer

func (client ConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConfigurationsClient) DeleteResponder

func (client ConfigurationsClient) DeleteResponder(resp *http.Response) (result Configuration, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConfigurationsClient) DeleteSender

func (client ConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) Get

func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Configuration, err error)

Get sends the get request. Parameters: resourceGroupName - resource Group Name resourceName - maintenance Configuration Name

func (ConfigurationsClient) GetPreparer

func (client ConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationsClient) GetResponder

func (client ConfigurationsClient) GetResponder(resp *http.Response) (result Configuration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConfigurationsClient) GetSender

func (client ConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) List

List sends the list request.

func (ConfigurationsClient) ListPreparer

func (client ConfigurationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationsClient) ListResponder

func (client ConfigurationsClient) ListResponder(resp *http.Response) (result ListMaintenanceConfigurationsResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConfigurationsClient) ListSender

func (client ConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ConfigurationsClient) UpdateMethod

func (client ConfigurationsClient) UpdateMethod(ctx context.Context, resourceGroupName string, resourceName string, configuration Configuration) (result Configuration, err error)

UpdateMethod sends the update method request. Parameters: resourceGroupName - resource Group Name resourceName - maintenance Configuration Name configuration - the configuration

func (ConfigurationsClient) UpdateMethodPreparer

func (client ConfigurationsClient) UpdateMethodPreparer(ctx context.Context, resourceGroupName string, resourceName string, configuration Configuration) (*http.Request, error)

UpdateMethodPreparer prepares the UpdateMethod request.

func (ConfigurationsClient) UpdateMethodResponder

func (client ConfigurationsClient) UpdateMethodResponder(resp *http.Response) (result Configuration, err error)

UpdateMethodResponder handles the response to the UpdateMethod request. The method always closes the http.Response Body.

func (ConfigurationsClient) UpdateMethodSender

func (client ConfigurationsClient) UpdateMethodSender(req *http.Request) (*http.Response, error)

UpdateMethodSender sends the UpdateMethod request. The method will close the http.Response Body if it receives an error.

type ConfigurationsForResourceGroupClient

type ConfigurationsForResourceGroupClient struct {
	BaseClient
}

ConfigurationsForResourceGroupClient is the azure Maintenance Management Client

func NewConfigurationsForResourceGroupClient

func NewConfigurationsForResourceGroupClient(subscriptionID string) ConfigurationsForResourceGroupClient

NewConfigurationsForResourceGroupClient creates an instance of the ConfigurationsForResourceGroupClient client.

func NewConfigurationsForResourceGroupClientWithBaseURI

func NewConfigurationsForResourceGroupClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsForResourceGroupClient

NewConfigurationsForResourceGroupClientWithBaseURI creates an instance of the ConfigurationsForResourceGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationsForResourceGroupClient) List

func (client ConfigurationsForResourceGroupClient) List(ctx context.Context, resourceGroupName string) (result ListMaintenanceConfigurationsResult, err error)

List sends the list request. Parameters: resourceGroupName - resource Group Name

func (ConfigurationsForResourceGroupClient) ListPreparer

func (client ConfigurationsForResourceGroupClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationsForResourceGroupClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConfigurationsForResourceGroupClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type Error

type Error struct {
	// Error - Details of the error
	Error *ErrorDetails `json:"error,omitempty"`
}

Error an error response received from the Azure Maintenance service.

type ErrorDetails

type ErrorDetails struct {
	// Code - Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
	Code *string `json:"code,omitempty"`
	// Message - Human-readable representation of the error.
	Message *string `json:"message,omitempty"`
}

ErrorDetails an error response details received from the Azure Maintenance service.

type ImpactType

type ImpactType string

ImpactType enumerates the values for impact type.

const (
	// ImpactTypeFreeze Pending updates can freeze network or disk io operation on resource.
	ImpactTypeFreeze ImpactType = "Freeze"
	// ImpactTypeNone Pending updates has no impact on resource.
	ImpactTypeNone ImpactType = "None"
	// ImpactTypeRedeploy Pending updates can redeploy resource.
	ImpactTypeRedeploy ImpactType = "Redeploy"
	// ImpactTypeRestart Pending updates can cause resource to restart.
	ImpactTypeRestart ImpactType = "Restart"
)

func PossibleImpactTypeValues

func PossibleImpactTypeValues() []ImpactType

PossibleImpactTypeValues returns an array of possible values for the ImpactType const type.

type ListApplyUpdate

type ListApplyUpdate struct {
	autorest.Response `json:"-"`
	// Value - The list of apply updates
	Value *[]ApplyUpdate `json:"value,omitempty"`
}

ListApplyUpdate response for ApplyUpdate list

type ListConfigurationAssignmentsResult

type ListConfigurationAssignmentsResult struct {
	autorest.Response `json:"-"`
	// Value - The list of configuration Assignments
	Value *[]ConfigurationAssignment `json:"value,omitempty"`
}

ListConfigurationAssignmentsResult response for ConfigurationAssignments list

type ListMaintenanceConfigurationsResult

type ListMaintenanceConfigurationsResult struct {
	autorest.Response `json:"-"`
	// Value - The list of maintenance Configurations
	Value *[]Configuration `json:"value,omitempty"`
}

ListMaintenanceConfigurationsResult response for MaintenanceConfigurations list

type ListUpdatesResult

type ListUpdatesResult struct {
	autorest.Response `json:"-"`
	// Value - The pending updates
	Value *[]Update `json:"value,omitempty"`
}

ListUpdatesResult response for Updates list

type Operation

type Operation struct {
	// Name - Name of the operation
	Name *string `json:"name,omitempty"`
	// Display - Display name of the operation
	Display *OperationInfo `json:"display,omitempty"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties interface{} `json:"properties,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`
}

Operation represents an operation returned by the GetOperations request

type OperationInfo

type OperationInfo struct {
	// Provider - Name of the provider
	Provider *string `json:"provider,omitempty"`
	// Resource - Name of the resource type
	Resource *string `json:"resource,omitempty"`
	// Operation - Name of the operation
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation
	Description *string `json:"description,omitempty"`
}

OperationInfo information about an operation

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Maintenance Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationsListResult, err error)

List list the available operations supported by the Microsoft.Maintenance resource provider

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperationsListResult

type OperationsListResult struct {
	autorest.Response `json:"-"`
	// Value - A collection of operations
	Value *[]Operation `json:"value,omitempty"`
}

OperationsListResult result of the List Operations operation

type PublicMaintenanceConfigurationsClient

type PublicMaintenanceConfigurationsClient struct {
	BaseClient
}

PublicMaintenanceConfigurationsClient is the azure Maintenance Management Client

func NewPublicMaintenanceConfigurationsClient

func NewPublicMaintenanceConfigurationsClient(subscriptionID string) PublicMaintenanceConfigurationsClient

NewPublicMaintenanceConfigurationsClient creates an instance of the PublicMaintenanceConfigurationsClient client.

func NewPublicMaintenanceConfigurationsClientWithBaseURI

func NewPublicMaintenanceConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) PublicMaintenanceConfigurationsClient

NewPublicMaintenanceConfigurationsClientWithBaseURI creates an instance of the PublicMaintenanceConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PublicMaintenanceConfigurationsClient) Get

func (client PublicMaintenanceConfigurationsClient) Get(ctx context.Context, resourceName string) (result Configuration, err error)

Get sends the get request. Parameters: resourceName - maintenance Configuration Name

func (PublicMaintenanceConfigurationsClient) GetPreparer

func (client PublicMaintenanceConfigurationsClient) GetPreparer(ctx context.Context, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicMaintenanceConfigurationsClient) GetResponder

func (client PublicMaintenanceConfigurationsClient) GetResponder(resp *http.Response) (result Configuration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PublicMaintenanceConfigurationsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PublicMaintenanceConfigurationsClient) List

List sends the list request.

func (PublicMaintenanceConfigurationsClient) ListPreparer

ListPreparer prepares the List request.

func (PublicMaintenanceConfigurationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PublicMaintenanceConfigurationsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified identifier of the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the resource
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Resource definition of a Resource

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type Scope

type Scope string

Scope enumerates the values for scope.

const (
	// ScopeExtension This maintenance scope controls extension installation on VM/VMSS
	ScopeExtension Scope = "Extension"
	// ScopeHost This maintenance scope controls installation of azure platform updates i.e. services on
	// physical nodes hosting customer VMs.
	ScopeHost Scope = "Host"
	// ScopeInGuestPatch This maintenance scope controls installation of windows and linux packages on VM/VMSS
	ScopeInGuestPatch Scope = "InGuestPatch"
	// ScopeOSImage This maintenance scope controls os image installation on VM/VMSS
	ScopeOSImage Scope = "OSImage"
	// ScopeSQLDB This maintenance scope controls installation of SQL server platform updates.
	ScopeSQLDB Scope = "SQLDB"
	// ScopeSQLManagedInstance This maintenance scope controls installation of SQL managed instance platform
	// update.
	ScopeSQLManagedInstance Scope = "SQLManagedInstance"
)

func PossibleScopeValues

func PossibleScopeValues() []Scope

PossibleScopeValues returns an array of possible values for the Scope const type.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type Update

type Update struct {
	// MaintenanceScope - The impact area. Possible values include: 'ScopeHost', 'ScopeOSImage', 'ScopeExtension', 'ScopeInGuestPatch', 'ScopeSQLDB', 'ScopeSQLManagedInstance'
	MaintenanceScope Scope `json:"maintenanceScope,omitempty"`
	// ImpactType - The impact type. Possible values include: 'ImpactTypeNone', 'ImpactTypeFreeze', 'ImpactTypeRestart', 'ImpactTypeRedeploy'
	ImpactType ImpactType `json:"impactType,omitempty"`
	// Status - The status. Possible values include: 'UpdateStatusPending', 'UpdateStatusInProgress', 'UpdateStatusCompleted', 'UpdateStatusRetryNow', 'UpdateStatusRetryLater'
	Status UpdateStatus `json:"status,omitempty"`
	// ImpactDurationInSec - Duration of impact in seconds
	ImpactDurationInSec *int32 `json:"impactDurationInSec,omitempty"`
	// NotBefore - Time when Azure will start force updates if not self-updated by customer before this time
	NotBefore *date.Time `json:"notBefore,omitempty"`
	// UpdateProperties - Properties of the apply update
	*UpdateProperties `json:"properties,omitempty"`
}

Update maintenance update on a resource

func (Update) MarshalJSON

func (u Update) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Update.

func (*Update) UnmarshalJSON

func (u *Update) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Update struct.

type UpdateProperties

type UpdateProperties struct {
	// ResourceID - The resourceId
	ResourceID *string `json:"resourceId,omitempty"`
}

UpdateProperties properties for update

type UpdateStatus

type UpdateStatus string

UpdateStatus enumerates the values for update status.

const (
	// UpdateStatusCompleted All updates are successfully applied.
	UpdateStatusCompleted UpdateStatus = "Completed"
	// UpdateStatusInProgress Updates installation are in progress.
	UpdateStatusInProgress UpdateStatus = "InProgress"
	// UpdateStatusPending There are pending updates to be installed.
	UpdateStatusPending UpdateStatus = "Pending"
	// UpdateStatusRetryLater Updates installation failed and should be retried later.
	UpdateStatusRetryLater UpdateStatus = "RetryLater"
	// UpdateStatusRetryNow Updates installation failed but are ready to retry again.
	UpdateStatusRetryNow UpdateStatus = "RetryNow"
)

func PossibleUpdateStatusValues

func PossibleUpdateStatusValues() []UpdateStatus

PossibleUpdateStatusValues returns an array of possible values for the UpdateStatus const type.

type UpdatesClient

type UpdatesClient struct {
	BaseClient
}

UpdatesClient is the azure Maintenance Management Client

func NewUpdatesClient

func NewUpdatesClient(subscriptionID string) UpdatesClient

NewUpdatesClient creates an instance of the UpdatesClient client.

func NewUpdatesClientWithBaseURI

func NewUpdatesClientWithBaseURI(baseURI string, subscriptionID string) UpdatesClient

NewUpdatesClientWithBaseURI creates an instance of the UpdatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UpdatesClient) List

func (client UpdatesClient) List(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (result ListUpdatesResult, err error)

List get updates to resources. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceType - resource type resourceName - resource identifier

func (UpdatesClient) ListParent

func (client UpdatesClient) ListParent(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (result ListUpdatesResult, err error)

ListParent get updates to resources. Parameters: resourceGroupName - resource group name providerName - resource provider name resourceParentType - resource parent type resourceParentName - resource parent identifier resourceType - resource type resourceName - resource identifier

func (UpdatesClient) ListParentPreparer

func (client UpdatesClient) ListParentPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) (*http.Request, error)

ListParentPreparer prepares the ListParent request.

func (UpdatesClient) ListParentResponder

func (client UpdatesClient) ListParentResponder(resp *http.Response) (result ListUpdatesResult, err error)

ListParentResponder handles the response to the ListParent request. The method always closes the http.Response Body.

func (UpdatesClient) ListParentSender

func (client UpdatesClient) ListParentSender(req *http.Request) (*http.Response, error)

ListParentSender sends the ListParent request. The method will close the http.Response Body if it receives an error.

func (UpdatesClient) ListPreparer

func (client UpdatesClient) ListPreparer(ctx context.Context, resourceGroupName string, providerName string, resourceType string, resourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (UpdatesClient) ListResponder

func (client UpdatesClient) ListResponder(resp *http.Response) (result ListUpdatesResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UpdatesClient) ListSender

func (client UpdatesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Visibility

type Visibility string

Visibility enumerates the values for visibility.

const (
	// VisibilityCustom Only visible to users with permissions.
	VisibilityCustom Visibility = "Custom"
	// VisibilityPublic Visible to all users.
	VisibilityPublic Visibility = "Public"
)

func PossibleVisibilityValues

func PossibleVisibilityValues() []Visibility

PossibleVisibilityValues returns an array of possible values for the Visibility const type.

type Window

type Window struct {
	// StartDateTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
	StartDateTime *string `json:"startDateTime,omitempty"`
	// ExpirationDateTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
	ExpirationDateTime *string `json:"expirationDateTime,omitempty"`
	// Duration - Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
	Duration *string `json:"duration,omitempty"`
	// TimeZone - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
	TimeZone *string `json:"timeZone,omitempty"`
	// RecurEvery - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days.  Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.
	RecurEvery *string `json:"recurEvery,omitempty"`
}

Window definition of a MaintenanceWindow

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL