Documentation ¶
Index ¶
- 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
- type DisableAllForHostingEnvironmentOperationOptions
- type DisableAllForHostingEnvironmentOperationResponse
- type DisableAllForWebAppOperationResponse
- type DisableRecommendationForHostingEnvironmentOperationOptions
- type DisableRecommendationForHostingEnvironmentOperationResponse
- type DisableRecommendationForSiteOperationResponse
- type DisableRecommendationForSubscriptionOperationResponse
- type GetRuleDetailsByHostingEnvironmentOperationOptions
- type GetRuleDetailsByHostingEnvironmentOperationResponse
- type GetRuleDetailsByWebAppOperationOptions
- type GetRuleDetailsByWebAppOperationResponse
- type HostingEnvironmentRecommendationId
- func NewHostingEnvironmentRecommendationID(subscriptionId string, resourceGroupName string, hostingEnvironmentName string, ...) HostingEnvironmentRecommendationId
- func ParseHostingEnvironmentRecommendationID(input string) (*HostingEnvironmentRecommendationId, error)
- func ParseHostingEnvironmentRecommendationIDInsensitively(input string) (*HostingEnvironmentRecommendationId, error)
- type ListCompleteResult
- type ListHistoryForHostingEnvironmentCompleteResult
- type ListHistoryForHostingEnvironmentOperationOptions
- type ListHistoryForHostingEnvironmentOperationResponse
- type ListHistoryForWebAppCompleteResult
- type ListHistoryForWebAppOperationOptions
- type ListHistoryForWebAppOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ListRecommendedRulesForHostingEnvironmentCompleteResult
- type ListRecommendedRulesForHostingEnvironmentOperationOptions
- type ListRecommendedRulesForHostingEnvironmentOperationResponse
- type ListRecommendedRulesForWebAppCompleteResult
- type ListRecommendedRulesForWebAppOperationOptions
- type ListRecommendedRulesForWebAppOperationResponse
- type NotificationLevel
- type Recommendation
- type RecommendationId
- type RecommendationOperationPredicate
- type RecommendationProperties
- 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
- type RecommendationRuleProperties
- type RecommendationsClient
- 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
- type ResetAllFiltersForHostingEnvironmentOperationResponse
- type ResetAllFiltersForWebAppOperationResponse
- type ResetAllFiltersOperationResponse
- type ResourceScopeType
- type SiteRecommendationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForChannels ¶
func PossibleValuesForChannels() []string
func PossibleValuesForNotificationLevel ¶
func PossibleValuesForNotificationLevel() []string
func PossibleValuesForResourceScopeType ¶
func PossibleValuesForResourceScopeType() []string
func ValidateHostingEnvironmentRecommendationID ¶
func ValidateHostingEnvironmentRecommendationID(input interface{}, key string) (warnings []string, errors []error)
ValidateHostingEnvironmentRecommendationID checks that 'input' can be parsed as a Hosting Environment Recommendation ID
func ValidateRecommendationID ¶
ValidateRecommendationID checks that 'input' can be parsed as a Recommendation ID
func ValidateSiteRecommendationID ¶
func ValidateSiteRecommendationID(input interface{}, key string) (warnings []string, errors []error)
ValidateSiteRecommendationID checks that 'input' can be parsed as a Site Recommendation ID
Types ¶
type DisableAllForHostingEnvironmentOperationOptions ¶
type DisableAllForHostingEnvironmentOperationOptions struct {
EnvironmentName *string
}
func DefaultDisableAllForHostingEnvironmentOperationOptions ¶
func DefaultDisableAllForHostingEnvironmentOperationOptions() DisableAllForHostingEnvironmentOperationOptions
func (DisableAllForHostingEnvironmentOperationOptions) ToHeaders ¶
func (o DisableAllForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (DisableAllForHostingEnvironmentOperationOptions) ToOData ¶
func (o DisableAllForHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (DisableAllForHostingEnvironmentOperationOptions) ToQuery ¶
func (o DisableAllForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type DisableRecommendationForHostingEnvironmentOperationOptions ¶
type DisableRecommendationForHostingEnvironmentOperationOptions struct {
EnvironmentName *string
}
func DefaultDisableRecommendationForHostingEnvironmentOperationOptions ¶
func DefaultDisableRecommendationForHostingEnvironmentOperationOptions() DisableRecommendationForHostingEnvironmentOperationOptions
func (DisableRecommendationForHostingEnvironmentOperationOptions) ToHeaders ¶
func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (DisableRecommendationForHostingEnvironmentOperationOptions) ToOData ¶
func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (DisableRecommendationForHostingEnvironmentOperationOptions) ToQuery ¶
func (o DisableRecommendationForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type GetRuleDetailsByHostingEnvironmentOperationOptions ¶
type GetRuleDetailsByHostingEnvironmentOperationOptions struct { RecommendationId *string UpdateSeen *bool }
func DefaultGetRuleDetailsByHostingEnvironmentOperationOptions ¶
func DefaultGetRuleDetailsByHostingEnvironmentOperationOptions() GetRuleDetailsByHostingEnvironmentOperationOptions
func (GetRuleDetailsByHostingEnvironmentOperationOptions) ToHeaders ¶
func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (GetRuleDetailsByHostingEnvironmentOperationOptions) ToOData ¶
func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (GetRuleDetailsByHostingEnvironmentOperationOptions) ToQuery ¶
func (o GetRuleDetailsByHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type GetRuleDetailsByHostingEnvironmentOperationResponse ¶
type GetRuleDetailsByHostingEnvironmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecommendationRule }
type GetRuleDetailsByWebAppOperationOptions ¶
func DefaultGetRuleDetailsByWebAppOperationOptions ¶
func DefaultGetRuleDetailsByWebAppOperationOptions() GetRuleDetailsByWebAppOperationOptions
func (GetRuleDetailsByWebAppOperationOptions) ToHeaders ¶
func (o GetRuleDetailsByWebAppOperationOptions) ToHeaders() *client.Headers
func (GetRuleDetailsByWebAppOperationOptions) ToOData ¶
func (o GetRuleDetailsByWebAppOperationOptions) ToOData() *odata.Query
func (GetRuleDetailsByWebAppOperationOptions) ToQuery ¶
func (o GetRuleDetailsByWebAppOperationOptions) ToQuery() *client.QueryParams
type GetRuleDetailsByWebAppOperationResponse ¶
type GetRuleDetailsByWebAppOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecommendationRule }
type HostingEnvironmentRecommendationId ¶
type HostingEnvironmentRecommendationId struct { SubscriptionId string ResourceGroupName string HostingEnvironmentName string RecommendationName string }
HostingEnvironmentRecommendationId is a struct representing the Resource ID for a Hosting Environment Recommendation
func NewHostingEnvironmentRecommendationID ¶
func NewHostingEnvironmentRecommendationID(subscriptionId string, resourceGroupName string, hostingEnvironmentName string, recommendationName string) HostingEnvironmentRecommendationId
NewHostingEnvironmentRecommendationID returns a new HostingEnvironmentRecommendationId struct
func ParseHostingEnvironmentRecommendationID ¶
func ParseHostingEnvironmentRecommendationID(input string) (*HostingEnvironmentRecommendationId, error)
ParseHostingEnvironmentRecommendationID parses 'input' into a HostingEnvironmentRecommendationId
func ParseHostingEnvironmentRecommendationIDInsensitively ¶
func ParseHostingEnvironmentRecommendationIDInsensitively(input string) (*HostingEnvironmentRecommendationId, error)
ParseHostingEnvironmentRecommendationIDInsensitively parses 'input' case-insensitively into a HostingEnvironmentRecommendationId note: this method should only be used for API response data and not user input
func (*HostingEnvironmentRecommendationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *HostingEnvironmentRecommendationId) FromParseResult(input resourceids.ParseResult) error
func (HostingEnvironmentRecommendationId) ID ¶
func (id HostingEnvironmentRecommendationId) ID() string
ID returns the formatted Hosting Environment Recommendation ID
func (HostingEnvironmentRecommendationId) Segments ¶
func (id HostingEnvironmentRecommendationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hosting Environment Recommendation ID
func (HostingEnvironmentRecommendationId) String ¶
func (id HostingEnvironmentRecommendationId) String() string
String returns a human-readable description of this Hosting Environment Recommendation ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Recommendation }
type ListHistoryForHostingEnvironmentCompleteResult ¶
type ListHistoryForHostingEnvironmentCompleteResult struct { LatestHttpResponse *http.Response Items []Recommendation }
type ListHistoryForHostingEnvironmentOperationOptions ¶
func DefaultListHistoryForHostingEnvironmentOperationOptions ¶
func DefaultListHistoryForHostingEnvironmentOperationOptions() ListHistoryForHostingEnvironmentOperationOptions
func (ListHistoryForHostingEnvironmentOperationOptions) ToHeaders ¶
func (o ListHistoryForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (ListHistoryForHostingEnvironmentOperationOptions) ToOData ¶
func (o ListHistoryForHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (ListHistoryForHostingEnvironmentOperationOptions) ToQuery ¶
func (o ListHistoryForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type ListHistoryForHostingEnvironmentOperationResponse ¶
type ListHistoryForHostingEnvironmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Recommendation }
type ListHistoryForWebAppCompleteResult ¶
type ListHistoryForWebAppCompleteResult struct { LatestHttpResponse *http.Response Items []Recommendation }
type ListHistoryForWebAppOperationOptions ¶
func DefaultListHistoryForWebAppOperationOptions ¶
func DefaultListHistoryForWebAppOperationOptions() ListHistoryForWebAppOperationOptions
func (ListHistoryForWebAppOperationOptions) ToHeaders ¶
func (o ListHistoryForWebAppOperationOptions) ToHeaders() *client.Headers
func (ListHistoryForWebAppOperationOptions) ToOData ¶
func (o ListHistoryForWebAppOperationOptions) ToOData() *odata.Query
func (ListHistoryForWebAppOperationOptions) ToQuery ¶
func (o ListHistoryForWebAppOperationOptions) ToQuery() *client.QueryParams
type ListHistoryForWebAppOperationResponse ¶
type ListHistoryForWebAppOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Recommendation }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Recommendation }
type ListRecommendedRulesForHostingEnvironmentCompleteResult ¶
type ListRecommendedRulesForHostingEnvironmentCompleteResult struct { LatestHttpResponse *http.Response Items []Recommendation }
type ListRecommendedRulesForHostingEnvironmentOperationOptions ¶
type ListRecommendedRulesForHostingEnvironmentOperationOptions struct { Featured *bool Filter *string }
func DefaultListRecommendedRulesForHostingEnvironmentOperationOptions ¶
func DefaultListRecommendedRulesForHostingEnvironmentOperationOptions() ListRecommendedRulesForHostingEnvironmentOperationOptions
func (ListRecommendedRulesForHostingEnvironmentOperationOptions) ToHeaders ¶
func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (ListRecommendedRulesForHostingEnvironmentOperationOptions) ToOData ¶
func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (ListRecommendedRulesForHostingEnvironmentOperationOptions) ToQuery ¶
func (o ListRecommendedRulesForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type ListRecommendedRulesForHostingEnvironmentOperationResponse ¶
type ListRecommendedRulesForHostingEnvironmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Recommendation }
type ListRecommendedRulesForWebAppCompleteResult ¶
type ListRecommendedRulesForWebAppCompleteResult struct { LatestHttpResponse *http.Response Items []Recommendation }
type ListRecommendedRulesForWebAppOperationOptions ¶
func DefaultListRecommendedRulesForWebAppOperationOptions ¶
func DefaultListRecommendedRulesForWebAppOperationOptions() ListRecommendedRulesForWebAppOperationOptions
func (ListRecommendedRulesForWebAppOperationOptions) ToHeaders ¶
func (o ListRecommendedRulesForWebAppOperationOptions) ToHeaders() *client.Headers
func (ListRecommendedRulesForWebAppOperationOptions) ToOData ¶
func (o ListRecommendedRulesForWebAppOperationOptions) ToOData() *odata.Query
func (ListRecommendedRulesForWebAppOperationOptions) ToQuery ¶
func (o ListRecommendedRulesForWebAppOperationOptions) ToQuery() *client.QueryParams
type ListRecommendedRulesForWebAppOperationResponse ¶
type ListRecommendedRulesForWebAppOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Recommendation }
type NotificationLevel ¶
type NotificationLevel string
const ( NotificationLevelCritical NotificationLevel = "Critical" NotificationLevelInformation NotificationLevel = "Information" NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion" NotificationLevelWarning NotificationLevel = "Warning" )
func (*NotificationLevel) UnmarshalJSON ¶
func (s *NotificationLevel) UnmarshalJSON(bytes []byte) error
type Recommendation ¶
type Recommendation struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *RecommendationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecommendationId ¶
RecommendationId is a struct representing the Resource ID for a Recommendation
func NewRecommendationID ¶
func NewRecommendationID(subscriptionId string, recommendationName string) RecommendationId
NewRecommendationID returns a new RecommendationId struct
func ParseRecommendationID ¶
func ParseRecommendationID(input string) (*RecommendationId, error)
ParseRecommendationID parses 'input' into a RecommendationId
func ParseRecommendationIDInsensitively ¶
func ParseRecommendationIDInsensitively(input string) (*RecommendationId, error)
ParseRecommendationIDInsensitively parses 'input' case-insensitively into a RecommendationId note: this method should only be used for API response data and not user input
func (*RecommendationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *RecommendationId) FromParseResult(input resourceids.ParseResult) error
func (RecommendationId) ID ¶
func (id RecommendationId) ID() string
ID returns the formatted Recommendation ID
func (RecommendationId) Segments ¶
func (id RecommendationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recommendation ID
func (RecommendationId) String ¶
func (id RecommendationId) String() string
String returns a human-readable description of this Recommendation ID
type RecommendationOperationPredicate ¶
func (RecommendationOperationPredicate) Matches ¶
func (p RecommendationOperationPredicate) Matches(input Recommendation) bool
type RecommendationProperties ¶
type RecommendationProperties struct { ActionName *string `json:"actionName,omitempty"` BladeName *string `json:"bladeName,omitempty"` CategoryTags *[]string `json:"categoryTags,omitempty"` Channels *Channels `json:"channels,omitempty"` CreationTime *string `json:"creationTime,omitempty"` DisplayName *string `json:"displayName,omitempty"` Enabled *int64 `json:"enabled,omitempty"` EndTime *string `json:"endTime,omitempty"` ExtensionName *string `json:"extensionName,omitempty"` ForwardLink *string `json:"forwardLink,omitempty"` IsDynamic *bool `json:"isDynamic,omitempty"` Level *NotificationLevel `json:"level,omitempty"` Message *string `json:"message,omitempty"` NextNotificationTime *string `json:"nextNotificationTime,omitempty"` NotificationExpirationTime *string `json:"notificationExpirationTime,omitempty"` NotifiedTime *string `json:"notifiedTime,omitempty"` RecommendationId *string `json:"recommendationId,omitempty"` ResourceId *string `json:"resourceId,omitempty"` ResourceScope *ResourceScopeType `json:"resourceScope,omitempty"` RuleName *string `json:"ruleName,omitempty"` Score *float64 `json:"score,omitempty"` StartTime *string `json:"startTime,omitempty"` States *[]string `json:"states,omitempty"` }
func (*RecommendationProperties) GetCreationTimeAsTime ¶
func (o *RecommendationProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) GetEndTimeAsTime ¶
func (o *RecommendationProperties) GetEndTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) GetNextNotificationTimeAsTime ¶
func (o *RecommendationProperties) GetNextNotificationTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) GetNotificationExpirationTimeAsTime ¶
func (o *RecommendationProperties) GetNotificationExpirationTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) GetNotifiedTimeAsTime ¶
func (o *RecommendationProperties) GetNotifiedTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) GetStartTimeAsTime ¶
func (o *RecommendationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*RecommendationProperties) SetCreationTimeAsTime ¶
func (o *RecommendationProperties) SetCreationTimeAsTime(input time.Time)
func (*RecommendationProperties) SetEndTimeAsTime ¶
func (o *RecommendationProperties) SetEndTimeAsTime(input time.Time)
func (*RecommendationProperties) SetNextNotificationTimeAsTime ¶
func (o *RecommendationProperties) SetNextNotificationTimeAsTime(input time.Time)
func (*RecommendationProperties) SetNotificationExpirationTimeAsTime ¶
func (o *RecommendationProperties) SetNotificationExpirationTimeAsTime(input time.Time)
func (*RecommendationProperties) SetNotifiedTimeAsTime ¶
func (o *RecommendationProperties) SetNotifiedTimeAsTime(input time.Time)
func (*RecommendationProperties) SetStartTimeAsTime ¶
func (o *RecommendationProperties) SetStartTimeAsTime(input time.Time)
type RecommendationRule ¶
type RecommendationRule struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *RecommendationRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecommendationRuleProperties ¶
type RecommendationRuleProperties struct { ActionName *string `json:"actionName,omitempty"` BladeName *string `json:"bladeName,omitempty"` CategoryTags *[]string `json:"categoryTags,omitempty"` Channels *Channels `json:"channels,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExtensionName *string `json:"extensionName,omitempty"` ForwardLink *string `json:"forwardLink,omitempty"` IsDynamic *bool `json:"isDynamic,omitempty"` Level *NotificationLevel `json:"level,omitempty"` Message *string `json:"message,omitempty"` RecommendationId *string `json:"recommendationId,omitempty"` RecommendationName *string `json:"recommendationName,omitempty"` }
type RecommendationsClient ¶
type RecommendationsClient struct {
Client *resourcemanager.Client
}
func NewRecommendationsClientWithBaseURI ¶
func NewRecommendationsClientWithBaseURI(sdkApi sdkEnv.Api) (*RecommendationsClient, error)
func (RecommendationsClient) DisableAllForHostingEnvironment ¶
func (c RecommendationsClient) DisableAllForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, options DisableAllForHostingEnvironmentOperationOptions) (result DisableAllForHostingEnvironmentOperationResponse, err error)
DisableAllForHostingEnvironment ...
func (RecommendationsClient) DisableAllForWebApp ¶
func (c RecommendationsClient) DisableAllForWebApp(ctx context.Context, id commonids.AppServiceId) (result DisableAllForWebAppOperationResponse, err error)
DisableAllForWebApp ...
func (RecommendationsClient) DisableRecommendationForHostingEnvironment ¶
func (c RecommendationsClient) DisableRecommendationForHostingEnvironment(ctx context.Context, id HostingEnvironmentRecommendationId, options DisableRecommendationForHostingEnvironmentOperationOptions) (result DisableRecommendationForHostingEnvironmentOperationResponse, err error)
DisableRecommendationForHostingEnvironment ...
func (RecommendationsClient) DisableRecommendationForSite ¶
func (c RecommendationsClient) DisableRecommendationForSite(ctx context.Context, id SiteRecommendationId) (result DisableRecommendationForSiteOperationResponse, err error)
DisableRecommendationForSite ...
func (RecommendationsClient) DisableRecommendationForSubscription ¶
func (c RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, id RecommendationId) (result DisableRecommendationForSubscriptionOperationResponse, err error)
DisableRecommendationForSubscription ...
func (RecommendationsClient) GetRuleDetailsByHostingEnvironment ¶
func (c RecommendationsClient) GetRuleDetailsByHostingEnvironment(ctx context.Context, id HostingEnvironmentRecommendationId, options GetRuleDetailsByHostingEnvironmentOperationOptions) (result GetRuleDetailsByHostingEnvironmentOperationResponse, err error)
GetRuleDetailsByHostingEnvironment ...
func (RecommendationsClient) GetRuleDetailsByWebApp ¶
func (c RecommendationsClient) GetRuleDetailsByWebApp(ctx context.Context, id SiteRecommendationId, options GetRuleDetailsByWebAppOperationOptions) (result GetRuleDetailsByWebAppOperationResponse, err error)
GetRuleDetailsByWebApp ...
func (RecommendationsClient) List ¶
func (c RecommendationsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (RecommendationsClient) ListComplete ¶
func (c RecommendationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RecommendationsClient) ListCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate RecommendationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecommendationsClient) ListHistoryForHostingEnvironment ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions) (result ListHistoryForHostingEnvironmentOperationResponse, err error)
ListHistoryForHostingEnvironment ...
func (RecommendationsClient) ListHistoryForHostingEnvironmentComplete ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions) (ListHistoryForHostingEnvironmentCompleteResult, error)
ListHistoryForHostingEnvironmentComplete retrieves all the results into a single object
func (RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions, predicate RecommendationOperationPredicate) (result ListHistoryForHostingEnvironmentCompleteResult, err error)
ListHistoryForHostingEnvironmentCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecommendationsClient) ListHistoryForWebApp ¶
func (c RecommendationsClient) ListHistoryForWebApp(ctx context.Context, id commonids.AppServiceId, options ListHistoryForWebAppOperationOptions) (result ListHistoryForWebAppOperationResponse, err error)
ListHistoryForWebApp ...
func (RecommendationsClient) ListHistoryForWebAppComplete ¶
func (c RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Context, id commonids.AppServiceId, options ListHistoryForWebAppOperationOptions) (ListHistoryForWebAppCompleteResult, error)
ListHistoryForWebAppComplete retrieves all the results into a single object
func (RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceId, options ListHistoryForWebAppOperationOptions, predicate RecommendationOperationPredicate) (result ListHistoryForWebAppCompleteResult, err error)
ListHistoryForWebAppCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironment ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions) (result ListRecommendedRulesForHostingEnvironmentOperationResponse, err error)
ListRecommendedRulesForHostingEnvironment ...
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions) (ListRecommendedRulesForHostingEnvironmentCompleteResult, error)
ListRecommendedRulesForHostingEnvironmentComplete retrieves all the results into a single object
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions, predicate RecommendationOperationPredicate) (result ListRecommendedRulesForHostingEnvironmentCompleteResult, err error)
ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecommendationsClient) ListRecommendedRulesForWebApp ¶
func (c RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, id commonids.AppServiceId, options ListRecommendedRulesForWebAppOperationOptions) (result ListRecommendedRulesForWebAppOperationResponse, err error)
ListRecommendedRulesForWebApp ...
func (RecommendationsClient) ListRecommendedRulesForWebAppComplete ¶
func (c RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx context.Context, id commonids.AppServiceId, options ListRecommendedRulesForWebAppOperationOptions) (ListRecommendedRulesForWebAppCompleteResult, error)
ListRecommendedRulesForWebAppComplete retrieves all the results into a single object
func (RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate(ctx context.Context, id commonids.AppServiceId, options ListRecommendedRulesForWebAppOperationOptions, predicate RecommendationOperationPredicate) (result ListRecommendedRulesForWebAppCompleteResult, err error)
ListRecommendedRulesForWebAppCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecommendationsClient) ResetAllFilters ¶
func (c RecommendationsClient) ResetAllFilters(ctx context.Context, id commonids.SubscriptionId) (result ResetAllFiltersOperationResponse, err error)
ResetAllFilters ...
func (RecommendationsClient) ResetAllFiltersForHostingEnvironment ¶
func (c RecommendationsClient) ResetAllFiltersForHostingEnvironment(ctx context.Context, id commonids.AppServiceEnvironmentId, options ResetAllFiltersForHostingEnvironmentOperationOptions) (result ResetAllFiltersForHostingEnvironmentOperationResponse, err error)
ResetAllFiltersForHostingEnvironment ...
func (RecommendationsClient) ResetAllFiltersForWebApp ¶
func (c RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, id commonids.AppServiceId) (result ResetAllFiltersForWebAppOperationResponse, err error)
ResetAllFiltersForWebApp ...
type ResetAllFiltersForHostingEnvironmentOperationOptions ¶
type ResetAllFiltersForHostingEnvironmentOperationOptions struct {
EnvironmentName *string
}
func DefaultResetAllFiltersForHostingEnvironmentOperationOptions ¶
func DefaultResetAllFiltersForHostingEnvironmentOperationOptions() ResetAllFiltersForHostingEnvironmentOperationOptions
func (ResetAllFiltersForHostingEnvironmentOperationOptions) ToHeaders ¶
func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToHeaders() *client.Headers
func (ResetAllFiltersForHostingEnvironmentOperationOptions) ToOData ¶
func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToOData() *odata.Query
func (ResetAllFiltersForHostingEnvironmentOperationOptions) ToQuery ¶
func (o ResetAllFiltersForHostingEnvironmentOperationOptions) ToQuery() *client.QueryParams
type ResourceScopeType ¶
type ResourceScopeType string
const ( ResourceScopeTypeServerFarm ResourceScopeType = "ServerFarm" ResourceScopeTypeSubscription ResourceScopeType = "Subscription" ResourceScopeTypeWebSite ResourceScopeType = "WebSite" )
func (*ResourceScopeType) UnmarshalJSON ¶
func (s *ResourceScopeType) UnmarshalJSON(bytes []byte) error
type SiteRecommendationId ¶
type SiteRecommendationId struct { SubscriptionId string ResourceGroupName string SiteName string RecommendationName string }
SiteRecommendationId is a struct representing the Resource ID for a Site Recommendation
func NewSiteRecommendationID ¶
func NewSiteRecommendationID(subscriptionId string, resourceGroupName string, siteName string, recommendationName string) SiteRecommendationId
NewSiteRecommendationID returns a new SiteRecommendationId struct
func ParseSiteRecommendationID ¶
func ParseSiteRecommendationID(input string) (*SiteRecommendationId, error)
ParseSiteRecommendationID parses 'input' into a SiteRecommendationId
func ParseSiteRecommendationIDInsensitively ¶
func ParseSiteRecommendationIDInsensitively(input string) (*SiteRecommendationId, error)
ParseSiteRecommendationIDInsensitively parses 'input' case-insensitively into a SiteRecommendationId note: this method should only be used for API response data and not user input
func (*SiteRecommendationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SiteRecommendationId) FromParseResult(input resourceids.ParseResult) error
func (SiteRecommendationId) ID ¶
func (id SiteRecommendationId) ID() string
ID returns the formatted Site Recommendation ID
func (SiteRecommendationId) Segments ¶
func (id SiteRecommendationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Site Recommendation ID
func (SiteRecommendationId) String ¶
func (id SiteRecommendationId) String() string
String returns a human-readable description of this Site Recommendation ID
Source Files ¶
- client.go
- constants.go
- id_hostingenvironmentrecommendation.go
- id_recommendation.go
- id_siterecommendation.go
- method_disableallforhostingenvironment.go
- method_disableallforwebapp.go
- method_disablerecommendationforhostingenvironment.go
- method_disablerecommendationforsite.go
- method_disablerecommendationforsubscription.go
- method_getruledetailsbyhostingenvironment.go
- method_getruledetailsbywebapp.go
- method_list.go
- method_listhistoryforhostingenvironment.go
- method_listhistoryforwebapp.go
- method_listrecommendedrulesforhostingenvironment.go
- method_listrecommendedrulesforwebapp.go
- method_resetallfilters.go
- method_resetallfiltersforhostingenvironment.go
- method_resetallfiltersforwebapp.go
- model_recommendation.go
- model_recommendationproperties.go
- model_recommendationrule.go
- model_recommendationruleproperties.go
- predicates.go
- version.go