Documentation ¶
Index ¶
- func PossibleValuesForReportedSeverity() []string
- func ValidateAlertID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationAlertID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type Alert
- type AlertConfidenceReason
- type AlertEntity
- type AlertId
- type AlertOperationPredicate
- type AlertProperties
- type AlertsClient
- func (c AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, id LocationAlertId) (result GetResourceGroupLevelAlertsOperationResponse, err error)
- func (c AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, id AlertId) (result GetSubscriptionLevelAlertOperationResponse, err error)
- func (c AlertsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupOperationResponse, err error)
- func (c AlertsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c AlertsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AlertsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c AlertsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId, ...) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, id ProviderLocationId, ...) (ListResourceGroupLevelAlertsByRegionCompleteResult, error)
- func (c AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, ...) (resp ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId, ...) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, id LocationId, ...) (ListSubscriptionLevelAlertsByRegionCompleteResult, error)
- func (c AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (resp ListSubscriptionLevelAlertsByRegionCompleteResult, err error)
- func (c AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToDismissOperationResponse, err error)
- func (c AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToReactivateOperationResponse, ...)
- func (c AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToDismissOperationResponse, err error)
- func (c AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToReactivateOperationResponse, ...)
- type GetResourceGroupLevelAlertsOperationResponse
- type GetSubscriptionLevelAlertOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListResourceGroupLevelAlertsByRegionCompleteResult
- type ListResourceGroupLevelAlertsByRegionOperationOptions
- type ListResourceGroupLevelAlertsByRegionOperationResponse
- type ListSubscriptionLevelAlertsByRegionCompleteResult
- type ListSubscriptionLevelAlertsByRegionOperationOptions
- type ListSubscriptionLevelAlertsByRegionOperationResponse
- type LocationAlertId
- type LocationId
- type ProviderLocationId
- type ReportedSeverity
- type UpdateResourceGroupLevelAlertStateToDismissOperationResponse
- type UpdateResourceGroupLevelAlertStateToReactivateOperationResponse
- type UpdateSubscriptionLevelAlertStateToDismissOperationResponse
- type UpdateSubscriptionLevelAlertStateToReactivateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForReportedSeverity ¶
func PossibleValuesForReportedSeverity() []string
func ValidateAlertID ¶
ValidateAlertID checks that 'input' can be parsed as a Alert ID
func ValidateLocationAlertID ¶
ValidateLocationAlertID checks that 'input' can be parsed as a Location Alert ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type Alert ¶
type Alert struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AlertProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AlertConfidenceReason ¶
type AlertEntity ¶
type AlertEntity struct {
Type *string `json:"type,omitempty"`
}
type AlertId ¶
AlertId is a struct representing the Resource ID for a Alert
func NewAlertID ¶
NewAlertID returns a new AlertId struct
func ParseAlertID ¶
ParseAlertID parses 'input' into a AlertId
func ParseAlertIDInsensitively ¶
ParseAlertIDInsensitively parses 'input' case-insensitively into a AlertId note: this method should only be used for API response data and not user input
func (AlertId) Segments ¶
func (id AlertId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Alert ID
type AlertOperationPredicate ¶
func (AlertOperationPredicate) Matches ¶
func (p AlertOperationPredicate) Matches(input Alert) bool
type AlertProperties ¶
type AlertProperties struct { ActionTaken *string `json:"actionTaken,omitempty"` AlertDisplayName *string `json:"alertDisplayName,omitempty"` AlertName *string `json:"alertName,omitempty"` AssociatedResource *string `json:"associatedResource,omitempty"` CanBeInvestigated *bool `json:"canBeInvestigated,omitempty"` CompromisedEntity *string `json:"compromisedEntity,omitempty"` ConfidenceReasons *[]AlertConfidenceReason `json:"confidenceReasons,omitempty"` ConfidenceScore *float64 `json:"confidenceScore,omitempty"` CorrelationKey *string `json:"correlationKey,omitempty"` Description *string `json:"description,omitempty"` DetectedTimeUtc *string `json:"detectedTimeUtc,omitempty"` Entities *[]AlertEntity `json:"entities,omitempty"` ExtendedProperties *interface{} `json:"extendedProperties,omitempty"` InstanceId *string `json:"instanceId,omitempty"` IsIncident *bool `json:"isIncident,omitempty"` RemediationSteps *string `json:"remediationSteps,omitempty"` ReportedSeverity *ReportedSeverity `json:"reportedSeverity,omitempty"` ReportedTimeUtc *string `json:"reportedTimeUtc,omitempty"` State *string `json:"state,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SystemSource *string `json:"systemSource,omitempty"` VendorName *string `json:"vendorName,omitempty"` WorkspaceArmId *string `json:"workspaceArmId,omitempty"` }
func (*AlertProperties) GetDetectedTimeUtcAsTime ¶
func (o *AlertProperties) GetDetectedTimeUtcAsTime() (*time.Time, error)
func (*AlertProperties) GetReportedTimeUtcAsTime ¶
func (o *AlertProperties) GetReportedTimeUtcAsTime() (*time.Time, error)
func (*AlertProperties) SetDetectedTimeUtcAsTime ¶
func (o *AlertProperties) SetDetectedTimeUtcAsTime(input time.Time)
func (*AlertProperties) SetReportedTimeUtcAsTime ¶
func (o *AlertProperties) SetReportedTimeUtcAsTime(input time.Time)
type AlertsClient ¶
func NewAlertsClientWithBaseURI ¶
func NewAlertsClientWithBaseURI(endpoint string) AlertsClient
func (AlertsClient) GetResourceGroupLevelAlerts ¶
func (c AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, id LocationAlertId) (result GetResourceGroupLevelAlertsOperationResponse, err error)
GetResourceGroupLevelAlerts ...
func (AlertsClient) GetSubscriptionLevelAlert ¶
func (c AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, id AlertId) (result GetSubscriptionLevelAlertOperationResponse, err error)
GetSubscriptionLevelAlert ...
func (AlertsClient) List ¶
func (c AlertsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (AlertsClient) ListByResourceGroup ¶
func (c AlertsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AlertsClient) ListByResourceGroupComplete ¶
func (c AlertsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AlertsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AlertsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate AlertOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListComplete ¶
func (c AlertsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AlertsClient) ListCompleteMatchingPredicate ¶
func (c AlertsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate AlertOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListResourceGroupLevelAlertsByRegion ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, id ProviderLocationId, options ListResourceGroupLevelAlertsByRegionOperationOptions) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
ListResourceGroupLevelAlertsByRegion ...
func (AlertsClient) ListResourceGroupLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, id ProviderLocationId, options ListResourceGroupLevelAlertsByRegionOperationOptions) (ListResourceGroupLevelAlertsByRegionCompleteResult, error)
ListResourceGroupLevelAlertsByRegionComplete retrieves all of the results into a single object
func (AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, options ListResourceGroupLevelAlertsByRegionOperationOptions, predicate AlertOperationPredicate) (resp ListResourceGroupLevelAlertsByRegionCompleteResult, err error)
ListResourceGroupLevelAlertsByRegionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) ListSubscriptionLevelAlertsByRegion ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, id LocationId, options ListSubscriptionLevelAlertsByRegionOperationOptions) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
ListSubscriptionLevelAlertsByRegion ...
func (AlertsClient) ListSubscriptionLevelAlertsByRegionComplete ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, id LocationId, options ListSubscriptionLevelAlertsByRegionOperationOptions) (ListSubscriptionLevelAlertsByRegionCompleteResult, error)
ListSubscriptionLevelAlertsByRegionComplete retrieves all of the results into a single object
func (AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate ¶
func (c AlertsClient) ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListSubscriptionLevelAlertsByRegionOperationOptions, predicate AlertOperationPredicate) (resp ListSubscriptionLevelAlertsByRegionCompleteResult, err error)
ListSubscriptionLevelAlertsByRegionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss ¶
func (c AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToDismissOperationResponse, err error)
UpdateResourceGroupLevelAlertStateToDismiss ...
func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate ¶
func (c AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate(ctx context.Context, id LocationAlertId) (result UpdateResourceGroupLevelAlertStateToReactivateOperationResponse, err error)
UpdateResourceGroupLevelAlertStateToReactivate ...
func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss ¶
func (c AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToDismissOperationResponse, err error)
UpdateSubscriptionLevelAlertStateToDismiss ...
func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate ¶
func (c AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate(ctx context.Context, id AlertId) (result UpdateSubscriptionLevelAlertStateToReactivateOperationResponse, err error)
UpdateSubscriptionLevelAlertStateToReactivate ...
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Alert
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct { AutoDismissRuleName *string Expand *string Filter *string Select *string }
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Alert
}
type ListOperationOptions ¶
type ListOperationOptions struct { AutoDismissRuleName *string Expand *string Filter *string Select *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Alert // 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 ListResourceGroupLevelAlertsByRegionCompleteResult ¶
type ListResourceGroupLevelAlertsByRegionCompleteResult struct {
Items []Alert
}
type ListResourceGroupLevelAlertsByRegionOperationOptions ¶
type ListResourceGroupLevelAlertsByRegionOperationOptions struct { AutoDismissRuleName *string Expand *string Filter *string Select *string }
func DefaultListResourceGroupLevelAlertsByRegionOperationOptions ¶
func DefaultListResourceGroupLevelAlertsByRegionOperationOptions() ListResourceGroupLevelAlertsByRegionOperationOptions
type ListResourceGroupLevelAlertsByRegionOperationResponse ¶
type ListResourceGroupLevelAlertsByRegionOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListResourceGroupLevelAlertsByRegionOperationResponse) HasMore ¶
func (r ListResourceGroupLevelAlertsByRegionOperationResponse) HasMore() bool
func (ListResourceGroupLevelAlertsByRegionOperationResponse) LoadMore ¶
func (r ListResourceGroupLevelAlertsByRegionOperationResponse) LoadMore(ctx context.Context) (resp ListResourceGroupLevelAlertsByRegionOperationResponse, err error)
type ListSubscriptionLevelAlertsByRegionCompleteResult ¶
type ListSubscriptionLevelAlertsByRegionCompleteResult struct {
Items []Alert
}
type ListSubscriptionLevelAlertsByRegionOperationOptions ¶
type ListSubscriptionLevelAlertsByRegionOperationOptions struct { AutoDismissRuleName *string Expand *string Filter *string Select *string }
func DefaultListSubscriptionLevelAlertsByRegionOperationOptions ¶
func DefaultListSubscriptionLevelAlertsByRegionOperationOptions() ListSubscriptionLevelAlertsByRegionOperationOptions
type ListSubscriptionLevelAlertsByRegionOperationResponse ¶
type ListSubscriptionLevelAlertsByRegionOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListSubscriptionLevelAlertsByRegionOperationResponse) HasMore ¶
func (r ListSubscriptionLevelAlertsByRegionOperationResponse) HasMore() bool
func (ListSubscriptionLevelAlertsByRegionOperationResponse) LoadMore ¶
func (r ListSubscriptionLevelAlertsByRegionOperationResponse) LoadMore(ctx context.Context) (resp ListSubscriptionLevelAlertsByRegionOperationResponse, err error)
type LocationAlertId ¶
type LocationAlertId struct { SubscriptionId string ResourceGroupName string LocationName string AlertName string }
LocationAlertId is a struct representing the Resource ID for a Location Alert
func NewLocationAlertID ¶
func NewLocationAlertID(subscriptionId string, resourceGroupName string, locationName string, alertName string) LocationAlertId
NewLocationAlertID returns a new LocationAlertId struct
func ParseLocationAlertID ¶
func ParseLocationAlertID(input string) (*LocationAlertId, error)
ParseLocationAlertID parses 'input' into a LocationAlertId
func ParseLocationAlertIDInsensitively ¶
func ParseLocationAlertIDInsensitively(input string) (*LocationAlertId, error)
ParseLocationAlertIDInsensitively parses 'input' case-insensitively into a LocationAlertId note: this method should only be used for API response data and not user input
func (LocationAlertId) ID ¶
func (id LocationAlertId) ID() string
ID returns the formatted Location Alert ID
func (LocationAlertId) Segments ¶
func (id LocationAlertId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location Alert ID
func (LocationAlertId) String ¶
func (id LocationAlertId) String() string
String returns a human-readable description of this Location Alert ID
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type ReportedSeverity ¶
type ReportedSeverity string
const ( ReportedSeverityHigh ReportedSeverity = "High" ReportedSeverityInformational ReportedSeverity = "Informational" ReportedSeverityLow ReportedSeverity = "Low" ReportedSeverityMedium ReportedSeverity = "Medium" )
Source Files ¶
- client.go
- constants.go
- id_alert.go
- id_location.go
- id_locationalert.go
- id_providerlocation.go
- method_getresourcegrouplevelalerts_autorest.go
- method_getsubscriptionlevelalert_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listresourcegrouplevelalertsbyregion_autorest.go
- method_listsubscriptionlevelalertsbyregion_autorest.go
- method_updateresourcegrouplevelalertstatetodismiss_autorest.go
- method_updateresourcegrouplevelalertstatetoreactivate_autorest.go
- method_updatesubscriptionlevelalertstatetodismiss_autorest.go
- method_updatesubscriptionlevelalertstatetoreactivate_autorest.go
- model_alert.go
- model_alertconfidencereason.go
- model_alertentity.go
- model_alertproperties.go
- predicates.go
- version.go