Documentation ¶
Index ¶
- func PossibleValuesForFavoriteSourceType() []string
- func PossibleValuesForFavoriteType() []string
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFavoriteID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationInsightsComponentFavorite
- type ComponentId
- type FavoriteId
- type FavoriteSourceType
- type FavoriteType
- type FavoritesAPIsClient
- func (c FavoritesAPIsClient) FavoritesAdd(ctx context.Context, id FavoriteId, input ApplicationInsightsComponentFavorite) (result FavoritesAddOperationResponse, err error)
- func (c FavoritesAPIsClient) FavoritesDelete(ctx context.Context, id FavoriteId) (result FavoritesDeleteOperationResponse, err error)
- func (c FavoritesAPIsClient) FavoritesGet(ctx context.Context, id FavoriteId) (result FavoritesGetOperationResponse, err error)
- func (c FavoritesAPIsClient) FavoritesList(ctx context.Context, id ComponentId, options FavoritesListOperationOptions) (result FavoritesListOperationResponse, err error)
- func (c FavoritesAPIsClient) FavoritesUpdate(ctx context.Context, id FavoriteId, input ApplicationInsightsComponentFavorite) (result FavoritesUpdateOperationResponse, err error)
- type FavoritesAddOperationResponse
- type FavoritesDeleteOperationResponse
- type FavoritesGetOperationResponse
- type FavoritesListOperationOptions
- type FavoritesListOperationResponse
- type FavoritesUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFavoriteSourceType ¶
func PossibleValuesForFavoriteSourceType() []string
func PossibleValuesForFavoriteType ¶
func PossibleValuesForFavoriteType() []string
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
func ValidateFavoriteID ¶
ValidateFavoriteID checks that 'input' can be parsed as a Favorite ID
Types ¶
type ApplicationInsightsComponentFavorite ¶
type ApplicationInsightsComponentFavorite struct { Category *string `json:"Category,omitempty"` Config *string `json:"Config,omitempty"` FavoriteId *string `json:"FavoriteId,omitempty"` FavoriteType *FavoriteType `json:"FavoriteType,omitempty"` IsGeneratedFromTemplate *bool `json:"IsGeneratedFromTemplate,omitempty"` Name *string `json:"Name,omitempty"` SourceType *string `json:"SourceType,omitempty"` Tags *[]string `json:"Tags,omitempty"` TimeModified *string `json:"TimeModified,omitempty"` UserId *string `json:"UserId,omitempty"` Version *string `json:"Version,omitempty"` }
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type FavoriteId ¶
type FavoriteId struct { SubscriptionId string ResourceGroupName string ComponentName string FavoriteId string }
FavoriteId is a struct representing the Resource ID for a Favorite
func NewFavoriteID ¶
func NewFavoriteID(subscriptionId string, resourceGroupName string, componentName string, favoriteId string) FavoriteId
NewFavoriteID returns a new FavoriteId struct
func ParseFavoriteID ¶
func ParseFavoriteID(input string) (*FavoriteId, error)
ParseFavoriteID parses 'input' into a FavoriteId
func ParseFavoriteIDInsensitively ¶
func ParseFavoriteIDInsensitively(input string) (*FavoriteId, error)
ParseFavoriteIDInsensitively parses 'input' case-insensitively into a FavoriteId note: this method should only be used for API response data and not user input
func (FavoriteId) Segments ¶
func (id FavoriteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Favorite ID
func (FavoriteId) String ¶
func (id FavoriteId) String() string
String returns a human-readable description of this Favorite ID
type FavoriteSourceType ¶
type FavoriteSourceType string
const ( FavoriteSourceTypeEvents FavoriteSourceType = "events" FavoriteSourceTypeFunnel FavoriteSourceType = "funnel" FavoriteSourceTypeImpact FavoriteSourceType = "impact" FavoriteSourceTypeNotebook FavoriteSourceType = "notebook" FavoriteSourceTypeRetention FavoriteSourceType = "retention" FavoriteSourceTypeSegmentation FavoriteSourceType = "segmentation" FavoriteSourceTypeSessions FavoriteSourceType = "sessions" FavoriteSourceTypeUserflows FavoriteSourceType = "userflows" )
func (*FavoriteSourceType) UnmarshalJSON ¶
func (s *FavoriteSourceType) UnmarshalJSON(bytes []byte) error
type FavoriteType ¶
type FavoriteType string
const ( FavoriteTypeUser FavoriteType = "user" )
func (*FavoriteType) UnmarshalJSON ¶
func (s *FavoriteType) UnmarshalJSON(bytes []byte) error
type FavoritesAPIsClient ¶
type FavoritesAPIsClient struct {
Client *resourcemanager.Client
}
func NewFavoritesAPIsClientWithBaseURI ¶
func NewFavoritesAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*FavoritesAPIsClient, error)
func (FavoritesAPIsClient) FavoritesAdd ¶
func (c FavoritesAPIsClient) FavoritesAdd(ctx context.Context, id FavoriteId, input ApplicationInsightsComponentFavorite) (result FavoritesAddOperationResponse, err error)
FavoritesAdd ...
func (FavoritesAPIsClient) FavoritesDelete ¶
func (c FavoritesAPIsClient) FavoritesDelete(ctx context.Context, id FavoriteId) (result FavoritesDeleteOperationResponse, err error)
FavoritesDelete ...
func (FavoritesAPIsClient) FavoritesGet ¶
func (c FavoritesAPIsClient) FavoritesGet(ctx context.Context, id FavoriteId) (result FavoritesGetOperationResponse, err error)
FavoritesGet ...
func (FavoritesAPIsClient) FavoritesList ¶
func (c FavoritesAPIsClient) FavoritesList(ctx context.Context, id ComponentId, options FavoritesListOperationOptions) (result FavoritesListOperationResponse, err error)
FavoritesList ...
func (FavoritesAPIsClient) FavoritesUpdate ¶
func (c FavoritesAPIsClient) FavoritesUpdate(ctx context.Context, id FavoriteId, input ApplicationInsightsComponentFavorite) (result FavoritesUpdateOperationResponse, err error)
FavoritesUpdate ...
type FavoritesAddOperationResponse ¶
type FavoritesAddOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentFavorite }
type FavoritesGetOperationResponse ¶
type FavoritesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentFavorite }
type FavoritesListOperationOptions ¶
type FavoritesListOperationOptions struct { CanFetchContent *bool FavoriteType *FavoriteType SourceType *FavoriteSourceType Tags *string }
func DefaultFavoritesListOperationOptions ¶
func DefaultFavoritesListOperationOptions() FavoritesListOperationOptions
func (FavoritesListOperationOptions) ToHeaders ¶
func (o FavoritesListOperationOptions) ToHeaders() *client.Headers
func (FavoritesListOperationOptions) ToOData ¶
func (o FavoritesListOperationOptions) ToOData() *odata.Query
func (FavoritesListOperationOptions) ToQuery ¶
func (o FavoritesListOperationOptions) ToQuery() *client.QueryParams
type FavoritesListOperationResponse ¶
type FavoritesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationInsightsComponentFavorite }
type FavoritesUpdateOperationResponse ¶
type FavoritesUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentFavorite }