Documentation ¶
Index ¶
- func PossibleValuesForImpactType() []string
- func PossibleValuesForMaintenanceScope() []string
- func PossibleValuesForUpdateStatus() []string
- type ImpactType
- type ListOperationResponse
- type ListParentOperationResponse
- type ListUpdatesResult
- type MaintenanceScope
- 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
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 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 commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (UpdatesClient) ListParent ¶
func (c UpdatesClient) ListParent(ctx context.Context, id commonids.ScopeId) (result ListParentOperationResponse, err error)
ListParent ...
Click to show internal directories.
Click to hide internal directories.