Documentation ¶
Index ¶
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProactiveDetectionConfigID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationInsightsComponentProactiveDetectionConfiguration
- type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
- type ComponentId
- type ComponentProactiveDetectionAPIsClient
- func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsGet(ctx context.Context, id ProactiveDetectionConfigId) (result ProactiveDetectionConfigurationsGetOperationResponse, err error)
- func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsList(ctx context.Context, id ComponentId) (result ProactiveDetectionConfigurationsListOperationResponse, err error)
- func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsUpdate(ctx context.Context, id ProactiveDetectionConfigId, ...) (result ProactiveDetectionConfigurationsUpdateOperationResponse, err error)
- type ProactiveDetectionConfigId
- func NewProactiveDetectionConfigID(subscriptionId string, resourceGroupName string, componentName string, ...) ProactiveDetectionConfigId
- func ParseProactiveDetectionConfigID(input string) (*ProactiveDetectionConfigId, error)
- func ParseProactiveDetectionConfigIDInsensitively(input string) (*ProactiveDetectionConfigId, error)
- type ProactiveDetectionConfigurationsGetOperationResponse
- type ProactiveDetectionConfigurationsListOperationResponse
- type ProactiveDetectionConfigurationsUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
func ValidateProactiveDetectionConfigID ¶
func ValidateProactiveDetectionConfigID(input interface{}, key string) (warnings []string, errors []error)
ValidateProactiveDetectionConfigID checks that 'input' can be parsed as a Proactive Detection Config ID
Types ¶
type ApplicationInsightsComponentProactiveDetectionConfiguration ¶
type ApplicationInsightsComponentProactiveDetectionConfiguration struct { CustomEmails *[]string `json:"CustomEmails,omitempty"` Enabled *bool `json:"Enabled,omitempty"` LastUpdatedTime *string `json:"LastUpdatedTime,omitempty"` Name *string `json:"Name,omitempty"` RuleDefinitions *ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions `json:"RuleDefinitions,omitempty"` SendEmailsToSubscriptionOwners *bool `json:"SendEmailsToSubscriptionOwners,omitempty"` }
type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ¶
type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions struct { Description *string `json:"Description,omitempty"` DisplayName *string `json:"DisplayName,omitempty"` HelpURL *string `json:"HelpUrl,omitempty"` IsEnabledByDefault *bool `json:"IsEnabledByDefault,omitempty"` IsHidden *bool `json:"IsHidden,omitempty"` IsInPreview *bool `json:"IsInPreview,omitempty"` Name *string `json:"Name,omitempty"` SupportsEmailNotifications *bool `json:"SupportsEmailNotifications,omitempty"` }
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (*ComponentId) FromParseResult ¶
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type ComponentProactiveDetectionAPIsClient ¶
type ComponentProactiveDetectionAPIsClient struct {
Client *resourcemanager.Client
}
func NewComponentProactiveDetectionAPIsClientWithBaseURI ¶
func NewComponentProactiveDetectionAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentProactiveDetectionAPIsClient, error)
func (ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsGet ¶
func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsGet(ctx context.Context, id ProactiveDetectionConfigId) (result ProactiveDetectionConfigurationsGetOperationResponse, err error)
ProactiveDetectionConfigurationsGet ...
func (ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsList ¶
func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsList(ctx context.Context, id ComponentId) (result ProactiveDetectionConfigurationsListOperationResponse, err error)
ProactiveDetectionConfigurationsList ...
func (ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsUpdate ¶
func (c ComponentProactiveDetectionAPIsClient) ProactiveDetectionConfigurationsUpdate(ctx context.Context, id ProactiveDetectionConfigId, input ApplicationInsightsComponentProactiveDetectionConfiguration) (result ProactiveDetectionConfigurationsUpdateOperationResponse, err error)
ProactiveDetectionConfigurationsUpdate ...
type ProactiveDetectionConfigId ¶
type ProactiveDetectionConfigId struct { SubscriptionId string ResourceGroupName string ComponentName string ConfigurationId string }
ProactiveDetectionConfigId is a struct representing the Resource ID for a Proactive Detection Config
func NewProactiveDetectionConfigID ¶
func NewProactiveDetectionConfigID(subscriptionId string, resourceGroupName string, componentName string, configurationId string) ProactiveDetectionConfigId
NewProactiveDetectionConfigID returns a new ProactiveDetectionConfigId struct
func ParseProactiveDetectionConfigID ¶
func ParseProactiveDetectionConfigID(input string) (*ProactiveDetectionConfigId, error)
ParseProactiveDetectionConfigID parses 'input' into a ProactiveDetectionConfigId
func ParseProactiveDetectionConfigIDInsensitively ¶
func ParseProactiveDetectionConfigIDInsensitively(input string) (*ProactiveDetectionConfigId, error)
ParseProactiveDetectionConfigIDInsensitively parses 'input' case-insensitively into a ProactiveDetectionConfigId note: this method should only be used for API response data and not user input
func (*ProactiveDetectionConfigId) FromParseResult ¶
func (id *ProactiveDetectionConfigId) FromParseResult(input resourceids.ParseResult) error
func (ProactiveDetectionConfigId) ID ¶
func (id ProactiveDetectionConfigId) ID() string
ID returns the formatted Proactive Detection Config ID
func (ProactiveDetectionConfigId) Segments ¶
func (id ProactiveDetectionConfigId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Proactive Detection Config ID
func (ProactiveDetectionConfigId) String ¶
func (id ProactiveDetectionConfigId) String() string
String returns a human-readable description of this Proactive Detection Config ID
type ProactiveDetectionConfigurationsGetOperationResponse ¶
type ProactiveDetectionConfigurationsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentProactiveDetectionConfiguration }
type ProactiveDetectionConfigurationsListOperationResponse ¶
type ProactiveDetectionConfigurationsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationInsightsComponentProactiveDetectionConfiguration }
type ProactiveDetectionConfigurationsUpdateOperationResponse ¶
type ProactiveDetectionConfigurationsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentProactiveDetectionConfiguration }
Source Files ¶
- client.go
- id_component.go
- id_proactivedetectionconfig.go
- method_proactivedetectionconfigurationsget.go
- method_proactivedetectionconfigurationslist.go
- method_proactivedetectionconfigurationsupdate.go
- model_applicationinsightscomponentproactivedetectionconfiguration.go
- model_applicationinsightscomponentproactivedetectionconfigurationruledefinitions.go
- version.go