Documentation ¶
Index ¶
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationResponse
- type ElasticPoolOperation
- type ElasticPoolOperationOperationPredicate
- type ElasticPoolOperationProperties
- func (o *ElasticPoolOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
- func (o *ElasticPoolOperationProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *ElasticPoolOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
- func (o *ElasticPoolOperationProperties) SetStartTimeAsTime(input time.Time)
- type ElasticPoolOperationsClient
- func (c ElasticPoolOperationsClient) Cancel(ctx context.Context, id OperationId) (result CancelOperationResponse, err error)
- func (c ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, id commonids.SqlElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
- func (c ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, id commonids.SqlElasticPoolId) (ListByElasticPoolCompleteResult, error)
- func (c ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id commonids.SqlElasticPoolId, ...) (result ListByElasticPoolCompleteResult, err error)
- type ListByElasticPoolCompleteResult
- type ListByElasticPoolCustomPager
- type ListByElasticPoolOperationResponse
- type OperationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type CancelOperationResponse ¶
type ElasticPoolOperation ¶
type ElasticPoolOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ElasticPoolOperationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ElasticPoolOperationOperationPredicate ¶
func (ElasticPoolOperationOperationPredicate) Matches ¶
func (p ElasticPoolOperationOperationPredicate) Matches(input ElasticPoolOperation) bool
type ElasticPoolOperationProperties ¶
type ElasticPoolOperationProperties struct { Description *string `json:"description,omitempty"` ElasticPoolName *string `json:"elasticPoolName,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"` PercentComplete *int64 `json:"percentComplete,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *string `json:"startTime,omitempty"` State *string `json:"state,omitempty"` }
func (*ElasticPoolOperationProperties) GetEstimatedCompletionTimeAsTime ¶
func (o *ElasticPoolOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
func (*ElasticPoolOperationProperties) GetStartTimeAsTime ¶
func (o *ElasticPoolOperationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ElasticPoolOperationProperties) SetEstimatedCompletionTimeAsTime ¶
func (o *ElasticPoolOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
func (*ElasticPoolOperationProperties) SetStartTimeAsTime ¶
func (o *ElasticPoolOperationProperties) SetStartTimeAsTime(input time.Time)
type ElasticPoolOperationsClient ¶
type ElasticPoolOperationsClient struct {
Client *resourcemanager.Client
}
func NewElasticPoolOperationsClientWithBaseURI ¶
func NewElasticPoolOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ElasticPoolOperationsClient, error)
func (ElasticPoolOperationsClient) Cancel ¶
func (c ElasticPoolOperationsClient) Cancel(ctx context.Context, id OperationId) (result CancelOperationResponse, err error)
Cancel ...
func (ElasticPoolOperationsClient) ListByElasticPool ¶
func (c ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, id commonids.SqlElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
ListByElasticPool ...
func (ElasticPoolOperationsClient) ListByElasticPoolComplete ¶
func (c ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, id commonids.SqlElasticPoolId) (ListByElasticPoolCompleteResult, error)
ListByElasticPoolComplete retrieves all the results into a single object
func (ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate ¶
func (c ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id commonids.SqlElasticPoolId, predicate ElasticPoolOperationOperationPredicate) (result ListByElasticPoolCompleteResult, err error)
ListByElasticPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByElasticPoolCompleteResult ¶
type ListByElasticPoolCompleteResult struct { LatestHttpResponse *http.Response Items []ElasticPoolOperation }
type ListByElasticPoolCustomPager ¶
func (*ListByElasticPoolCustomPager) NextPageLink ¶
func (p *ListByElasticPoolCustomPager) NextPageLink() *odata.Link
type ListByElasticPoolOperationResponse ¶
type ListByElasticPoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticPoolOperation }
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ServerName string ElasticPoolName string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, serverName string, elasticPoolName 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) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
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