Documentation ¶
Index ¶
- func ValidateWorkloadClassifierID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkloadGroupID(input interface{}, key string) (warnings []string, errors []error)
- type SqlPoolWorkloadClassifierCreateOrUpdateOperationResponse
- type SqlPoolWorkloadClassifierDeleteOperationResponse
- type SqlPoolWorkloadClassifierGetOperationResponse
- type SqlPoolWorkloadClassifierListCompleteResult
- type SqlPoolWorkloadClassifierListCustomPager
- type SqlPoolWorkloadClassifierListOperationResponse
- type SqlPoolsWorkloadClassifiersClient
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdate(ctx context.Context, id WorkloadClassifierId, input WorkloadClassifier) (result SqlPoolWorkloadClassifierCreateOrUpdateOperationResponse, err error)
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdateThenPoll(ctx context.Context, id WorkloadClassifierId, input WorkloadClassifier) error
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDelete(ctx context.Context, id WorkloadClassifierId) (result SqlPoolWorkloadClassifierDeleteOperationResponse, err error)
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDeleteThenPoll(ctx context.Context, id WorkloadClassifierId) error
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierGet(ctx context.Context, id WorkloadClassifierId) (result SqlPoolWorkloadClassifierGetOperationResponse, err error)
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierList(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadClassifierListOperationResponse, err error)
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListComplete(ctx context.Context, id WorkloadGroupId) (SqlPoolWorkloadClassifierListCompleteResult, error)
- func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListCompleteMatchingPredicate(ctx context.Context, id WorkloadGroupId, ...) (result SqlPoolWorkloadClassifierListCompleteResult, err error)
- type WorkloadClassifier
- type WorkloadClassifierId
- type WorkloadClassifierOperationPredicate
- type WorkloadClassifierProperties
- type WorkloadGroupId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateWorkloadClassifierID ¶
func ValidateWorkloadClassifierID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkloadClassifierID checks that 'input' can be parsed as a Workload Classifier ID
func ValidateWorkloadGroupID ¶
ValidateWorkloadGroupID checks that 'input' can be parsed as a Workload Group ID
Types ¶
type SqlPoolWorkloadClassifierGetOperationResponse ¶
type SqlPoolWorkloadClassifierGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkloadClassifier }
type SqlPoolWorkloadClassifierListCompleteResult ¶
type SqlPoolWorkloadClassifierListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkloadClassifier }
type SqlPoolWorkloadClassifierListCustomPager ¶
func (*SqlPoolWorkloadClassifierListCustomPager) NextPageLink ¶
func (p *SqlPoolWorkloadClassifierListCustomPager) NextPageLink() *odata.Link
type SqlPoolWorkloadClassifierListOperationResponse ¶
type SqlPoolWorkloadClassifierListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkloadClassifier }
type SqlPoolsWorkloadClassifiersClient ¶
type SqlPoolsWorkloadClassifiersClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsWorkloadClassifiersClientWithBaseURI ¶
func NewSqlPoolsWorkloadClassifiersClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsWorkloadClassifiersClient, error)
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdate ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdate(ctx context.Context, id WorkloadClassifierId, input WorkloadClassifier) (result SqlPoolWorkloadClassifierCreateOrUpdateOperationResponse, err error)
SqlPoolWorkloadClassifierCreateOrUpdate ...
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdateThenPoll ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierCreateOrUpdateThenPoll(ctx context.Context, id WorkloadClassifierId, input WorkloadClassifier) error
SqlPoolWorkloadClassifierCreateOrUpdateThenPoll performs SqlPoolWorkloadClassifierCreateOrUpdate then polls until it's completed
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDelete ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDelete(ctx context.Context, id WorkloadClassifierId) (result SqlPoolWorkloadClassifierDeleteOperationResponse, err error)
SqlPoolWorkloadClassifierDelete ...
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDeleteThenPoll ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierDeleteThenPoll(ctx context.Context, id WorkloadClassifierId) error
SqlPoolWorkloadClassifierDeleteThenPoll performs SqlPoolWorkloadClassifierDelete then polls until it's completed
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierGet ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierGet(ctx context.Context, id WorkloadClassifierId) (result SqlPoolWorkloadClassifierGetOperationResponse, err error)
SqlPoolWorkloadClassifierGet ...
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierList ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierList(ctx context.Context, id WorkloadGroupId) (result SqlPoolWorkloadClassifierListOperationResponse, err error)
SqlPoolWorkloadClassifierList ...
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListComplete ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListComplete(ctx context.Context, id WorkloadGroupId) (SqlPoolWorkloadClassifierListCompleteResult, error)
SqlPoolWorkloadClassifierListComplete retrieves all the results into a single object
func (SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListCompleteMatchingPredicate ¶
func (c SqlPoolsWorkloadClassifiersClient) SqlPoolWorkloadClassifierListCompleteMatchingPredicate(ctx context.Context, id WorkloadGroupId, predicate WorkloadClassifierOperationPredicate) (result SqlPoolWorkloadClassifierListCompleteResult, err error)
SqlPoolWorkloadClassifierListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkloadClassifier ¶
type WorkloadClassifier struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkloadClassifierProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadClassifierId ¶
type WorkloadClassifierId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string WorkloadGroupName string WorkloadClassifierName string }
WorkloadClassifierId is a struct representing the Resource ID for a Workload Classifier
func NewWorkloadClassifierID ¶
func NewWorkloadClassifierID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, workloadGroupName string, workloadClassifierName string) WorkloadClassifierId
NewWorkloadClassifierID returns a new WorkloadClassifierId struct
func ParseWorkloadClassifierID ¶
func ParseWorkloadClassifierID(input string) (*WorkloadClassifierId, error)
ParseWorkloadClassifierID parses 'input' into a WorkloadClassifierId
func ParseWorkloadClassifierIDInsensitively ¶
func ParseWorkloadClassifierIDInsensitively(input string) (*WorkloadClassifierId, error)
ParseWorkloadClassifierIDInsensitively parses 'input' case-insensitively into a WorkloadClassifierId note: this method should only be used for API response data and not user input
func (*WorkloadClassifierId) FromParseResult ¶
func (id *WorkloadClassifierId) FromParseResult(input resourceids.ParseResult) error
func (WorkloadClassifierId) ID ¶
func (id WorkloadClassifierId) ID() string
ID returns the formatted Workload Classifier ID
func (WorkloadClassifierId) Segments ¶
func (id WorkloadClassifierId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workload Classifier ID
func (WorkloadClassifierId) String ¶
func (id WorkloadClassifierId) String() string
String returns a human-readable description of this Workload Classifier ID
type WorkloadClassifierOperationPredicate ¶
func (WorkloadClassifierOperationPredicate) Matches ¶
func (p WorkloadClassifierOperationPredicate) Matches(input WorkloadClassifier) bool
type WorkloadClassifierProperties ¶
type WorkloadClassifierProperties struct { Context *string `json:"context,omitempty"` EndTime *string `json:"endTime,omitempty"` Importance *string `json:"importance,omitempty"` Label *string `json:"label,omitempty"` MemberName string `json:"memberName"` StartTime *string `json:"startTime,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
Source Files ¶
- client.go
- id_workloadclassifier.go
- id_workloadgroup.go
- method_sqlpoolworkloadclassifiercreateorupdate.go
- method_sqlpoolworkloadclassifierdelete.go
- method_sqlpoolworkloadclassifierget.go
- method_sqlpoolworkloadclassifierlist.go
- model_workloadclassifier.go
- model_workloadclassifierproperties.go
- predicates.go
- version.go