Documentation ¶
Index ¶
- func PossibleValuesForChannels() []string
- func PossibleValuesForNotificationLevel() []string
- func PossibleValuesForResourceScopeType() []string
- func ValidateHostingEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHostingEnvironmentRecommendationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRecommendationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSiteID(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 HostingEnvironmentId
- 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 HostingEnvironmentId, ...) (result DisableAllForHostingEnvironmentOperationResponse, err error)
- func (c RecommendationsClient) DisableAllForWebApp(ctx context.Context, id SiteId) (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) (resp 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, ...) (resp ListCompleteResult, err error)
- func (c RecommendationsClient) ListHistoryForHostingEnvironment(ctx context.Context, id HostingEnvironmentId, ...) (resp ListHistoryForHostingEnvironmentOperationResponse, err error)
- func (c RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx context.Context, id HostingEnvironmentId, ...) (ListHistoryForHostingEnvironmentCompleteResult, error)
- func (c RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id HostingEnvironmentId, ...) (resp ListHistoryForHostingEnvironmentCompleteResult, err error)
- func (c RecommendationsClient) ListHistoryForWebApp(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions) (resp ListHistoryForWebAppOperationResponse, err error)
- func (c RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions) (ListHistoryForWebAppCompleteResult, error)
- func (c RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions, ...) (resp ListHistoryForWebAppCompleteResult, err error)
- func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironment(ctx context.Context, id HostingEnvironmentId, ...) (resp ListRecommendedRulesForHostingEnvironmentOperationResponse, err error)
- func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete(ctx context.Context, id HostingEnvironmentId, ...) (ListRecommendedRulesForHostingEnvironmentCompleteResult, error)
- func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id HostingEnvironmentId, ...) (resp ListRecommendedRulesForHostingEnvironmentCompleteResult, err error)
- func (c RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, id SiteId, ...) (resp ListRecommendedRulesForWebAppOperationResponse, err error)
- func (c RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx context.Context, id SiteId, ...) (ListRecommendedRulesForWebAppCompleteResult, error)
- func (c RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate(ctx context.Context, id SiteId, ...) (resp 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 HostingEnvironmentId, ...) (result ResetAllFiltersForHostingEnvironmentOperationResponse, err error)
- func (c RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, id SiteId) (result ResetAllFiltersForWebAppOperationResponse, err error)
- type ResetAllFiltersForHostingEnvironmentOperationOptions
- type ResetAllFiltersForHostingEnvironmentOperationResponse
- type ResetAllFiltersForWebAppOperationResponse
- type ResetAllFiltersOperationResponse
- type ResourceScopeType
- type SiteId
- 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 ValidateHostingEnvironmentID ¶
func ValidateHostingEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateHostingEnvironmentID checks that 'input' can be parsed as a Hosting Environment ID
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 ValidateSiteID ¶
ValidateSiteID checks that 'input' can be parsed as a Site 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
type DisableRecommendationForHostingEnvironmentOperationOptions ¶
type DisableRecommendationForHostingEnvironmentOperationOptions struct {
EnvironmentName *string
}
func DefaultDisableRecommendationForHostingEnvironmentOperationOptions ¶
func DefaultDisableRecommendationForHostingEnvironmentOperationOptions() DisableRecommendationForHostingEnvironmentOperationOptions
type GetRuleDetailsByHostingEnvironmentOperationOptions ¶
type GetRuleDetailsByHostingEnvironmentOperationOptions struct { RecommendationId *string UpdateSeen *bool }
func DefaultGetRuleDetailsByHostingEnvironmentOperationOptions ¶
func DefaultGetRuleDetailsByHostingEnvironmentOperationOptions() GetRuleDetailsByHostingEnvironmentOperationOptions
type GetRuleDetailsByHostingEnvironmentOperationResponse ¶
type GetRuleDetailsByHostingEnvironmentOperationResponse struct { HttpResponse *http.Response Model *RecommendationRule }
type GetRuleDetailsByWebAppOperationOptions ¶
func DefaultGetRuleDetailsByWebAppOperationOptions ¶
func DefaultGetRuleDetailsByWebAppOperationOptions() GetRuleDetailsByWebAppOperationOptions
type GetRuleDetailsByWebAppOperationResponse ¶
type GetRuleDetailsByWebAppOperationResponse struct { HttpResponse *http.Response Model *RecommendationRule }
type HostingEnvironmentId ¶
type HostingEnvironmentId struct { SubscriptionId string ResourceGroupName string HostingEnvironmentName string }
HostingEnvironmentId is a struct representing the Resource ID for a Hosting Environment
func NewHostingEnvironmentID ¶
func NewHostingEnvironmentID(subscriptionId string, resourceGroupName string, hostingEnvironmentName string) HostingEnvironmentId
NewHostingEnvironmentID returns a new HostingEnvironmentId struct
func ParseHostingEnvironmentID ¶
func ParseHostingEnvironmentID(input string) (*HostingEnvironmentId, error)
ParseHostingEnvironmentID parses 'input' into a HostingEnvironmentId
func ParseHostingEnvironmentIDInsensitively ¶
func ParseHostingEnvironmentIDInsensitively(input string) (*HostingEnvironmentId, error)
ParseHostingEnvironmentIDInsensitively parses 'input' case-insensitively into a HostingEnvironmentId note: this method should only be used for API response data and not user input
func (HostingEnvironmentId) ID ¶
func (id HostingEnvironmentId) ID() string
ID returns the formatted Hosting Environment ID
func (HostingEnvironmentId) Segments ¶
func (id HostingEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hosting Environment ID
func (HostingEnvironmentId) String ¶
func (id HostingEnvironmentId) String() string
String returns a human-readable description of this Hosting Environment ID
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) 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 {
Items []Recommendation
}
type ListHistoryForHostingEnvironmentCompleteResult ¶
type ListHistoryForHostingEnvironmentCompleteResult struct {
Items []Recommendation
}
type ListHistoryForHostingEnvironmentOperationOptions ¶
func DefaultListHistoryForHostingEnvironmentOperationOptions ¶
func DefaultListHistoryForHostingEnvironmentOperationOptions() ListHistoryForHostingEnvironmentOperationOptions
type ListHistoryForHostingEnvironmentOperationResponse ¶
type ListHistoryForHostingEnvironmentOperationResponse struct { HttpResponse *http.Response Model *[]Recommendation // contains filtered or unexported fields }
func (ListHistoryForHostingEnvironmentOperationResponse) HasMore ¶
func (r ListHistoryForHostingEnvironmentOperationResponse) HasMore() bool
func (ListHistoryForHostingEnvironmentOperationResponse) LoadMore ¶
func (r ListHistoryForHostingEnvironmentOperationResponse) LoadMore(ctx context.Context) (resp ListHistoryForHostingEnvironmentOperationResponse, err error)
type ListHistoryForWebAppCompleteResult ¶
type ListHistoryForWebAppCompleteResult struct {
Items []Recommendation
}
type ListHistoryForWebAppOperationOptions ¶
func DefaultListHistoryForWebAppOperationOptions ¶
func DefaultListHistoryForWebAppOperationOptions() ListHistoryForWebAppOperationOptions
type ListHistoryForWebAppOperationResponse ¶
type ListHistoryForWebAppOperationResponse struct { HttpResponse *http.Response Model *[]Recommendation // contains filtered or unexported fields }
func (ListHistoryForWebAppOperationResponse) HasMore ¶
func (r ListHistoryForWebAppOperationResponse) HasMore() bool
func (ListHistoryForWebAppOperationResponse) LoadMore ¶
func (r ListHistoryForWebAppOperationResponse) LoadMore(ctx context.Context) (resp ListHistoryForWebAppOperationResponse, err error)
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Recommendation // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListRecommendedRulesForHostingEnvironmentCompleteResult ¶
type ListRecommendedRulesForHostingEnvironmentCompleteResult struct {
Items []Recommendation
}
type ListRecommendedRulesForHostingEnvironmentOperationOptions ¶
type ListRecommendedRulesForHostingEnvironmentOperationOptions struct { Featured *bool Filter *string }
func DefaultListRecommendedRulesForHostingEnvironmentOperationOptions ¶
func DefaultListRecommendedRulesForHostingEnvironmentOperationOptions() ListRecommendedRulesForHostingEnvironmentOperationOptions
type ListRecommendedRulesForHostingEnvironmentOperationResponse ¶
type ListRecommendedRulesForHostingEnvironmentOperationResponse struct { HttpResponse *http.Response Model *[]Recommendation // contains filtered or unexported fields }
func (ListRecommendedRulesForHostingEnvironmentOperationResponse) HasMore ¶
func (r ListRecommendedRulesForHostingEnvironmentOperationResponse) HasMore() bool
func (ListRecommendedRulesForHostingEnvironmentOperationResponse) LoadMore ¶
func (r ListRecommendedRulesForHostingEnvironmentOperationResponse) LoadMore(ctx context.Context) (resp ListRecommendedRulesForHostingEnvironmentOperationResponse, err error)
type ListRecommendedRulesForWebAppCompleteResult ¶
type ListRecommendedRulesForWebAppCompleteResult struct {
Items []Recommendation
}
type ListRecommendedRulesForWebAppOperationOptions ¶
func DefaultListRecommendedRulesForWebAppOperationOptions ¶
func DefaultListRecommendedRulesForWebAppOperationOptions() ListRecommendedRulesForWebAppOperationOptions
type ListRecommendedRulesForWebAppOperationResponse ¶
type ListRecommendedRulesForWebAppOperationResponse struct { HttpResponse *http.Response Model *[]Recommendation // contains filtered or unexported fields }
func (ListRecommendedRulesForWebAppOperationResponse) HasMore ¶
func (r ListRecommendedRulesForWebAppOperationResponse) HasMore() bool
func (ListRecommendedRulesForWebAppOperationResponse) LoadMore ¶
func (r ListRecommendedRulesForWebAppOperationResponse) LoadMore(ctx context.Context) (resp ListRecommendedRulesForWebAppOperationResponse, err error)
type NotificationLevel ¶
type NotificationLevel string
const ( NotificationLevelCritical NotificationLevel = "Critical" NotificationLevelInformation NotificationLevel = "Information" NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion" NotificationLevelWarning NotificationLevel = "Warning" )
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) 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 autorest.Client // contains filtered or unexported fields }
func NewRecommendationsClientWithBaseURI ¶
func NewRecommendationsClientWithBaseURI(endpoint string) RecommendationsClient
func (RecommendationsClient) DisableAllForHostingEnvironment ¶
func (c RecommendationsClient) DisableAllForHostingEnvironment(ctx context.Context, id HostingEnvironmentId, options DisableAllForHostingEnvironmentOperationOptions) (result DisableAllForHostingEnvironmentOperationResponse, err error)
DisableAllForHostingEnvironment ...
func (RecommendationsClient) DisableAllForWebApp ¶
func (c RecommendationsClient) DisableAllForWebApp(ctx context.Context, id SiteId) (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) (resp ListOperationResponse, err error)
List ...
func (RecommendationsClient) ListComplete ¶
func (c RecommendationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (RecommendationsClient) ListCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate RecommendationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecommendationsClient) ListHistoryForHostingEnvironment ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironment(ctx context.Context, id HostingEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions) (resp ListHistoryForHostingEnvironmentOperationResponse, err error)
ListHistoryForHostingEnvironment ...
func (RecommendationsClient) ListHistoryForHostingEnvironmentComplete ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironmentComplete(ctx context.Context, id HostingEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions) (ListHistoryForHostingEnvironmentCompleteResult, error)
ListHistoryForHostingEnvironmentComplete retrieves all of the results into a single object
func (RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListHistoryForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id HostingEnvironmentId, options ListHistoryForHostingEnvironmentOperationOptions, predicate RecommendationOperationPredicate) (resp ListHistoryForHostingEnvironmentCompleteResult, err error)
ListHistoryForHostingEnvironmentCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecommendationsClient) ListHistoryForWebApp ¶
func (c RecommendationsClient) ListHistoryForWebApp(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions) (resp ListHistoryForWebAppOperationResponse, err error)
ListHistoryForWebApp ...
func (RecommendationsClient) ListHistoryForWebAppComplete ¶
func (c RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions) (ListHistoryForWebAppCompleteResult, error)
ListHistoryForWebAppComplete retrieves all of the results into a single object
func (RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListHistoryForWebAppCompleteMatchingPredicate(ctx context.Context, id SiteId, options ListHistoryForWebAppOperationOptions, predicate RecommendationOperationPredicate) (resp ListHistoryForWebAppCompleteResult, err error)
ListHistoryForWebAppCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironment ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironment(ctx context.Context, id HostingEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions) (resp ListRecommendedRulesForHostingEnvironmentOperationResponse, err error)
ListRecommendedRulesForHostingEnvironment ...
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentComplete(ctx context.Context, id HostingEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions) (ListRecommendedRulesForHostingEnvironmentCompleteResult, error)
ListRecommendedRulesForHostingEnvironmentComplete retrieves all of the results into a single object
func (RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate(ctx context.Context, id HostingEnvironmentId, options ListRecommendedRulesForHostingEnvironmentOperationOptions, predicate RecommendationOperationPredicate) (resp ListRecommendedRulesForHostingEnvironmentCompleteResult, err error)
ListRecommendedRulesForHostingEnvironmentCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecommendationsClient) ListRecommendedRulesForWebApp ¶
func (c RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, id SiteId, options ListRecommendedRulesForWebAppOperationOptions) (resp ListRecommendedRulesForWebAppOperationResponse, err error)
ListRecommendedRulesForWebApp ...
func (RecommendationsClient) ListRecommendedRulesForWebAppComplete ¶
func (c RecommendationsClient) ListRecommendedRulesForWebAppComplete(ctx context.Context, id SiteId, options ListRecommendedRulesForWebAppOperationOptions) (ListRecommendedRulesForWebAppCompleteResult, error)
ListRecommendedRulesForWebAppComplete retrieves all of the results into a single object
func (RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate ¶
func (c RecommendationsClient) ListRecommendedRulesForWebAppCompleteMatchingPredicate(ctx context.Context, id SiteId, options ListRecommendedRulesForWebAppOperationOptions, predicate RecommendationOperationPredicate) (resp ListRecommendedRulesForWebAppCompleteResult, err error)
ListRecommendedRulesForWebAppCompleteMatchingPredicate retrieves all of the results and then applied 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 HostingEnvironmentId, options ResetAllFiltersForHostingEnvironmentOperationOptions) (result ResetAllFiltersForHostingEnvironmentOperationResponse, err error)
ResetAllFiltersForHostingEnvironment ...
func (RecommendationsClient) ResetAllFiltersForWebApp ¶
func (c RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, id SiteId) (result ResetAllFiltersForWebAppOperationResponse, err error)
ResetAllFiltersForWebApp ...
type ResetAllFiltersForHostingEnvironmentOperationOptions ¶
type ResetAllFiltersForHostingEnvironmentOperationOptions struct {
EnvironmentName *string
}
func DefaultResetAllFiltersForHostingEnvironmentOperationOptions ¶
func DefaultResetAllFiltersForHostingEnvironmentOperationOptions() ResetAllFiltersForHostingEnvironmentOperationOptions
type ResourceScopeType ¶
type ResourceScopeType string
const ( ResourceScopeTypeServerFarm ResourceScopeType = "ServerFarm" ResourceScopeTypeSubscription ResourceScopeType = "Subscription" ResourceScopeTypeWebSite ResourceScopeType = "WebSite" )
type SiteId ¶
SiteId is a struct representing the Resource ID for a Site
func ParseSiteID ¶
ParseSiteID parses 'input' into a SiteId
func ParseSiteIDInsensitively ¶
ParseSiteIDInsensitively parses 'input' case-insensitively into a SiteId note: this method should only be used for API response data and not user input
func (SiteId) Segments ¶
func (id SiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Site ID
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) 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_hostingenvironment.go
- id_hostingenvironmentrecommendation.go
- id_recommendation.go
- id_site.go
- id_siterecommendation.go
- method_disableallforhostingenvironment_autorest.go
- method_disableallforwebapp_autorest.go
- method_disablerecommendationforhostingenvironment_autorest.go
- method_disablerecommendationforsite_autorest.go
- method_disablerecommendationforsubscription_autorest.go
- method_getruledetailsbyhostingenvironment_autorest.go
- method_getruledetailsbywebapp_autorest.go
- method_list_autorest.go
- method_listhistoryforhostingenvironment_autorest.go
- method_listhistoryforwebapp_autorest.go
- method_listrecommendedrulesforhostingenvironment_autorest.go
- method_listrecommendedrulesforwebapp_autorest.go
- method_resetallfilters_autorest.go
- method_resetallfiltersforhostingenvironment_autorest.go
- method_resetallfiltersforwebapp_autorest.go
- model_recommendation.go
- model_recommendationproperties.go
- model_recommendationrule.go
- model_recommendationruleproperties.go
- predicates.go
- version.go