Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForMoveOperationMode() []string
- func ValidateManagedDatabaseMoveOperationResultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationOperationOptions
- type ListByLocationOperationResponse
- type ManagedDatabaseMoveOperationResult
- type ManagedDatabaseMoveOperationResultId
- func NewManagedDatabaseMoveOperationResultID(subscriptionId string, resourceGroupName string, locationName string, ...) ManagedDatabaseMoveOperationResultId
- func ParseManagedDatabaseMoveOperationResultID(input string) (*ManagedDatabaseMoveOperationResultId, error)
- func ParseManagedDatabaseMoveOperationResultIDInsensitively(input string) (*ManagedDatabaseMoveOperationResultId, error)
- type ManagedDatabaseMoveOperationResultOperationPredicate
- type ManagedDatabaseMoveOperationResultProperties
- type ManagedDatabaseMoveOperationsClient
- func (c ManagedDatabaseMoveOperationsClient) Get(ctx context.Context, id ManagedDatabaseMoveOperationResultId) (result GetOperationResponse, err error)
- 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 ValidateManagedDatabaseMoveOperationResultID ¶
func ValidateManagedDatabaseMoveOperationResultID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedDatabaseMoveOperationResultID checks that 'input' can be parsed as a Managed Database Move Operation Result ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedDatabaseMoveOperationResult }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct {
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 ManagedDatabaseMoveOperationResultId ¶
type ManagedDatabaseMoveOperationResultId struct { SubscriptionId string ResourceGroupName string LocationName string OperationId string }
ManagedDatabaseMoveOperationResultId is a struct representing the Resource ID for a Managed Database Move Operation Result
func NewManagedDatabaseMoveOperationResultID ¶
func NewManagedDatabaseMoveOperationResultID(subscriptionId string, resourceGroupName string, locationName string, operationId string) ManagedDatabaseMoveOperationResultId
NewManagedDatabaseMoveOperationResultID returns a new ManagedDatabaseMoveOperationResultId struct
func ParseManagedDatabaseMoveOperationResultID ¶
func ParseManagedDatabaseMoveOperationResultID(input string) (*ManagedDatabaseMoveOperationResultId, error)
ParseManagedDatabaseMoveOperationResultID parses 'input' into a ManagedDatabaseMoveOperationResultId
func ParseManagedDatabaseMoveOperationResultIDInsensitively ¶
func ParseManagedDatabaseMoveOperationResultIDInsensitively(input string) (*ManagedDatabaseMoveOperationResultId, error)
ParseManagedDatabaseMoveOperationResultIDInsensitively parses 'input' case-insensitively into a ManagedDatabaseMoveOperationResultId note: this method should only be used for API response data and not user input
func (ManagedDatabaseMoveOperationResultId) ID ¶
func (id ManagedDatabaseMoveOperationResultId) ID() string
ID returns the formatted Managed Database Move Operation Result ID
func (ManagedDatabaseMoveOperationResultId) Segments ¶
func (id ManagedDatabaseMoveOperationResultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Database Move Operation Result ID
func (ManagedDatabaseMoveOperationResultId) String ¶
func (id ManagedDatabaseMoveOperationResultId) String() string
String returns a human-readable description of this Managed Database Move Operation Result ID
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(api environments.Api) (*ManagedDatabaseMoveOperationsClient, error)
func (ManagedDatabaseMoveOperationsClient) Get ¶
func (c ManagedDatabaseMoveOperationsClient) Get(ctx context.Context, id ManagedDatabaseMoveOperationResultId) (result GetOperationResponse, err error)
Get ...
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) 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