Documentation ¶
Index ¶
- func PossibleValuesForImpactType() []string
- func PossibleValuesForMaintenanceScope() []string
- func PossibleValuesForUpdateStatus() []string
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupProviderID(input interface{}, key string) (warnings []string, errors []error)
- type ImpactType
- type ListOperationResponse
- type ListParentOperationResponse
- type ListUpdatesResult
- type MaintenanceScope
- type ProviderId
- type ResourceGroupProviderId
- func NewResourceGroupProviderID(subscriptionId string, resourceGroupName string, providerName string, ...) ResourceGroupProviderId
- func ParseResourceGroupProviderID(input string) (*ResourceGroupProviderId, error)
- func ParseResourceGroupProviderIDInsensitively(input string) (*ResourceGroupProviderId, error)
- type Update
- type UpdateProperties
- type UpdateStatus
- type UpdatesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForImpactType ¶
func PossibleValuesForImpactType() []string
func PossibleValuesForMaintenanceScope ¶
func PossibleValuesForMaintenanceScope() []string
func PossibleValuesForUpdateStatus ¶
func PossibleValuesForUpdateStatus() []string
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
func ValidateResourceGroupProviderID ¶
func ValidateResourceGroupProviderID(input interface{}, key string) (warnings []string, errors []error)
ValidateResourceGroupProviderID checks that 'input' can be parsed as a Resource Group Provider ID
Types ¶
type ImpactType ¶
type ImpactType string
const ( ImpactTypeFreeze ImpactType = "Freeze" ImpactTypeNone ImpactType = "None" ImpactTypeRedeploy ImpactType = "Redeploy" ImpactTypeRestart ImpactType = "Restart" )
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ListUpdatesResult }
type ListParentOperationResponse ¶
type ListParentOperationResponse struct { HttpResponse *http.Response Model *ListUpdatesResult }
type ListUpdatesResult ¶
type ListUpdatesResult struct {
Value *[]Update `json:"value,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" )
type ProviderId ¶
type ProviderId struct { SubscriptionId string ResourceGroupName string ProviderName string ResourceType string ResourceName string }
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(subscriptionId string, resourceGroupName string, providerName string, resourceType string, resourceName string) ProviderId
NewProviderID returns a new ProviderId struct
func ParseProviderID ¶
func ParseProviderID(input string) (*ProviderId, error)
ParseProviderID parses 'input' into a ProviderId
func ParseProviderIDInsensitively ¶
func ParseProviderIDInsensitively(input string) (*ProviderId, error)
ParseProviderIDInsensitively parses 'input' case-insensitively into a ProviderId note: this method should only be used for API response data and not user input
func (ProviderId) Segments ¶
func (id ProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider ID
func (ProviderId) String ¶
func (id ProviderId) String() string
String returns a human-readable description of this Provider ID
type ResourceGroupProviderId ¶
type ResourceGroupProviderId struct { SubscriptionId string ResourceGroupName string ProviderName string ResourceParentType string ResourceParentName string ResourceType string ResourceName string }
ResourceGroupProviderId is a struct representing the Resource ID for a Resource Group Provider
func NewResourceGroupProviderID ¶
func NewResourceGroupProviderID(subscriptionId string, resourceGroupName string, providerName string, resourceParentType string, resourceParentName string, resourceType string, resourceName string) ResourceGroupProviderId
NewResourceGroupProviderID returns a new ResourceGroupProviderId struct
func ParseResourceGroupProviderID ¶
func ParseResourceGroupProviderID(input string) (*ResourceGroupProviderId, error)
ParseResourceGroupProviderID parses 'input' into a ResourceGroupProviderId
func ParseResourceGroupProviderIDInsensitively ¶
func ParseResourceGroupProviderIDInsensitively(input string) (*ResourceGroupProviderId, error)
ParseResourceGroupProviderIDInsensitively parses 'input' case-insensitively into a ResourceGroupProviderId note: this method should only be used for API response data and not user input
func (ResourceGroupProviderId) ID ¶
func (id ResourceGroupProviderId) ID() string
ID returns the formatted Resource Group Provider ID
func (ResourceGroupProviderId) Segments ¶
func (id ResourceGroupProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group Provider ID
func (ResourceGroupProviderId) String ¶
func (id ResourceGroupProviderId) String() string
String returns a human-readable description of this Resource Group Provider ID
type Update ¶
type Update struct { ImpactDurationInSec *int64 `json:"impactDurationInSec,omitempty"` ImpactType *ImpactType `json:"impactType,omitempty"` MaintenanceScope *MaintenanceScope `json:"maintenanceScope,omitempty"` NotBefore *string `json:"notBefore,omitempty"` Properties *UpdateProperties `json:"properties,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
func (*Update) SetNotBeforeAsTime ¶
type UpdateProperties ¶
type UpdateProperties struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type UpdateStatus ¶
type UpdateStatus string
const ( UpdateStatusCompleted UpdateStatus = "Completed" UpdateStatusInProgress UpdateStatus = "InProgress" UpdateStatusPending UpdateStatus = "Pending" UpdateStatusRetryLater UpdateStatus = "RetryLater" UpdateStatusRetryNow UpdateStatus = "RetryNow" )
type UpdatesClient ¶
func NewUpdatesClientWithBaseURI ¶
func NewUpdatesClientWithBaseURI(endpoint string) UpdatesClient
func (UpdatesClient) List ¶
func (c UpdatesClient) List(ctx context.Context, id ProviderId) (result ListOperationResponse, err error)
List ...
func (UpdatesClient) ListParent ¶
func (c UpdatesClient) ListParent(ctx context.Context, id ResourceGroupProviderId) (result ListParentOperationResponse, err error)
ListParent ...