Documentation ¶
Index ¶
- func ValidateQueryPackID(input interface{}, key string) (warnings []string, errors []error)
- type LogAnalyticsQueryPack
- type LogAnalyticsQueryPackOperationPredicate
- type LogAnalyticsQueryPackProperties
- func (o *LogAnalyticsQueryPackProperties) GetTimeCreatedAsTime() (*time.Time, error)
- func (o *LogAnalyticsQueryPackProperties) GetTimeModifiedAsTime() (*time.Time, error)
- func (o *LogAnalyticsQueryPackProperties) SetTimeCreatedAsTime(input time.Time)
- func (o *LogAnalyticsQueryPackProperties) SetTimeModifiedAsTime(input time.Time)
- type QueryPackId
- type QueryPacksClient
- func (c QueryPacksClient) QueryPacksCreateOrUpdate(ctx context.Context, id QueryPackId, input LogAnalyticsQueryPack) (result QueryPacksCreateOrUpdateOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksCreateOrUpdateWithoutName(ctx context.Context, id commonids.ResourceGroupId, input LogAnalyticsQueryPack) (result QueryPacksCreateOrUpdateWithoutNameOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksDelete(ctx context.Context, id QueryPackId) (result QueryPacksDeleteOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksGet(ctx context.Context, id QueryPackId) (result QueryPacksGetOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksList(ctx context.Context, id commonids.SubscriptionId) (result QueryPacksListOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result QueryPacksListByResourceGroupOperationResponse, err error)
- func (c QueryPacksClient) QueryPacksListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (QueryPacksListByResourceGroupCompleteResult, error)
- func (c QueryPacksClient) QueryPacksListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result QueryPacksListByResourceGroupCompleteResult, err error)
- func (c QueryPacksClient) QueryPacksListComplete(ctx context.Context, id commonids.SubscriptionId) (QueryPacksListCompleteResult, error)
- func (c QueryPacksClient) QueryPacksListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result QueryPacksListCompleteResult, err error)
- func (c QueryPacksClient) QueryPacksUpdateTags(ctx context.Context, id QueryPackId, input TagsResource) (result QueryPacksUpdateTagsOperationResponse, err error)
- type QueryPacksCreateOrUpdateOperationResponse
- type QueryPacksCreateOrUpdateWithoutNameOperationResponse
- type QueryPacksDeleteOperationResponse
- type QueryPacksGetOperationResponse
- type QueryPacksListByResourceGroupCompleteResult
- type QueryPacksListByResourceGroupOperationResponse
- type QueryPacksListCompleteResult
- type QueryPacksListOperationResponse
- type QueryPacksUpdateTagsOperationResponse
- type TagsResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateQueryPackID ¶
ValidateQueryPackID checks that 'input' can be parsed as a Query Pack ID
Types ¶
type LogAnalyticsQueryPack ¶
type LogAnalyticsQueryPackOperationPredicate ¶
type LogAnalyticsQueryPackOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (LogAnalyticsQueryPackOperationPredicate) Matches ¶
func (p LogAnalyticsQueryPackOperationPredicate) Matches(input LogAnalyticsQueryPack) bool
type LogAnalyticsQueryPackProperties ¶
type LogAnalyticsQueryPackProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` QueryPackId *string `json:"queryPackId,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` TimeModified *string `json:"timeModified,omitempty"` }
func (*LogAnalyticsQueryPackProperties) GetTimeCreatedAsTime ¶
func (o *LogAnalyticsQueryPackProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*LogAnalyticsQueryPackProperties) GetTimeModifiedAsTime ¶
func (o *LogAnalyticsQueryPackProperties) GetTimeModifiedAsTime() (*time.Time, error)
func (*LogAnalyticsQueryPackProperties) SetTimeCreatedAsTime ¶
func (o *LogAnalyticsQueryPackProperties) SetTimeCreatedAsTime(input time.Time)
func (*LogAnalyticsQueryPackProperties) SetTimeModifiedAsTime ¶
func (o *LogAnalyticsQueryPackProperties) SetTimeModifiedAsTime(input time.Time)
type QueryPackId ¶
QueryPackId is a struct representing the Resource ID for a Query Pack
func NewQueryPackID ¶
func NewQueryPackID(subscriptionId string, resourceGroupName string, queryPackName string) QueryPackId
NewQueryPackID returns a new QueryPackId struct
func ParseQueryPackID ¶
func ParseQueryPackID(input string) (*QueryPackId, error)
ParseQueryPackID parses 'input' into a QueryPackId
func ParseQueryPackIDInsensitively ¶
func ParseQueryPackIDInsensitively(input string) (*QueryPackId, error)
ParseQueryPackIDInsensitively parses 'input' case-insensitively into a QueryPackId note: this method should only be used for API response data and not user input
func (QueryPackId) Segments ¶
func (id QueryPackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Query Pack ID
func (QueryPackId) String ¶
func (id QueryPackId) String() string
String returns a human-readable description of this Query Pack ID
type QueryPacksClient ¶
type QueryPacksClient struct {
Client *resourcemanager.Client
}
func NewQueryPacksClientWithBaseURI ¶
func NewQueryPacksClientWithBaseURI(sdkApi sdkEnv.Api) (*QueryPacksClient, error)
func (QueryPacksClient) QueryPacksCreateOrUpdate ¶
func (c QueryPacksClient) QueryPacksCreateOrUpdate(ctx context.Context, id QueryPackId, input LogAnalyticsQueryPack) (result QueryPacksCreateOrUpdateOperationResponse, err error)
QueryPacksCreateOrUpdate ...
func (QueryPacksClient) QueryPacksCreateOrUpdateWithoutName ¶ added in v0.20220909.1092124
func (c QueryPacksClient) QueryPacksCreateOrUpdateWithoutName(ctx context.Context, id commonids.ResourceGroupId, input LogAnalyticsQueryPack) (result QueryPacksCreateOrUpdateWithoutNameOperationResponse, err error)
QueryPacksCreateOrUpdateWithoutName ...
func (QueryPacksClient) QueryPacksDelete ¶
func (c QueryPacksClient) QueryPacksDelete(ctx context.Context, id QueryPackId) (result QueryPacksDeleteOperationResponse, err error)
QueryPacksDelete ...
func (QueryPacksClient) QueryPacksGet ¶
func (c QueryPacksClient) QueryPacksGet(ctx context.Context, id QueryPackId) (result QueryPacksGetOperationResponse, err error)
QueryPacksGet ...
func (QueryPacksClient) QueryPacksList ¶
func (c QueryPacksClient) QueryPacksList(ctx context.Context, id commonids.SubscriptionId) (result QueryPacksListOperationResponse, err error)
QueryPacksList ...
func (QueryPacksClient) QueryPacksListByResourceGroup ¶
func (c QueryPacksClient) QueryPacksListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result QueryPacksListByResourceGroupOperationResponse, err error)
QueryPacksListByResourceGroup ...
func (QueryPacksClient) QueryPacksListByResourceGroupComplete ¶
func (c QueryPacksClient) QueryPacksListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (QueryPacksListByResourceGroupCompleteResult, error)
QueryPacksListByResourceGroupComplete retrieves all the results into a single object
func (QueryPacksClient) QueryPacksListByResourceGroupCompleteMatchingPredicate ¶
func (c QueryPacksClient) QueryPacksListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LogAnalyticsQueryPackOperationPredicate) (result QueryPacksListByResourceGroupCompleteResult, err error)
QueryPacksListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QueryPacksClient) QueryPacksListComplete ¶
func (c QueryPacksClient) QueryPacksListComplete(ctx context.Context, id commonids.SubscriptionId) (QueryPacksListCompleteResult, error)
QueryPacksListComplete retrieves all the results into a single object
func (QueryPacksClient) QueryPacksListCompleteMatchingPredicate ¶
func (c QueryPacksClient) QueryPacksListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LogAnalyticsQueryPackOperationPredicate) (result QueryPacksListCompleteResult, err error)
QueryPacksListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QueryPacksClient) QueryPacksUpdateTags ¶
func (c QueryPacksClient) QueryPacksUpdateTags(ctx context.Context, id QueryPackId, input TagsResource) (result QueryPacksUpdateTagsOperationResponse, err error)
QueryPacksUpdateTags ...
type QueryPacksCreateOrUpdateOperationResponse ¶
type QueryPacksCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type QueryPacksCreateOrUpdateWithoutNameOperationResponse ¶ added in v0.20220909.1092124
type QueryPacksCreateOrUpdateWithoutNameOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type QueryPacksGetOperationResponse ¶
type QueryPacksGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type QueryPacksListByResourceGroupCompleteResult ¶
type QueryPacksListByResourceGroupCompleteResult struct {
Items []LogAnalyticsQueryPack
}
type QueryPacksListByResourceGroupOperationResponse ¶
type QueryPacksListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogAnalyticsQueryPack }
type QueryPacksListCompleteResult ¶
type QueryPacksListCompleteResult struct {
Items []LogAnalyticsQueryPack
}
type QueryPacksListOperationResponse ¶
type QueryPacksListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogAnalyticsQueryPack }
type QueryPacksUpdateTagsOperationResponse ¶
type QueryPacksUpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type TagsResource ¶
Source Files ¶
- client.go
- id_querypack.go
- method_querypackscreateorupdate.go
- method_querypackscreateorupdatewithoutname.go
- method_querypacksdelete.go
- method_querypacksget.go
- method_querypackslist.go
- method_querypackslistbyresourcegroup.go
- method_querypacksupdatetags.go
- model_loganalyticsquerypack.go
- model_loganalyticsquerypackproperties.go
- model_tagsresource.go
- predicates.go
- version.go