Documentation ¶
Index ¶
- func ValidateQueryPackID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateWithoutNameOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- 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) CreateOrUpdate(ctx context.Context, id QueryPackId, input LogAnalyticsQueryPack) (result CreateOrUpdateOperationResponse, err error)
- func (c QueryPacksClient) CreateOrUpdateWithoutName(ctx context.Context, id commonids.ResourceGroupId, input LogAnalyticsQueryPack) (result CreateOrUpdateWithoutNameOperationResponse, err error)
- func (c QueryPacksClient) Delete(ctx context.Context, id QueryPackId) (result DeleteOperationResponse, err error)
- func (c QueryPacksClient) Get(ctx context.Context, id QueryPackId) (result GetOperationResponse, err error)
- func (c QueryPacksClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c QueryPacksClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c QueryPacksClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c QueryPacksClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c QueryPacksClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c QueryPacksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c QueryPacksClient) UpdateTags(ctx context.Context, id QueryPackId, input TagsResource) (result UpdateTagsOperationResponse, err error)
- type TagsResource
- type UpdateTagsOperationResponse
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 CreateOrUpdateOperationResponse ¶ added in v0.20230906.1160501
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type CreateOrUpdateWithoutNameOperationResponse ¶ added in v0.20230906.1160501
type CreateOrUpdateWithoutNameOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type DeleteOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
type ListByResourceGroupCompleteResult ¶ added in v0.20230906.1160501
type ListByResourceGroupCompleteResult struct {
Items []LogAnalyticsQueryPack
}
type ListByResourceGroupOperationResponse ¶ added in v0.20230906.1160501
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogAnalyticsQueryPack }
type ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []LogAnalyticsQueryPack
}
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogAnalyticsQueryPack }
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) CreateOrUpdate ¶ added in v0.20230906.1160501
func (c QueryPacksClient) CreateOrUpdate(ctx context.Context, id QueryPackId, input LogAnalyticsQueryPack) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (QueryPacksClient) CreateOrUpdateWithoutName ¶ added in v0.20230906.1160501
func (c QueryPacksClient) CreateOrUpdateWithoutName(ctx context.Context, id commonids.ResourceGroupId, input LogAnalyticsQueryPack) (result CreateOrUpdateWithoutNameOperationResponse, err error)
CreateOrUpdateWithoutName ...
func (QueryPacksClient) Delete ¶ added in v0.20230906.1160501
func (c QueryPacksClient) Delete(ctx context.Context, id QueryPackId) (result DeleteOperationResponse, err error)
Delete ...
func (QueryPacksClient) Get ¶ added in v0.20230906.1160501
func (c QueryPacksClient) Get(ctx context.Context, id QueryPackId) (result GetOperationResponse, err error)
Get ...
func (QueryPacksClient) List ¶ added in v0.20230906.1160501
func (c QueryPacksClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (QueryPacksClient) ListByResourceGroup ¶ added in v0.20230906.1160501
func (c QueryPacksClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (QueryPacksClient) ListByResourceGroupComplete ¶ added in v0.20230906.1160501
func (c QueryPacksClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (QueryPacksClient) ListByResourceGroupCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c QueryPacksClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LogAnalyticsQueryPackOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QueryPacksClient) ListComplete ¶ added in v0.20230906.1160501
func (c QueryPacksClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (QueryPacksClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c QueryPacksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LogAnalyticsQueryPackOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QueryPacksClient) UpdateTags ¶ added in v0.20230906.1160501
func (c QueryPacksClient) UpdateTags(ctx context.Context, id QueryPackId, input TagsResource) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type TagsResource ¶
type UpdateTagsOperationResponse ¶ added in v0.20230906.1160501
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogAnalyticsQueryPack }
Source Files ¶
- client.go
- id_querypack.go
- method_createorupdate.go
- method_createorupdatewithoutname.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_updatetags.go
- model_loganalyticsquerypack.go
- model_loganalyticsquerypackproperties.go
- model_tagsresource.go
- predicates.go
- version.go