Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForMoveOperationMode() []string
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type ListByLocationCompleteResult
- type ListByLocationOperationOptions
- type ListByLocationOperationResponse
- type ManagedDatabaseMoveOperationResult
- type ManagedDatabaseMoveOperationResultOperationPredicate
- type ManagedDatabaseMoveOperationResultProperties
- type ManagedDatabaseMoveOperationsClient
- func (c ManagedDatabaseMoveOperationsClient) ListByLocation(ctx context.Context, id ProviderLocationId, ...) (result ListByLocationOperationResponse, err error)
- func (c ManagedDatabaseMoveOperationsClient) ListByLocationComplete(ctx context.Context, id ProviderLocationId, ...) (ListByLocationCompleteResult, error)
- func (c ManagedDatabaseMoveOperationsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, ...) (result ListByLocationCompleteResult, err error)
- type ManagementOperationState
- type MoveOperationMode
- type ProviderLocationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagementOperationState ¶
func PossibleValuesForManagementOperationState() []string
func PossibleValuesForMoveOperationMode ¶
func PossibleValuesForMoveOperationMode() []string
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedDatabaseMoveOperationResult }
type ListByLocationOperationOptions ¶
func DefaultListByLocationOperationOptions ¶
func DefaultListByLocationOperationOptions() ListByLocationOperationOptions
func (ListByLocationOperationOptions) ToHeaders ¶
func (o ListByLocationOperationOptions) ToHeaders() *client.Headers
func (ListByLocationOperationOptions) ToOData ¶
func (o ListByLocationOperationOptions) ToOData() *odata.Query
func (ListByLocationOperationOptions) ToQuery ¶
func (o ListByLocationOperationOptions) ToQuery() *client.QueryParams
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedDatabaseMoveOperationResult }
type ManagedDatabaseMoveOperationResult ¶
type ManagedDatabaseMoveOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagedDatabaseMoveOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedDatabaseMoveOperationResultOperationPredicate ¶
type ManagedDatabaseMoveOperationResultOperationPredicate struct { Id *string Name *string Type *string }
func (ManagedDatabaseMoveOperationResultOperationPredicate) Matches ¶
func (p ManagedDatabaseMoveOperationResultOperationPredicate) Matches(input ManagedDatabaseMoveOperationResult) bool
type ManagedDatabaseMoveOperationResultProperties ¶
type ManagedDatabaseMoveOperationResultProperties struct { ErrorCode *int64 `json:"errorCode,omitempty"` ErrorDescription *string `json:"errorDescription,omitempty"` ErrorSeverity *int64 `json:"errorSeverity,omitempty"` IsCancellable *bool `json:"isCancellable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` Operation *string `json:"operation,omitempty"` OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` OperationMode *MoveOperationMode `json:"operationMode,omitempty"` SourceDatabaseName *string `json:"sourceDatabaseName,omitempty"` SourceManagedInstanceId *string `json:"sourceManagedInstanceId,omitempty"` SourceManagedInstanceName *string `json:"sourceManagedInstanceName,omitempty"` StartTime *string `json:"startTime,omitempty"` State *ManagementOperationState `json:"state,omitempty"` TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` TargetManagedInstanceId *string `json:"targetManagedInstanceId,omitempty"` TargetManagedInstanceName *string `json:"targetManagedInstanceName,omitempty"` }
func (*ManagedDatabaseMoveOperationResultProperties) GetStartTimeAsTime ¶
func (o *ManagedDatabaseMoveOperationResultProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ManagedDatabaseMoveOperationResultProperties) SetStartTimeAsTime ¶
func (o *ManagedDatabaseMoveOperationResultProperties) SetStartTimeAsTime(input time.Time)
type ManagedDatabaseMoveOperationsClient ¶
type ManagedDatabaseMoveOperationsClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseMoveOperationsClientWithBaseURI ¶
func NewManagedDatabaseMoveOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseMoveOperationsClient, error)
func (ManagedDatabaseMoveOperationsClient) ListByLocation ¶
func (c ManagedDatabaseMoveOperationsClient) ListByLocation(ctx context.Context, id ProviderLocationId, options ListByLocationOperationOptions) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (ManagedDatabaseMoveOperationsClient) ListByLocationComplete ¶
func (c ManagedDatabaseMoveOperationsClient) ListByLocationComplete(ctx context.Context, id ProviderLocationId, options ListByLocationOperationOptions) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (ManagedDatabaseMoveOperationsClient) ListByLocationCompleteMatchingPredicate ¶
func (c ManagedDatabaseMoveOperationsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, options ListByLocationOperationOptions, predicate ManagedDatabaseMoveOperationResultOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate 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 MoveOperationMode ¶
type MoveOperationMode string
const ( MoveOperationModeCopy MoveOperationMode = "Copy" MoveOperationModeMove MoveOperationMode = "Move" )
func (*MoveOperationMode) UnmarshalJSON ¶
func (s *MoveOperationMode) UnmarshalJSON(bytes []byte) error
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (*ProviderLocationId) FromParseResult ¶
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID