Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForStatus() []string
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationResponse
- type GetOperationResponse
- type ListByManagedInstanceCompleteResult
- type ListByManagedInstanceOperationResponse
- type ManagedInstanceId
- 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) Cancel(ctx context.Context, id OperationId) (result CancelOperationResponse, err error)
- func (c ManagedInstanceOperationsClient) Get(ctx context.Context, id OperationId) (result GetOperationResponse, err error)
- func (c ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, id ManagedInstanceId) (result ListByManagedInstanceOperationResponse, err error)
- func (c ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByManagedInstanceCompleteResult, error)
- func (c ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, ...) (result ListByManagedInstanceCompleteResult, err error)
- type ManagementOperationState
- type OperationId
- 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
func ValidateManagedInstanceID ¶
ValidateManagedInstanceID checks that 'input' can be parsed as a Managed Instance ID
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type CancelOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedInstanceOperation }
type ListByManagedInstanceCompleteResult ¶
type ListByManagedInstanceCompleteResult struct {
Items []ManagedInstanceOperation
}
type ListByManagedInstanceOperationResponse ¶
type ListByManagedInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstanceOperation }
type ManagedInstanceId ¶
type ManagedInstanceId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string }
ManagedInstanceId is a struct representing the Resource ID for a Managed Instance
func NewManagedInstanceID ¶
func NewManagedInstanceID(subscriptionId string, resourceGroupName string, managedInstanceName string) ManagedInstanceId
NewManagedInstanceID returns a new ManagedInstanceId struct
func ParseManagedInstanceID ¶
func ParseManagedInstanceID(input string) (*ManagedInstanceId, error)
ParseManagedInstanceID parses 'input' into a ManagedInstanceId
func ParseManagedInstanceIDInsensitively ¶
func ParseManagedInstanceIDInsensitively(input string) (*ManagedInstanceId, error)
ParseManagedInstanceIDInsensitively parses 'input' case-insensitively into a ManagedInstanceId note: this method should only be used for API response data and not user input
func (ManagedInstanceId) ID ¶
func (id ManagedInstanceId) ID() string
ID returns the formatted Managed Instance ID
func (ManagedInstanceId) Segments ¶
func (id ManagedInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance ID
func (ManagedInstanceId) String ¶
func (id ManagedInstanceId) String() string
String returns a human-readable description of this Managed Instance ID
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(api environments.Api) (*ManagedInstanceOperationsClient, error)
func (ManagedInstanceOperationsClient) Cancel ¶
func (c ManagedInstanceOperationsClient) Cancel(ctx context.Context, id OperationId) (result CancelOperationResponse, err error)
Cancel ...
func (ManagedInstanceOperationsClient) Get ¶
func (c ManagedInstanceOperationsClient) Get(ctx context.Context, id OperationId) (result GetOperationResponse, err error)
Get ...
func (ManagedInstanceOperationsClient) ListByManagedInstance ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstance(ctx context.Context, id ManagedInstanceId) (result ListByManagedInstanceOperationResponse, err error)
ListByManagedInstance ...
func (ManagedInstanceOperationsClient) ListByManagedInstanceComplete ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstanceComplete(ctx context.Context, id ManagedInstanceId) (ListByManagedInstanceCompleteResult, error)
ListByManagedInstanceComplete retrieves all the results into a single object
func (ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate ¶
func (c ManagedInstanceOperationsClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, 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 OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, managedInstanceName string, operationId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
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
- id_managedinstance.go
- id_operation.go
- method_cancel.go
- method_get.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