Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForStatus() []string
- type ListByManagedInstanceCompleteResult
- type ListByManagedInstanceCustomPager
- type ListByManagedInstanceOperationResponse
- type ManagedInstanceOperation
- type ManagedInstanceOperationOperationPredicate
- type ManagedInstanceOperationParametersPair
- type ManagedInstanceOperationProperties
- func (o *ManagedInstanceOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
- func (o *ManagedInstanceOperationProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *ManagedInstanceOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
- func (o *ManagedInstanceOperationProperties) SetStartTimeAsTime(input time.Time)
- type ManagedInstanceOperationSteps
- type ManagedInstanceOperationsClient
- func (c ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByManagedInstanceOperationResponse, err error)
- func (c ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByManagedInstanceCompleteResult, error)
- func (c ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result ListByManagedInstanceCompleteResult, err error)
- type ManagementOperationState
- type Status
- type UpsertManagedServerOperationParameters
- type UpsertManagedServerOperationStepWithEstimatesAndDuration
- func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepEndTimeAsTime() (*time.Time, error)
- func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepStartTimeAsTime() (*time.Time, error)
- func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepEndTimeAsTime(input time.Time)
- func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepStartTimeAsTime(input time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagementOperationState ¶
func PossibleValuesForManagementOperationState() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
Types ¶
type ListByManagedInstanceCompleteResult ¶
type ListByManagedInstanceCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedInstanceOperation }
type ListByManagedInstanceCustomPager ¶
func (*ListByManagedInstanceCustomPager) NextPageLink ¶
func (p *ListByManagedInstanceCustomPager) NextPageLink() *odata.Link
type ListByManagedInstanceOperationResponse ¶
type ListByManagedInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstanceOperation }
type ManagedInstanceOperation ¶
type ManagedInstanceOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagedInstanceOperationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedInstanceOperationOperationPredicate ¶
func (ManagedInstanceOperationOperationPredicate) Matches ¶
func (p ManagedInstanceOperationOperationPredicate) Matches(input ManagedInstanceOperation) bool
type ManagedInstanceOperationParametersPair ¶
type ManagedInstanceOperationParametersPair struct { CurrentParameters *UpsertManagedServerOperationParameters `json:"currentParameters,omitempty"` RequestedParameters *UpsertManagedServerOperationParameters `json:"requestedParameters,omitempty"` }
type ManagedInstanceOperationProperties ¶
type ManagedInstanceOperationProperties struct { Description *string `json:"description,omitempty"` ErrorCode *int64 `json:"errorCode,omitempty"` ErrorDescription *string `json:"errorDescription,omitempty"` ErrorSeverity *int64 `json:"errorSeverity,omitempty"` EstimatedCompletionTime *string `json:"estimatedCompletionTime,omitempty"` IsCancellable *bool `json:"isCancellable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` ManagedInstanceName *string `json:"managedInstanceName,omitempty"` Operation *string `json:"operation,omitempty"` OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` OperationParameters *ManagedInstanceOperationParametersPair `json:"operationParameters,omitempty"` OperationSteps *ManagedInstanceOperationSteps `json:"operationSteps,omitempty"` PercentComplete *int64 `json:"percentComplete,omitempty"` StartTime *string `json:"startTime,omitempty"` State *ManagementOperationState `json:"state,omitempty"` }
func (*ManagedInstanceOperationProperties) GetEstimatedCompletionTimeAsTime ¶
func (o *ManagedInstanceOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
func (*ManagedInstanceOperationProperties) GetStartTimeAsTime ¶
func (o *ManagedInstanceOperationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ManagedInstanceOperationProperties) SetEstimatedCompletionTimeAsTime ¶
func (o *ManagedInstanceOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
func (*ManagedInstanceOperationProperties) SetStartTimeAsTime ¶
func (o *ManagedInstanceOperationProperties) SetStartTimeAsTime(input time.Time)
type ManagedInstanceOperationSteps ¶
type ManagedInstanceOperationSteps struct { CurrentStep *int64 `json:"currentStep,omitempty"` StepsList *[]UpsertManagedServerOperationStepWithEstimatesAndDuration `json:"stepsList,omitempty"` TotalSteps *string `json:"totalSteps,omitempty"` }
type ManagedInstanceOperationsClient ¶
type ManagedInstanceOperationsClient struct {
Client *resourcemanager.Client
}
func NewManagedInstanceOperationsClientWithBaseURI ¶
func NewManagedInstanceOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedInstanceOperationsClient, error)
func (ManagedInstanceOperationsClient) ListByManagedInstance ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByManagedInstanceOperationResponse, err error)
ListByManagedInstance ...
func (ManagedInstanceOperationsClient) ListByManagedInstanceComplete ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByManagedInstanceCompleteResult, error)
ListByManagedInstanceComplete retrieves all the results into a single object
func (ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, predicate ManagedInstanceOperationOperationPredicate) (result ListByManagedInstanceCompleteResult, err error)
ListByManagedInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ManagementOperationState ¶
type ManagementOperationState string
const ( ManagementOperationStateCancelInProgress ManagementOperationState = "CancelInProgress" ManagementOperationStateCancelled ManagementOperationState = "Cancelled" ManagementOperationStateFailed ManagementOperationState = "Failed" ManagementOperationStateInProgress ManagementOperationState = "InProgress" ManagementOperationStatePending ManagementOperationState = "Pending" ManagementOperationStateSucceeded ManagementOperationState = "Succeeded" )
func (*ManagementOperationState) UnmarshalJSON ¶
func (s *ManagementOperationState) UnmarshalJSON(bytes []byte) error
type UpsertManagedServerOperationStepWithEstimatesAndDuration ¶
type UpsertManagedServerOperationStepWithEstimatesAndDuration struct { Name *string `json:"name,omitempty"` Order *int64 `json:"order,omitempty"` Status *Status `json:"status,omitempty"` StepEndTime *string `json:"stepEndTime,omitempty"` StepStartTime *string `json:"stepStartTime,omitempty"` TimeElapsed *string `json:"timeElapsed,omitempty"` }
func (*UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepEndTimeAsTime ¶
func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepEndTimeAsTime() (*time.Time, error)
func (*UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepStartTimeAsTime ¶
func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) GetStepStartTimeAsTime() (*time.Time, error)
func (*UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepEndTimeAsTime ¶
func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepEndTimeAsTime(input time.Time)
func (*UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepStartTimeAsTime ¶
func (o *UpsertManagedServerOperationStepWithEstimatesAndDuration) SetStepStartTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- method_listbymanagedinstance.go
- model_managedinstanceoperation.go
- model_managedinstanceoperationparameterspair.go
- model_managedinstanceoperationproperties.go
- model_managedinstanceoperationsteps.go
- model_upsertmanagedserveroperationparameters.go
- model_upsertmanagedserveroperationstepwithestimatesandduration.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.