Documentation ¶
Index ¶
- func PossibleValuesForManagementOperationState() []string
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- type ManagementOperationState
- type SqlPoolId
- type SqlPoolOperation
- type SqlPoolOperationOperationPredicate
- type SqlPoolOperationProperties
- func (o *SqlPoolOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
- func (o *SqlPoolOperationProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *SqlPoolOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
- func (o *SqlPoolOperationProperties) SetStartTimeAsTime(input time.Time)
- type SqlPoolOperationsListCompleteResult
- type SqlPoolOperationsListCustomPager
- type SqlPoolOperationsListOperationResponse
- type SqlPoolsOperationsClient
- func (c SqlPoolsOperationsClient) SqlPoolOperationsList(ctx context.Context, id SqlPoolId) (result SqlPoolOperationsListOperationResponse, err error)
- func (c SqlPoolsOperationsClient) SqlPoolOperationsListComplete(ctx context.Context, id SqlPoolId) (SqlPoolOperationsListCompleteResult, error)
- func (c SqlPoolsOperationsClient) SqlPoolOperationsListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, ...) (result SqlPoolOperationsListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagementOperationState ¶
func PossibleValuesForManagementOperationState() []string
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
Types ¶
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 SqlPoolId ¶
type SqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string }
SqlPoolId is a struct representing the Resource ID for a Sql Pool
func NewSqlPoolID ¶
func NewSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string) SqlPoolId
NewSqlPoolID returns a new SqlPoolId struct
func ParseSqlPoolID ¶
ParseSqlPoolID parses 'input' into a SqlPoolId
func ParseSqlPoolIDInsensitively ¶
ParseSqlPoolIDInsensitively parses 'input' case-insensitively into a SqlPoolId note: this method should only be used for API response data and not user input
func (*SqlPoolId) FromParseResult ¶
func (id *SqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (SqlPoolId) Segments ¶
func (id SqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Pool ID
type SqlPoolOperation ¶
type SqlPoolOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlPoolOperationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlPoolOperationOperationPredicate ¶
func (SqlPoolOperationOperationPredicate) Matches ¶
func (p SqlPoolOperationOperationPredicate) Matches(input SqlPoolOperation) bool
type SqlPoolOperationProperties ¶
type SqlPoolOperationProperties struct { DatabaseName *string `json:"databaseName,omitempty"` 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"` 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 *ManagementOperationState `json:"state,omitempty"` }
func (*SqlPoolOperationProperties) GetEstimatedCompletionTimeAsTime ¶
func (o *SqlPoolOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
func (*SqlPoolOperationProperties) GetStartTimeAsTime ¶
func (o *SqlPoolOperationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*SqlPoolOperationProperties) SetEstimatedCompletionTimeAsTime ¶
func (o *SqlPoolOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
func (*SqlPoolOperationProperties) SetStartTimeAsTime ¶
func (o *SqlPoolOperationProperties) SetStartTimeAsTime(input time.Time)
type SqlPoolOperationsListCompleteResult ¶
type SqlPoolOperationsListCompleteResult struct { LatestHttpResponse *http.Response Items []SqlPoolOperation }
type SqlPoolOperationsListCustomPager ¶ added in v0.20240628.1153531
func (*SqlPoolOperationsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *SqlPoolOperationsListCustomPager) NextPageLink() *odata.Link
type SqlPoolOperationsListOperationResponse ¶
type SqlPoolOperationsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SqlPoolOperation }
type SqlPoolsOperationsClient ¶
type SqlPoolsOperationsClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsOperationsClientWithBaseURI ¶
func NewSqlPoolsOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsOperationsClient, error)
func (SqlPoolsOperationsClient) SqlPoolOperationsList ¶
func (c SqlPoolsOperationsClient) SqlPoolOperationsList(ctx context.Context, id SqlPoolId) (result SqlPoolOperationsListOperationResponse, err error)
SqlPoolOperationsList ...
func (SqlPoolsOperationsClient) SqlPoolOperationsListComplete ¶
func (c SqlPoolsOperationsClient) SqlPoolOperationsListComplete(ctx context.Context, id SqlPoolId) (SqlPoolOperationsListCompleteResult, error)
SqlPoolOperationsListComplete retrieves all the results into a single object
func (SqlPoolsOperationsClient) SqlPoolOperationsListCompleteMatchingPredicate ¶
func (c SqlPoolsOperationsClient) SqlPoolOperationsListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate SqlPoolOperationOperationPredicate) (result SqlPoolOperationsListCompleteResult, err error)
SqlPoolOperationsListCompleteMatchingPredicate retrieves all the results and then applies the predicate