Documentation ¶
Index ¶
- func PossibleValuesForResultKind() []string
- func ValidateQueryID(input interface{}, key string) (warnings []string, errors []error)
- type GraphQueryProperties
- type GraphQueryPropertiesUpdateParameters
- type GraphQueryResource
- type GraphQueryUpdateOperationResponse
- type GraphQueryUpdateParameters
- type GraphqueriesClient
- 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 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 GraphQueryUpdateOperationResponse ¶
type GraphQueryUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GraphQueryResource }
type GraphQueryUpdateParameters ¶
type GraphQueryUpdateParameters struct { Etag *string `json:"etag,omitempty"` Properties *GraphQueryPropertiesUpdateParameters `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type GraphqueriesClient ¶
type GraphqueriesClient struct {
Client *resourcemanager.Client
}
func NewGraphqueriesClientWithBaseURI ¶
func NewGraphqueriesClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphqueriesClient, error)
func (GraphqueriesClient) GraphQueryUpdate ¶
func (c GraphqueriesClient) GraphQueryUpdate(ctx context.Context, id QueryId, input GraphQueryUpdateParameters) (result GraphQueryUpdateOperationResponse, err error)
GraphQueryUpdate ...
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
Click to show internal directories.
Click to hide internal directories.