Documentation ¶
Index ¶
- func ValidateQueryTextID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationOptions
- type ListByServerOperationResponse
- type QueryText
- type QueryTextId
- type QueryTextOperationPredicate
- type QueryTextProperties
- type QueryTextsClient
- func (c QueryTextsClient) Get(ctx context.Context, id QueryTextId) (result GetOperationResponse, err error)
- func (c QueryTextsClient) ListByServer(ctx context.Context, id ServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
- func (c QueryTextsClient) ListByServerComplete(ctx context.Context, id ServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
- func (c QueryTextsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, options ListByServerOperationOptions, ...) (result ListByServerCompleteResult, err error)
- type ServerId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateQueryTextID ¶
ValidateQueryTextID checks that 'input' can be parsed as a Query Text ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type GetOperationResponse ¶
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []QueryText
}
type ListByServerOperationOptions ¶
type ListByServerOperationOptions struct {
QueryIds *[]string
}
func DefaultListByServerOperationOptions ¶
func DefaultListByServerOperationOptions() ListByServerOperationOptions
func (ListByServerOperationOptions) ToHeaders ¶ added in v0.20230809.1081239
func (o ListByServerOperationOptions) ToHeaders() *client.Headers
func (ListByServerOperationOptions) ToOData ¶ added in v0.20230809.1081239
func (o ListByServerOperationOptions) ToOData() *odata.Query
func (ListByServerOperationOptions) ToQuery ¶ added in v0.20230809.1081239
func (o ListByServerOperationOptions) ToQuery() *client.QueryParams
type QueryText ¶
type QueryText struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *QueryTextProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type QueryTextId ¶
type QueryTextId struct { SubscriptionId string ResourceGroupName string ServerName string QueryId string }
QueryTextId is a struct representing the Resource ID for a Query Text
func NewQueryTextID ¶
func NewQueryTextID(subscriptionId string, resourceGroupName string, serverName string, queryId string) QueryTextId
NewQueryTextID returns a new QueryTextId struct
func ParseQueryTextID ¶
func ParseQueryTextID(input string) (*QueryTextId, error)
ParseQueryTextID parses 'input' into a QueryTextId
func ParseQueryTextIDInsensitively ¶
func ParseQueryTextIDInsensitively(input string) (*QueryTextId, error)
ParseQueryTextIDInsensitively parses 'input' case-insensitively into a QueryTextId note: this method should only be used for API response data and not user input
func (QueryTextId) Segments ¶
func (id QueryTextId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Query Text ID
func (QueryTextId) String ¶
func (id QueryTextId) String() string
String returns a human-readable description of this Query Text ID
type QueryTextOperationPredicate ¶
func (QueryTextOperationPredicate) Matches ¶
func (p QueryTextOperationPredicate) Matches(input QueryText) bool
type QueryTextProperties ¶
type QueryTextsClient ¶
type QueryTextsClient struct {
Client *resourcemanager.Client
}
func NewQueryTextsClientWithBaseURI ¶
func NewQueryTextsClientWithBaseURI(sdkApi sdkEnv.Api) (*QueryTextsClient, error)
func (QueryTextsClient) Get ¶
func (c QueryTextsClient) Get(ctx context.Context, id QueryTextId) (result GetOperationResponse, err error)
Get ...
func (QueryTextsClient) ListByServer ¶
func (c QueryTextsClient) ListByServer(ctx context.Context, id ServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
ListByServer ...
func (QueryTextsClient) ListByServerComplete ¶
func (c QueryTextsClient) ListByServerComplete(ctx context.Context, id ServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (QueryTextsClient) ListByServerCompleteMatchingPredicate ¶
func (c QueryTextsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, options ListByServerOperationOptions, predicate QueryTextOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID