Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForChannels() []string + func PossibleValuesForNotificationLevel() []string + func PossibleValuesForResourceScopeType() []string + func ValidateHostingEnvironmentRecommendationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRecommendationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateSiteRecommendationID(input interface{}, key string) (warnings []string, errors []error) + type Channels string + const ChannelsAll + const ChannelsApi + const ChannelsEmail + const ChannelsNotification + const ChannelsWebhook + func (s *Channels) UnmarshalJSON(bytes []byte) error + type DisableAllForHostingEnvironmentOperationOptions struct + EnvironmentName *string + func DefaultDisableAllForHostingEnvironmentOperationOptions() DisableAllForHostingEnvironmentOperationOptions + func (o DisableAllForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o DisableAllForHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o DisableAllForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type DisableAllForHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisableAllForWebAppOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisableRecommendationForHostingEnvironmentOperationOptions struct + EnvironmentName *string + func DefaultDisableRecommendationForHostingEnvironmentOperationOptions() DisableRecommendationForHostingEnvironmentOperationOptions + func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type DisableRecommendationForHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisableRecommendationForSiteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisableRecommendationForSubscriptionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetRuleDetailsByHostingEnvironmentOperationOptions struct + RecommendationId *string + UpdateSeen *bool + func DefaultGetRuleDetailsByHostingEnvironmentOperationOptions() GetRuleDetailsByHostingEnvironmentOperationOptions + func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type GetRuleDetailsByHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + Model *RecommendationRule + OData *odata.OData + type GetRuleDetailsByWebAppOperationOptions struct + RecommendationId *string + UpdateSeen *bool + func DefaultGetRuleDetailsByWebAppOperationOptions() GetRuleDetailsByWebAppOperationOptions + func (o GetRuleDetailsByWebAppOperationOptions) ToHeaders() *client.Headers + func (o GetRuleDetailsByWebAppOperationOptions) ToOData() *odata.Query + func (o GetRuleDetailsByWebAppOperationOptions) ToQuery() *client.QueryParams + type GetRuleDetailsByWebAppOperationResponse struct + HttpResponse *http.Response + Model *RecommendationRule + OData *odata.OData + type HostingEnvironmentRecommendationId struct + HostingEnvironmentName string + RecommendationName string + ResourceGroupName string + SubscriptionId string + func NewHostingEnvironmentRecommendationID(subscriptionId string, resourceGroupName string, hostingEnvironmentName string, ...) HostingEnvironmentRecommendationId + func ParseHostingEnvironmentRecommendationID(input string) (*HostingEnvironmentRecommendationId, error) + func ParseHostingEnvironmentRecommendationIDInsensitively(input string) (*HostingEnvironmentRecommendationId, error) + func (id *HostingEnvironmentRecommendationId) FromParseResult(input resourceids.ParseResult) error + func (id HostingEnvironmentRecommendationId) ID() string + func (id HostingEnvironmentRecommendationId) Segments() []resourceids.Segment + func (id HostingEnvironmentRecommendationId) String() string + type ListCompleteResult struct + Items []Recommendation + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListHistoryForHostingEnvironmentCompleteResult struct + Items []Recommendation + LatestHttpResponse *http.Response + type ListHistoryForHostingEnvironmentCustomPager struct + NextLink *odata.Link + func (p *ListHistoryForHostingEnvironmentCustomPager) NextPageLink() *odata.Link + type ListHistoryForHostingEnvironmentOperationOptions struct + ExpiredOnly *bool + Filter *string + func DefaultListHistoryForHostingEnvironmentOperationOptions() ListHistoryForHostingEnvironmentOperationOptions + func (o ListHistoryForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o ListHistoryForHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o ListHistoryForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type ListHistoryForHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + Model *[]Recommendation + OData *odata.OData + type ListHistoryForWebAppCompleteResult struct + Items []Recommendation + LatestHttpResponse *http.Response + type ListHistoryForWebAppCustomPager struct + NextLink *odata.Link + func (p *ListHistoryForWebAppCustomPager) NextPageLink() *odata.Link + type ListHistoryForWebAppOperationOptions struct + ExpiredOnly *bool + Filter *string + func DefaultListHistoryForWebAppOperationOptions() ListHistoryForWebAppOperationOptions + func (o ListHistoryForWebAppOperationOptions) ToHeaders() *client.Headers + func (o ListHistoryForWebAppOperationOptions) ToOData() *odata.Query + func (o ListHistoryForWebAppOperationOptions) ToQuery() *client.QueryParams + type ListHistoryForWebAppOperationResponse struct + HttpResponse *http.Response + Model *[]Recommendation + OData *odata.OData + type ListOperationOptions struct + Featured *bool + Filter *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Recommendation + OData *odata.OData + type ListRecommendedRulesForHostingEnvironmentCompleteResult struct + Items []Recommendation + LatestHttpResponse *http.Response + type ListRecommendedRulesForHostingEnvironmentCustomPager struct + NextLink *odata.Link + func (p *ListRecommendedRulesForHostingEnvironmentCustomPager) NextPageLink() *odata.Link + type ListRecommendedRulesForHostingEnvironmentOperationOptions struct + Featured *bool + Filter *string + func DefaultListRecommendedRulesForHostingEnvironmentOperationOptions() ListRecommendedRulesForHostingEnvironmentOperationOptions + func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type ListRecommendedRulesForHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + Model *[]Recommendation + OData *odata.OData + type ListRecommendedRulesForWebAppCompleteResult struct + Items []Recommendation + LatestHttpResponse *http.Response + type ListRecommendedRulesForWebAppCustomPager struct + NextLink *odata.Link + func (p *ListRecommendedRulesForWebAppCustomPager) NextPageLink() *odata.Link + type ListRecommendedRulesForWebAppOperationOptions struct + Featured *bool + Filter *string + func DefaultListRecommendedRulesForWebAppOperationOptions() ListRecommendedRulesForWebAppOperationOptions + func (o ListRecommendedRulesForWebAppOperationOptions) ToHeaders() *client.Headers + func (o ListRecommendedRulesForWebAppOperationOptions) ToOData() *odata.Query + func (o ListRecommendedRulesForWebAppOperationOptions) ToQuery() *client.QueryParams + type ListRecommendedRulesForWebAppOperationResponse struct + HttpResponse *http.Response + Model *[]Recommendation + OData *odata.OData + type NotificationLevel string + const NotificationLevelCritical + const NotificationLevelInformation + const NotificationLevelNonUrgentSuggestion + const NotificationLevelWarning + func (s *NotificationLevel) UnmarshalJSON(bytes []byte) error + type Recommendation struct + Id *string + Kind *string + Name *string + Properties *RecommendationProperties + Type *string + type RecommendationId struct + RecommendationName string + SubscriptionId string + func NewRecommendationID(subscriptionId string, recommendationName string) RecommendationId + func ParseRecommendationID(input string) (*RecommendationId, error) + func ParseRecommendationIDInsensitively(input string) (*RecommendationId, error) + func (id *RecommendationId) FromParseResult(input resourceids.ParseResult) error + func (id RecommendationId) ID() string + func (id RecommendationId) Segments() []resourceids.Segment + func (id RecommendationId) String() string + type RecommendationOperationPredicate struct + Id *string + Kind *string + Name *string + Type *string + func (p RecommendationOperationPredicate) Matches(input Recommendation) bool + type RecommendationProperties struct + ActionName *string + BladeName *string + CategoryTags *[]string + Channels *Channels + CreationTime *string + DisplayName *string + Enabled *int64 + EndTime *string + ExtensionName *string + ForwardLink *string + IsDynamic *bool + Level *NotificationLevel + Message *string + NextNotificationTime *string + NotificationExpirationTime *string + NotifiedTime *string + RecommendationId *string + ResourceId *string + ResourceScope *ResourceScopeType + RuleName *string + Score *float64 + StartTime *string + States *[]string + func (o *RecommendationProperties) GetCreationTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) GetEndTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) GetNextNotificationTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) GetNotificationExpirationTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) GetNotifiedTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) GetStartTimeAsTime() (*time.Time, error) + func (o *RecommendationProperties) SetCreationTimeAsTime(input time.Time) + func (o *RecommendationProperties) SetEndTimeAsTime(input time.Time) + func (o *RecommendationProperties) SetNextNotificationTimeAsTime(input time.Time) + func (o *RecommendationProperties) SetNotificationExpirationTimeAsTime(input time.Time) + func (o *RecommendationProperties) SetNotifiedTimeAsTime(input time.Time) + func (o *RecommendationProperties) SetStartTimeAsTime(input time.Time) + type RecommendationRule struct + Id *string + Kind *string + Name *string + Properties *RecommendationRuleProperties + Type *string + type RecommendationRuleProperties struct + ActionName *string + BladeName *string + CategoryTags *[]string + Channels *Channels + Description *string + DisplayName *string + ExtensionName *string + ForwardLink *string + IsDynamic *bool + Level *NotificationLevel + Message *string + RecommendationId *string + RecommendationName *string + type RecommendationsClient struct + Client *resourcemanager.Client + func NewRecommendationsClientWithBaseURI(sdkApi sdkEnv.Api) (*RecommendationsClient, error) + func (c RecommendationsClient) DisableAllForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result DisableAllForHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) DisableAllForWebApp(ctx context.Context, id commonids.AppServiceId) (result DisableAllForWebAppOperationResponse, err error) + func (c RecommendationsClient) DisableRecommendationForHostingEnvironment(ctx context.Context, id HostingEnvironmentRecommendationId, ...) (result DisableRecommendationForHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) DisableRecommendationForSite(ctx context.Context, id SiteRecommendationId) (result DisableRecommendationForSiteOperationResponse, err error) + func (c RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, id RecommendationId) (result DisableRecommendationForSubscriptionOperationResponse, err error) + func (c RecommendationsClient) GetRuleDetailsByHostingEnvironment(ctx context.Context, id HostingEnvironmentRecommendationId, ...) (result GetRuleDetailsByHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) GetRuleDetailsByWebApp(ctx context.Context, id SiteRecommendationId, ...) (result GetRuleDetailsByWebAppOperationResponse, err error) + func (c RecommendationsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c RecommendationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error) + func (c RecommendationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c RecommendationsClient) ListHistoryForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result ListHistoryForHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (ListHistoryForHostingEnvironmentCompleteResult, error) + func (c RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result ListHistoryForHostingEnvironmentCompleteResult, err error) + func (c RecommendationsClient) ListHistoryForWebApp(ctx context.Context, id commonids.AppServiceId, ...) (result ListHistoryForWebAppOperationResponse, err error) + func (c RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Context, id commonids.AppServiceId, ...) (ListHistoryForWebAppCompleteResult, error) + func (c RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceId, ...) (result ListHistoryForWebAppCompleteResult, err error) + func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result ListRecommendedRulesForHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (ListRecommendedRulesForHostingEnvironmentCompleteResult, error) + func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result ListRecommendedRulesForHostingEnvironmentCompleteResult, err error) + func (c RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, id commonids.AppServiceId, ...) (result ListRecommendedRulesForWebAppOperationResponse, err error) + func (c RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx context.Context, id commonids.AppServiceId, ...) (ListRecommendedRulesForWebAppCompleteResult, error) + func (c RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceId, ...) (result ListRecommendedRulesForWebAppCompleteResult, err error) + func (c RecommendationsClient) ResetAllFilters(ctx context.Context, id commonids.SubscriptionId) (result ResetAllFiltersOperationResponse, err error) + func (c RecommendationsClient) ResetAllFiltersForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, ...) (result ResetAllFiltersForHostingEnvironmentOperationResponse, err error) + func (c RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, id commonids.AppServiceId) (result ResetAllFiltersForWebAppOperationResponse, err error) + type ResetAllFiltersForHostingEnvironmentOperationOptions struct + EnvironmentName *string + func DefaultResetAllFiltersForHostingEnvironmentOperationOptions() ResetAllFiltersForHostingEnvironmentOperationOptions + func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers + func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToOData() *odata.Query + func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams + type ResetAllFiltersForHostingEnvironmentOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ResetAllFiltersForWebAppOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ResetAllFiltersOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ResourceScopeType string + const ResourceScopeTypeServerFarm + const ResourceScopeTypeSubscription + const ResourceScopeTypeWebSite + func (s *ResourceScopeType) UnmarshalJSON(bytes []byte) error + type SiteRecommendationId struct + RecommendationName string + ResourceGroupName string + SiteName string + SubscriptionId string + func NewSiteRecommendationID(subscriptionId string, resourceGroupName string, siteName string, ...) SiteRecommendationId + func ParseSiteRecommendationID(input string) (*SiteRecommendationId, error) + func ParseSiteRecommendationIDInsensitively(input string) (*SiteRecommendationId, error) + func (id *SiteRecommendationId) FromParseResult(input resourceids.ParseResult) error + func (id SiteRecommendationId) ID() string + func (id SiteRecommendationId) Segments() []resourceids.Segment + func (id SiteRecommendationId) String() string