Documentation ¶
Index ¶
- func PossibleValuesForSecurityEventType() []string
- func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type ManagedDatabaseSecurityEventsClient
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type ManagedInstanceDatabaseId
- func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceDatabaseId
- func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
- func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
- type SecurityEvent
- type SecurityEventOperationPredicate
- type SecurityEventProperties
- type SecurityEventSqlInjectionAdditionalProperties
- type SecurityEventType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSecurityEventType ¶
func PossibleValuesForSecurityEventType() []string
func ValidateManagedInstanceDatabaseID ¶
func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceDatabaseID checks that 'input' can be parsed as a Managed Instance Database ID
Types ¶
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []SecurityEvent
}
type ListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions() ListByDatabaseOperationOptions
func (ListByDatabaseOperationOptions) ToHeaders ¶
func (o ListByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByDatabaseOperationOptions) ToOData ¶
func (o ListByDatabaseOperationOptions) ToOData() *odata.Query
func (ListByDatabaseOperationOptions) ToQuery ¶
func (o ListByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityEvent }
type ManagedDatabaseSecurityEventsClient ¶
type ManagedDatabaseSecurityEventsClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseSecurityEventsClientWithBaseURI ¶
func NewManagedDatabaseSecurityEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseSecurityEventsClient, error)
func (ManagedDatabaseSecurityEventsClient) ListByDatabase ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, options ListByDatabaseOperationOptions, predicate SecurityEventOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ManagedInstanceDatabaseId ¶
type ManagedInstanceDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string }
ManagedInstanceDatabaseId is a struct representing the Resource ID for a Managed Instance Database
func NewManagedInstanceDatabaseID ¶
func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string) ManagedInstanceDatabaseId
NewManagedInstanceDatabaseID returns a new ManagedInstanceDatabaseId struct
func ParseManagedInstanceDatabaseID ¶
func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseID parses 'input' into a ManagedInstanceDatabaseId
func ParseManagedInstanceDatabaseIDInsensitively ¶
func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceDatabaseId) ID ¶
func (id ManagedInstanceDatabaseId) ID() string
ID returns the formatted Managed Instance Database ID
func (ManagedInstanceDatabaseId) Segments ¶
func (id ManagedInstanceDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Database ID
func (ManagedInstanceDatabaseId) String ¶
func (id ManagedInstanceDatabaseId) String() string
String returns a human-readable description of this Managed Instance Database ID
type SecurityEvent ¶
type SecurityEvent struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityEventProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityEventOperationPredicate ¶
func (SecurityEventOperationPredicate) Matches ¶
func (p SecurityEventOperationPredicate) Matches(input SecurityEvent) bool
type SecurityEventProperties ¶
type SecurityEventProperties struct { ApplicationName *string `json:"applicationName,omitempty"` ClientIP *string `json:"clientIp,omitempty"` Database *string `json:"database,omitempty"` EventTime *string `json:"eventTime,omitempty"` PrincipalName *string `json:"principalName,omitempty"` SecurityEventSqlInjectionAdditionalProperties *SecurityEventSqlInjectionAdditionalProperties `json:"securityEventSqlInjectionAdditionalProperties,omitempty"` SecurityEventType *SecurityEventType `json:"securityEventType,omitempty"` Server *string `json:"server,omitempty"` Subscription *string `json:"subscription,omitempty"` }
func (*SecurityEventProperties) GetEventTimeAsTime ¶
func (o *SecurityEventProperties) GetEventTimeAsTime() (*time.Time, error)
func (*SecurityEventProperties) SetEventTimeAsTime ¶
func (o *SecurityEventProperties) SetEventTimeAsTime(input time.Time)
type SecurityEventSqlInjectionAdditionalProperties ¶
type SecurityEventSqlInjectionAdditionalProperties struct { ErrorCode *int64 `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSeverity *int64 `json:"errorSeverity,omitempty"` Statement *string `json:"statement,omitempty"` StatementHighlightLength *int64 `json:"statementHighlightLength,omitempty"` StatementHighlightOffset *int64 `json:"statementHighlightOffset,omitempty"` ThreatId *string `json:"threatId,omitempty"` }
type SecurityEventType ¶
type SecurityEventType string
const ( SecurityEventTypeSqlInjectionExploit SecurityEventType = "SqlInjectionExploit" SecurityEventTypeSqlInjectionVulnerability SecurityEventType = "SqlInjectionVulnerability" SecurityEventTypeUndefined SecurityEventType = "Undefined" )
func (*SecurityEventType) UnmarshalJSON ¶
func (s *SecurityEventType) UnmarshalJSON(bytes []byte) error