Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForPhase() []string
- type DatabaseOperation
- type DatabaseOperationOperationPredicate
- type DatabaseOperationProperties
- func (o *DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
- func (o *DatabaseOperationProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
- func (o *DatabaseOperationProperties) SetStartTimeAsTime(input time.Time)
- type DatabaseOperationsClient
- func (c DatabaseOperationsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseOperationsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseOperationsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type ListByDatabaseCompleteResult
- type ListByDatabaseCustomPager
- type ListByDatabaseOperationResponse
- type ManagementOperationState
- type Phase
- type PhaseDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagementOperationState ¶
func PossibleValuesForManagementOperationState() []string
func PossibleValuesForPhase ¶
func PossibleValuesForPhase() []string
Types ¶
type DatabaseOperation ¶
type DatabaseOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseOperationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseOperationOperationPredicate ¶
func (DatabaseOperationOperationPredicate) Matches ¶
func (p DatabaseOperationOperationPredicate) Matches(input DatabaseOperation) bool
type DatabaseOperationProperties ¶
type DatabaseOperationProperties struct { DatabaseName *string `json:"databaseName,omitempty"` 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"` Operation *string `json:"operation,omitempty"` OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` OperationPhaseDetails *PhaseDetails `json:"operationPhaseDetails,omitempty"` PercentComplete *int64 `json:"percentComplete,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *string `json:"startTime,omitempty"` State *ManagementOperationState `json:"state,omitempty"` }
func (*DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime ¶
func (o *DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
func (*DatabaseOperationProperties) GetStartTimeAsTime ¶
func (o *DatabaseOperationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime ¶
func (o *DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
func (*DatabaseOperationProperties) SetStartTimeAsTime ¶
func (o *DatabaseOperationProperties) SetStartTimeAsTime(input time.Time)
type DatabaseOperationsClient ¶
type DatabaseOperationsClient struct {
Client *resourcemanager.Client
}
func NewDatabaseOperationsClientWithBaseURI ¶
func NewDatabaseOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseOperationsClient, error)
func (DatabaseOperationsClient) ListByDatabase ¶
func (c DatabaseOperationsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseOperationsClient) ListByDatabaseComplete ¶
func (c DatabaseOperationsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseOperationsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseOperationsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate DatabaseOperationOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseOperation }
type ListByDatabaseCustomPager ¶ added in v0.20240628.1153531
func (*ListByDatabaseCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseOperation }
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 PhaseDetails ¶
Click to show internal directories.
Click to hide internal directories.