Documentation ¶
Index ¶
- func PossibleValuesForMaintenanceScope() []string
- func PossibleValuesForVisibility() []string
- func ValidatePublicMaintenanceConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- 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 Visibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMaintenanceScope ¶
func PossibleValuesForMaintenanceScope() []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 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"` 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" MaintenanceScopeSQLDB MaintenanceScope = "SQLDB" MaintenanceScopeSQLManagedInstance MaintenanceScope = "SQLManagedInstance" )
func (*MaintenanceScope) UnmarshalJSON ¶ added in v0.20230713.1092427
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) 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(api environments.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 Visibility ¶
type Visibility string
const ( VisibilityCustom Visibility = "Custom" VisibilityPublic Visibility = "Public" )
func (*Visibility) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *Visibility) UnmarshalJSON(bytes []byte) error