Documentation ¶
Index ¶
- func ValidateSavedSearcheID(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 SavedSearchProperties
- type SavedSearcheId
- type SavedSearchesClient
- func (c SavedSearchesClient) CreateOrUpdate(ctx context.Context, id SavedSearcheId, input SavedSearch) (result CreateOrUpdateOperationResponse, err error)
- func (c SavedSearchesClient) Delete(ctx context.Context, id SavedSearcheId) (result DeleteOperationResponse, err error)
- func (c SavedSearchesClient) Get(ctx context.Context, id SavedSearcheId) (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 ValidateSavedSearcheID ¶
ValidateSavedSearcheID checks that 'input' can be parsed as a Saved Searche ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SavedSearch }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SavedSearch }
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response 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 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 SavedSearcheId ¶
type SavedSearcheId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SavedSearchId string }
SavedSearcheId is a struct representing the Resource ID for a Saved Searche
func NewSavedSearcheID ¶
func NewSavedSearcheID(subscriptionId string, resourceGroupName string, workspaceName string, savedSearchId string) SavedSearcheId
NewSavedSearcheID returns a new SavedSearcheId struct
func ParseSavedSearcheID ¶
func ParseSavedSearcheID(input string) (*SavedSearcheId, error)
ParseSavedSearcheID parses 'input' into a SavedSearcheId
func ParseSavedSearcheIDInsensitively ¶
func ParseSavedSearcheIDInsensitively(input string) (*SavedSearcheId, error)
ParseSavedSearcheIDInsensitively parses 'input' case-insensitively into a SavedSearcheId note: this method should only be used for API response data and not user input
func (SavedSearcheId) ID ¶
func (id SavedSearcheId) ID() string
ID returns the formatted Saved Searche ID
func (SavedSearcheId) Segments ¶
func (id SavedSearcheId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Saved Searche ID
func (SavedSearcheId) String ¶
func (id SavedSearcheId) String() string
String returns a human-readable description of this Saved Searche ID
type SavedSearchesClient ¶
type SavedSearchesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSavedSearchesClientWithBaseURI ¶
func NewSavedSearchesClientWithBaseURI(endpoint string) SavedSearchesClient
func (SavedSearchesClient) CreateOrUpdate ¶
func (c SavedSearchesClient) CreateOrUpdate(ctx context.Context, id SavedSearcheId, input SavedSearch) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SavedSearchesClient) Delete ¶
func (c SavedSearchesClient) Delete(ctx context.Context, id SavedSearcheId) (result DeleteOperationResponse, err error)
Delete ...
func (SavedSearchesClient) Get ¶
func (c SavedSearchesClient) Get(ctx context.Context, id SavedSearcheId) (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) 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