Documentation ¶
Index ¶
- func PossibleValuesForMaintenanceScope() []string
- func PossibleValuesForRebootOptions() []string
- func PossibleValuesForVisibility() []string
- func ValidateMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ForResourceGroupListOperationResponse
- type GetOperationResponse
- type InputLinuxParameters
- type InputPatchConfiguration
- type InputWindowsParameters
- type ListMaintenanceConfigurationsResult
- type ListOperationResponse
- type MaintenanceConfiguration
- type MaintenanceConfigurationId
- func NewMaintenanceConfigurationID(subscriptionId string, resourceGroupName string, ...) MaintenanceConfigurationId
- func ParseMaintenanceConfigurationID(input string) (*MaintenanceConfigurationId, error)
- func ParseMaintenanceConfigurationIDInsensitively(input string) (*MaintenanceConfigurationId, error)
- 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) ForResourceGroupList(ctx context.Context, id commonids.ResourceGroupId) (result ForResourceGroupListOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) Get(ctx context.Context, id MaintenanceConfigurationId) (result GetOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c MaintenanceConfigurationsClient) Update(ctx context.Context, id MaintenanceConfigurationId, ...) (result UpdateOperationResponse, err error)
- type MaintenanceScope
- type MaintenanceWindow
- type RebootOptions
- type UpdateOperationResponse
- type Visibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMaintenanceScope ¶
func PossibleValuesForMaintenanceScope() []string
func PossibleValuesForRebootOptions ¶
func PossibleValuesForRebootOptions() []string
func PossibleValuesForVisibility ¶
func PossibleValuesForVisibility() []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 DeleteOperationResponse struct { HttpResponse *http.Response Model *MaintenanceConfiguration }
type ForResourceGroupListOperationResponse ¶
type ForResourceGroupListOperationResponse struct { HttpResponse *http.Response Model *ListMaintenanceConfigurationsResult }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *MaintenanceConfiguration }
type InputLinuxParameters ¶
type InputPatchConfiguration ¶
type InputPatchConfiguration struct { LinuxParameters *InputLinuxParameters `json:"linuxParameters,omitempty"` RebootSetting *RebootOptions `json:"rebootSetting,omitempty"` WindowsParameters *InputWindowsParameters `json:"windowsParameters,omitempty"` }
type InputWindowsParameters ¶
type InputWindowsParameters struct { ClassificationsToInclude *[]string `json:"classificationsToInclude,omitempty"` ExcludeKbsRequiringReboot *bool `json:"excludeKbsRequiringReboot,omitempty"` KbNumbersToExclude *[]string `json:"kbNumbersToExclude,omitempty"` KbNumbersToInclude *[]string `json:"kbNumbersToInclude,omitempty"` }
type ListMaintenanceConfigurationsResult ¶
type ListMaintenanceConfigurationsResult struct {
Value *[]MaintenanceConfiguration `json:"value,omitempty"`
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ListMaintenanceConfigurationsResult }
type MaintenanceConfiguration ¶
type MaintenanceConfiguration struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *MaintenanceConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MaintenanceConfigurationId ¶
type MaintenanceConfigurationId struct { SubscriptionId string ResourceGroupName string MaintenanceConfigurationName string }
MaintenanceConfigurationId is a struct representing the Resource ID for a Maintenance Configuration
func NewMaintenanceConfigurationID ¶
func NewMaintenanceConfigurationID(subscriptionId string, resourceGroupName 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 ¶ added in v0.20231127.1171502
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 MaintenanceConfigurationProperties ¶
type MaintenanceConfigurationProperties struct { ExtensionProperties *map[string]string `json:"extensionProperties,omitempty"` InstallPatches *InputPatchConfiguration `json:"installPatches,omitempty"` MaintenanceScope *MaintenanceScope `json:"maintenanceScope,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` Namespace *string `json:"namespace,omitempty"` Visibility *Visibility `json:"visibility,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) ForResourceGroupList ¶
func (c MaintenanceConfigurationsClient) ForResourceGroupList(ctx context.Context, id commonids.ResourceGroupId) (result ForResourceGroupListOperationResponse, err error)
ForResourceGroupList ...
func (MaintenanceConfigurationsClient) Get ¶
func (c MaintenanceConfigurationsClient) Get(ctx context.Context, id MaintenanceConfigurationId) (result GetOperationResponse, err error)
Get ...
func (MaintenanceConfigurationsClient) List ¶
func (c MaintenanceConfigurationsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (MaintenanceConfigurationsClient) Update ¶
func (c MaintenanceConfigurationsClient) Update(ctx context.Context, id MaintenanceConfigurationId, input MaintenanceConfiguration) (result UpdateOperationResponse, err error)
Update ...
type MaintenanceScope ¶
type MaintenanceScope string
const ( MaintenanceScopeExtension MaintenanceScope = "Extension" MaintenanceScopeHost MaintenanceScope = "Host" MaintenanceScopeInGuestPatch MaintenanceScope = "InGuestPatch" MaintenanceScopeOSImage MaintenanceScope = "OSImage" MaintenanceScopeResource MaintenanceScope = "Resource" MaintenanceScopeSQLDB MaintenanceScope = "SQLDB" MaintenanceScopeSQLManagedInstance MaintenanceScope = "SQLManagedInstance" )
type MaintenanceWindow ¶
type RebootOptions ¶
type RebootOptions string
const ( RebootOptionsAlways RebootOptions = "Always" RebootOptionsIfRequired RebootOptions = "IfRequired" RebootOptionsNever RebootOptions = "Never" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *MaintenanceConfiguration }
type Visibility ¶
type Visibility string
const ( VisibilityCustom Visibility = "Custom" VisibilityPublic Visibility = "Public" )
Source Files ¶
- client.go
- constants.go
- id_maintenanceconfiguration.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_forresourcegrouplist_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_inputlinuxparameters.go
- model_inputpatchconfiguration.go
- model_inputwindowsparameters.go
- model_listmaintenanceconfigurationsresult.go
- model_maintenanceconfiguration.go
- model_maintenanceconfigurationproperties.go
- model_maintenancewindow.go
- version.go