Documentation ¶
Index ¶
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkloadGroupID(input interface{}, key string) (warnings []string, errors []error)
- type SqlPoolId
- type SqlPoolWorkloadGroupCreateOrUpdateOperationResponse
- type SqlPoolWorkloadGroupDeleteOperationResponse
- type SqlPoolWorkloadGroupGetOperationResponse
- type SqlPoolWorkloadGroupListCompleteResult
- type SqlPoolWorkloadGroupListCustomPager
- type SqlPoolWorkloadGroupListOperationResponse
- type SqlPoolsWorkloadGroupsClient
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdate(ctx context.Context, id WorkloadGroupId, input WorkloadGroup) (result SqlPoolWorkloadGroupCreateOrUpdateOperationResponse, err error)
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdateThenPoll(ctx context.Context, id WorkloadGroupId, input WorkloadGroup) error
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDelete(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadGroupDeleteOperationResponse, err error)
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDeleteThenPoll(ctx context.Context, id WorkloadGroupId) error
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupGet(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadGroupGetOperationResponse, err error)
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupList(ctx context.Context, id SqlPoolId) (result SqlPoolWorkloadGroupListOperationResponse, err error)
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListComplete(ctx context.Context, id SqlPoolId) (SqlPoolWorkloadGroupListCompleteResult, error)
- func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate WorkloadGroupOperationPredicate) (result SqlPoolWorkloadGroupListCompleteResult, err error)
- type WorkloadGroup
- type WorkloadGroupId
- type WorkloadGroupOperationPredicate
- type WorkloadGroupProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
func ValidateWorkloadGroupID ¶
ValidateWorkloadGroupID checks that 'input' can be parsed as a Workload Group ID
Types ¶
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 SqlPoolWorkloadGroupGetOperationResponse ¶
type SqlPoolWorkloadGroupGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkloadGroup }
type SqlPoolWorkloadGroupListCompleteResult ¶
type SqlPoolWorkloadGroupListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkloadGroup }
type SqlPoolWorkloadGroupListCustomPager ¶ added in v0.20240628.1153531
func (*SqlPoolWorkloadGroupListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *SqlPoolWorkloadGroupListCustomPager) NextPageLink() *odata.Link
type SqlPoolWorkloadGroupListOperationResponse ¶
type SqlPoolWorkloadGroupListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkloadGroup }
type SqlPoolsWorkloadGroupsClient ¶
type SqlPoolsWorkloadGroupsClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsWorkloadGroupsClientWithBaseURI ¶
func NewSqlPoolsWorkloadGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsWorkloadGroupsClient, error)
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdate ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdate(ctx context.Context, id WorkloadGroupId, input WorkloadGroup) (result SqlPoolWorkloadGroupCreateOrUpdateOperationResponse, err error)
SqlPoolWorkloadGroupCreateOrUpdate ...
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdateThenPoll ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupCreateOrUpdateThenPoll(ctx context.Context, id WorkloadGroupId, input WorkloadGroup) error
SqlPoolWorkloadGroupCreateOrUpdateThenPoll performs SqlPoolWorkloadGroupCreateOrUpdate then polls until it's completed
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDelete ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDelete(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadGroupDeleteOperationResponse, err error)
SqlPoolWorkloadGroupDelete ...
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDeleteThenPoll ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupDeleteThenPoll(ctx context.Context, id WorkloadGroupId) error
SqlPoolWorkloadGroupDeleteThenPoll performs SqlPoolWorkloadGroupDelete then polls until it's completed
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupGet ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupGet(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadGroupGetOperationResponse, err error)
SqlPoolWorkloadGroupGet ...
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupList ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupList(ctx context.Context, id SqlPoolId) (result SqlPoolWorkloadGroupListOperationResponse, err error)
SqlPoolWorkloadGroupList ...
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListComplete ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListComplete(ctx context.Context, id SqlPoolId) (SqlPoolWorkloadGroupListCompleteResult, error)
SqlPoolWorkloadGroupListComplete retrieves all the results into a single object
func (SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListCompleteMatchingPredicate ¶
func (c SqlPoolsWorkloadGroupsClient) SqlPoolWorkloadGroupListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate WorkloadGroupOperationPredicate) (result SqlPoolWorkloadGroupListCompleteResult, err error)
SqlPoolWorkloadGroupListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkloadGroup ¶
type WorkloadGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkloadGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadGroupId ¶
type WorkloadGroupId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string WorkloadGroupName string }
WorkloadGroupId is a struct representing the Resource ID for a Workload Group
func NewWorkloadGroupID ¶
func NewWorkloadGroupID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, workloadGroupName string) WorkloadGroupId
NewWorkloadGroupID returns a new WorkloadGroupId struct
func ParseWorkloadGroupID ¶
func ParseWorkloadGroupID(input string) (*WorkloadGroupId, error)
ParseWorkloadGroupID parses 'input' into a WorkloadGroupId
func ParseWorkloadGroupIDInsensitively ¶
func ParseWorkloadGroupIDInsensitively(input string) (*WorkloadGroupId, error)
ParseWorkloadGroupIDInsensitively parses 'input' case-insensitively into a WorkloadGroupId note: this method should only be used for API response data and not user input
func (*WorkloadGroupId) FromParseResult ¶
func (id *WorkloadGroupId) FromParseResult(input resourceids.ParseResult) error
func (WorkloadGroupId) ID ¶
func (id WorkloadGroupId) ID() string
ID returns the formatted Workload Group ID
func (WorkloadGroupId) Segments ¶
func (id WorkloadGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workload Group ID
func (WorkloadGroupId) String ¶
func (id WorkloadGroupId) String() string
String returns a human-readable description of this Workload Group ID
type WorkloadGroupOperationPredicate ¶
func (WorkloadGroupOperationPredicate) Matches ¶
func (p WorkloadGroupOperationPredicate) Matches(input WorkloadGroup) bool
type WorkloadGroupProperties ¶
type WorkloadGroupProperties struct { Importance *string `json:"importance,omitempty"` MaxResourcePercent int64 `json:"maxResourcePercent"` MaxResourcePercentPerRequest *float64 `json:"maxResourcePercentPerRequest,omitempty"` MinResourcePercent int64 `json:"minResourcePercent"` MinResourcePercentPerRequest float64 `json:"minResourcePercentPerRequest"` QueryExecutionTimeout *int64 `json:"queryExecutionTimeout,omitempty"` }