Documentation ¶
Index ¶
- func ValidateSavedSearchID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByWorkspaceOperationResponse
- type SavedSearch
- type SavedSearchId
- type SavedSearchProperties
- type SavedSearchesClient
- func (c SavedSearchesClient) CreateOrUpdate(ctx context.Context, id SavedSearchId, input SavedSearch) (result CreateOrUpdateOperationResponse, err error)
- func (c SavedSearchesClient) Delete(ctx context.Context, id SavedSearchId) (result DeleteOperationResponse, err error)
- func (c SavedSearchesClient) Get(ctx context.Context, id SavedSearchId) (result GetOperationResponse, err error)
- func (c SavedSearchesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- type SavedSearchesListResult
- type Tag
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSavedSearchID ¶
ValidateSavedSearchID checks that 'input' can be parsed as a Saved Search ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SavedSearch }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SavedSearch }
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SavedSearchesListResult }
type SavedSearch ¶
type SavedSearch struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties SavedSearchProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type SavedSearchId ¶
type SavedSearchId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SavedSearchId string }
SavedSearchId is a struct representing the Resource ID for a Saved Search
func NewSavedSearchID ¶
func NewSavedSearchID(subscriptionId string, resourceGroupName string, workspaceName string, savedSearchId string) SavedSearchId
NewSavedSearchID returns a new SavedSearchId struct
func ParseSavedSearchID ¶
func ParseSavedSearchID(input string) (*SavedSearchId, error)
ParseSavedSearchID parses 'input' into a SavedSearchId
func ParseSavedSearchIDInsensitively ¶
func ParseSavedSearchIDInsensitively(input string) (*SavedSearchId, error)
ParseSavedSearchIDInsensitively parses 'input' case-insensitively into a SavedSearchId note: this method should only be used for API response data and not user input
func (*SavedSearchId) FromParseResult ¶
func (id *SavedSearchId) FromParseResult(input resourceids.ParseResult) error
func (SavedSearchId) ID ¶
func (id SavedSearchId) ID() string
ID returns the formatted Saved Search ID
func (SavedSearchId) Segments ¶
func (id SavedSearchId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Saved Search ID
func (SavedSearchId) String ¶
func (id SavedSearchId) String() string
String returns a human-readable description of this Saved Search ID
type SavedSearchProperties ¶
type SavedSearchProperties struct { Category string `json:"category"` DisplayName string `json:"displayName"` FunctionAlias *string `json:"functionAlias,omitempty"` FunctionParameters *string `json:"functionParameters,omitempty"` Query string `json:"query"` Tags *[]Tag `json:"tags,omitempty"` Version *int64 `json:"version,omitempty"` }
type SavedSearchesClient ¶
type SavedSearchesClient struct {
Client *resourcemanager.Client
}
func NewSavedSearchesClientWithBaseURI ¶
func NewSavedSearchesClientWithBaseURI(sdkApi sdkEnv.Api) (*SavedSearchesClient, error)
func (SavedSearchesClient) CreateOrUpdate ¶
func (c SavedSearchesClient) CreateOrUpdate(ctx context.Context, id SavedSearchId, input SavedSearch) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SavedSearchesClient) Delete ¶
func (c SavedSearchesClient) Delete(ctx context.Context, id SavedSearchId) (result DeleteOperationResponse, err error)
Delete ...
func (SavedSearchesClient) Get ¶
func (c SavedSearchesClient) Get(ctx context.Context, id SavedSearchId) (result GetOperationResponse, err error)
Get ...
func (SavedSearchesClient) ListByWorkspace ¶
func (c SavedSearchesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
type SavedSearchesListResult ¶
type SavedSearchesListResult struct {
Value *[]SavedSearch `json:"value,omitempty"`
}
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID