Documentation ¶
Index ¶
- func ValidateElasticPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateElasticPoolOperationID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationResponse
- type ElasticPoolId
- type ElasticPoolOperation
- type ElasticPoolOperationId
- 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 ElasticPoolOperationId) (result CancelOperationResponse, err error)
- func (c ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, id ElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
- func (c ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, id ElasticPoolId) (ListByElasticPoolCompleteResult, error)
- func (c ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id ElasticPoolId, ...) (result ListByElasticPoolCompleteResult, err error)
- type ListByElasticPoolCompleteResult
- type ListByElasticPoolOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateElasticPoolID ¶
ValidateElasticPoolID checks that 'input' can be parsed as a Elastic Pool ID
func ValidateElasticPoolOperationID ¶
func ValidateElasticPoolOperationID(input interface{}, key string) (warnings []string, errors []error)
ValidateElasticPoolOperationID checks that 'input' can be parsed as a Elastic Pool Operation ID
Types ¶
type CancelOperationResponse ¶
type ElasticPoolId ¶
type ElasticPoolId struct { SubscriptionId string ResourceGroupName string ServerName string ElasticPoolName string }
ElasticPoolId is a struct representing the Resource ID for a Elastic Pool
func NewElasticPoolID ¶
func NewElasticPoolID(subscriptionId string, resourceGroupName string, serverName string, elasticPoolName string) ElasticPoolId
NewElasticPoolID returns a new ElasticPoolId struct
func ParseElasticPoolID ¶
func ParseElasticPoolID(input string) (*ElasticPoolId, error)
ParseElasticPoolID parses 'input' into a ElasticPoolId
func ParseElasticPoolIDInsensitively ¶
func ParseElasticPoolIDInsensitively(input string) (*ElasticPoolId, error)
ParseElasticPoolIDInsensitively parses 'input' case-insensitively into a ElasticPoolId note: this method should only be used for API response data and not user input
func (ElasticPoolId) ID ¶
func (id ElasticPoolId) ID() string
ID returns the formatted Elastic Pool ID
func (ElasticPoolId) Segments ¶
func (id ElasticPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Elastic Pool ID
func (ElasticPoolId) String ¶
func (id ElasticPoolId) String() string
String returns a human-readable description of this Elastic Pool ID
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 ElasticPoolOperationId ¶
type ElasticPoolOperationId struct { SubscriptionId string ResourceGroupName string ServerName string ElasticPoolName string OperationId string }
ElasticPoolOperationId is a struct representing the Resource ID for a Elastic Pool Operation
func NewElasticPoolOperationID ¶
func NewElasticPoolOperationID(subscriptionId string, resourceGroupName string, serverName string, elasticPoolName string, operationId string) ElasticPoolOperationId
NewElasticPoolOperationID returns a new ElasticPoolOperationId struct
func ParseElasticPoolOperationID ¶
func ParseElasticPoolOperationID(input string) (*ElasticPoolOperationId, error)
ParseElasticPoolOperationID parses 'input' into a ElasticPoolOperationId
func ParseElasticPoolOperationIDInsensitively ¶
func ParseElasticPoolOperationIDInsensitively(input string) (*ElasticPoolOperationId, error)
ParseElasticPoolOperationIDInsensitively parses 'input' case-insensitively into a ElasticPoolOperationId note: this method should only be used for API response data and not user input
func (ElasticPoolOperationId) ID ¶
func (id ElasticPoolOperationId) ID() string
ID returns the formatted Elastic Pool Operation ID
func (ElasticPoolOperationId) Segments ¶
func (id ElasticPoolOperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Elastic Pool Operation ID
func (ElasticPoolOperationId) String ¶
func (id ElasticPoolOperationId) String() string
String returns a human-readable description of this Elastic Pool Operation ID
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 ElasticPoolOperationId) (result CancelOperationResponse, err error)
Cancel ...
func (ElasticPoolOperationsClient) ListByElasticPool ¶
func (c ElasticPoolOperationsClient) ListByElasticPool(ctx context.Context, id ElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
ListByElasticPool ...
func (ElasticPoolOperationsClient) ListByElasticPoolComplete ¶
func (c ElasticPoolOperationsClient) ListByElasticPoolComplete(ctx context.Context, id ElasticPoolId) (ListByElasticPoolCompleteResult, error)
ListByElasticPoolComplete retrieves all the results into a single object
func (ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate ¶
func (c ElasticPoolOperationsClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id ElasticPoolId, predicate ElasticPoolOperationOperationPredicate) (result ListByElasticPoolCompleteResult, err error)
ListByElasticPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByElasticPoolCompleteResult ¶
type ListByElasticPoolCompleteResult struct {
Items []ElasticPoolOperation
}
type ListByElasticPoolOperationResponse ¶
type ListByElasticPoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticPoolOperation }