Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForStatus() []string
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- 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) 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 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
Types ¶
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(sdkApi sdkEnv.Api) (*ManagedInstanceOperationsClient, error)
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 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
- 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