Documentation ¶
Index ¶
- func PossibleValuesForMaintenanceScope() []string
- func PossibleValuesForRebootOptions() []string
- func PossibleValuesForVisibility() []string
- func ValidatePublicMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type InputLinuxParameters
- type InputPatchConfiguration
- type InputWindowsParameters
- type ListMaintenanceConfigurationsResult
- type ListOperationResponse
- type MaintenanceConfiguration
- type MaintenanceConfigurationProperties
- type MaintenanceScope
- type MaintenanceWindow
- type PublicMaintenanceConfigurationId
- func NewPublicMaintenanceConfigurationID(subscriptionId string, publicMaintenanceConfigurationName string) PublicMaintenanceConfigurationId
- func ParsePublicMaintenanceConfigurationID(input string) (*PublicMaintenanceConfigurationId, error)
- func ParsePublicMaintenanceConfigurationIDInsensitively(input string) (*PublicMaintenanceConfigurationId, error)
- type PublicMaintenanceConfigurationsClient
- type RebootOptions
- 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 ValidatePublicMaintenanceConfigurationID ¶
func ValidatePublicMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidatePublicMaintenanceConfigurationID checks that 'input' can be parsed as a Public Maintenance Configuration ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 OData *odata.OData 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 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 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" )
func (*MaintenanceScope) UnmarshalJSON ¶ added in v0.20240208.1165011
func (s *MaintenanceScope) UnmarshalJSON(bytes []byte) error
type MaintenanceWindow ¶
type PublicMaintenanceConfigurationId ¶
type PublicMaintenanceConfigurationId struct { SubscriptionId string PublicMaintenanceConfigurationName string }
PublicMaintenanceConfigurationId is a struct representing the Resource ID for a Public Maintenance Configuration
func NewPublicMaintenanceConfigurationID ¶
func NewPublicMaintenanceConfigurationID(subscriptionId string, publicMaintenanceConfigurationName string) PublicMaintenanceConfigurationId
NewPublicMaintenanceConfigurationID returns a new PublicMaintenanceConfigurationId struct
func ParsePublicMaintenanceConfigurationID ¶
func ParsePublicMaintenanceConfigurationID(input string) (*PublicMaintenanceConfigurationId, error)
ParsePublicMaintenanceConfigurationID parses 'input' into a PublicMaintenanceConfigurationId
func ParsePublicMaintenanceConfigurationIDInsensitively ¶
func ParsePublicMaintenanceConfigurationIDInsensitively(input string) (*PublicMaintenanceConfigurationId, error)
ParsePublicMaintenanceConfigurationIDInsensitively parses 'input' case-insensitively into a PublicMaintenanceConfigurationId note: this method should only be used for API response data and not user input
func (*PublicMaintenanceConfigurationId) FromParseResult ¶
func (id *PublicMaintenanceConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (PublicMaintenanceConfigurationId) ID ¶
func (id PublicMaintenanceConfigurationId) ID() string
ID returns the formatted Public Maintenance Configuration ID
func (PublicMaintenanceConfigurationId) Segments ¶
func (id PublicMaintenanceConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Public Maintenance Configuration ID
func (PublicMaintenanceConfigurationId) String ¶
func (id PublicMaintenanceConfigurationId) String() string
String returns a human-readable description of this Public Maintenance Configuration ID
type PublicMaintenanceConfigurationsClient ¶
type PublicMaintenanceConfigurationsClient struct {
Client *resourcemanager.Client
}
func NewPublicMaintenanceConfigurationsClientWithBaseURI ¶
func NewPublicMaintenanceConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*PublicMaintenanceConfigurationsClient, error)
func (PublicMaintenanceConfigurationsClient) Get ¶
func (c PublicMaintenanceConfigurationsClient) Get(ctx context.Context, id PublicMaintenanceConfigurationId) (result GetOperationResponse, err error)
Get ...
func (PublicMaintenanceConfigurationsClient) List ¶
func (c PublicMaintenanceConfigurationsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
type RebootOptions ¶
type RebootOptions string
const ( RebootOptionsAlways RebootOptions = "Always" RebootOptionsIfRequired RebootOptions = "IfRequired" RebootOptionsNever RebootOptions = "Never" )
func (*RebootOptions) UnmarshalJSON ¶ added in v0.20240208.1165011
func (s *RebootOptions) UnmarshalJSON(bytes []byte) error
type Visibility ¶
type Visibility string
const ( VisibilityCustom Visibility = "Custom" VisibilityPublic Visibility = "Public" )
func (*Visibility) UnmarshalJSON ¶ added in v0.20240208.1165011
func (s *Visibility) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_publicmaintenanceconfiguration.go
- method_get.go
- method_list.go
- model_inputlinuxparameters.go
- model_inputpatchconfiguration.go
- model_inputwindowsparameters.go
- model_listmaintenanceconfigurationsresult.go
- model_maintenanceconfiguration.go
- model_maintenanceconfigurationproperties.go
- model_maintenancewindow.go
- version.go