Documentation ¶
Index ¶
- func PossibleValuesForResultKind() []string
- func ValidateQueryID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GraphQueryClient
- func (c GraphQueryClient) CreateOrUpdate(ctx context.Context, id QueryId, input GraphQueryResource) (result CreateOrUpdateOperationResponse, err error)
- func (c GraphQueryClient) Delete(ctx context.Context, id QueryId) (result DeleteOperationResponse, err error)
- func (c GraphQueryClient) Get(ctx context.Context, id QueryId) (result GetOperationResponse, err error)
- func (c GraphQueryClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c GraphQueryClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c GraphQueryClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c GraphQueryClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c GraphQueryClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c GraphQueryClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- type GraphQueryProperties
- type GraphQueryResource
- type GraphQueryResourceOperationPredicate
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type QueryId
- type ResultKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResultKind ¶
func PossibleValuesForResultKind() []string
func ValidateQueryID ¶
ValidateQueryID checks that 'input' can be parsed as a Query ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GraphQueryResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GraphQueryResource }
type GraphQueryClient ¶
type GraphQueryClient struct {
Client *resourcemanager.Client
}
func NewGraphQueryClientWithBaseURI ¶
func NewGraphQueryClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphQueryClient, error)
func (GraphQueryClient) CreateOrUpdate ¶
func (c GraphQueryClient) CreateOrUpdate(ctx context.Context, id QueryId, input GraphQueryResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GraphQueryClient) Delete ¶
func (c GraphQueryClient) Delete(ctx context.Context, id QueryId) (result DeleteOperationResponse, err error)
Delete ...
func (GraphQueryClient) Get ¶
func (c GraphQueryClient) Get(ctx context.Context, id QueryId) (result GetOperationResponse, err error)
Get ...
func (GraphQueryClient) List ¶
func (c GraphQueryClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (GraphQueryClient) ListBySubscription ¶
func (c GraphQueryClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (GraphQueryClient) ListBySubscriptionComplete ¶
func (c GraphQueryClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (GraphQueryClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c GraphQueryClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate GraphQueryResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GraphQueryClient) ListComplete ¶
func (c GraphQueryClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GraphQueryClient) ListCompleteMatchingPredicate ¶
func (c GraphQueryClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate GraphQueryResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GraphQueryProperties ¶
type GraphQueryProperties struct { Description *string `json:"description,omitempty"` Query string `json:"query"` ResultKind *ResultKind `json:"resultKind,omitempty"` TimeModified *string `json:"timeModified,omitempty"` }
func (*GraphQueryProperties) GetTimeModifiedAsTime ¶
func (o *GraphQueryProperties) GetTimeModifiedAsTime() (*time.Time, error)
func (*GraphQueryProperties) SetTimeModifiedAsTime ¶
func (o *GraphQueryProperties) SetTimeModifiedAsTime(input time.Time)
type GraphQueryResource ¶
type GraphQueryResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *GraphQueryProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type GraphQueryResourceOperationPredicate ¶
type GraphQueryResourceOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (GraphQueryResourceOperationPredicate) Matches ¶
func (p GraphQueryResourceOperationPredicate) Matches(input GraphQueryResource) bool
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []GraphQueryResource }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GraphQueryResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GraphQueryResource }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GraphQueryResource }
type QueryId ¶
QueryId is a struct representing the Resource ID for a Query
func NewQueryID ¶
NewQueryID returns a new QueryId struct
func ParseQueryID ¶
ParseQueryID parses 'input' into a QueryId
func ParseQueryIDInsensitively ¶
ParseQueryIDInsensitively parses 'input' case-insensitively into a QueryId note: this method should only be used for API response data and not user input
func (*QueryId) FromParseResult ¶
func (id *QueryId) FromParseResult(input resourceids.ParseResult) error
func (QueryId) Segments ¶
func (id QueryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Query ID
type ResultKind ¶
type ResultKind string
const (
ResultKindBasic ResultKind = "basic"
)
func (*ResultKind) UnmarshalJSON ¶
func (s *ResultKind) UnmarshalJSON(bytes []byte) error