/
servers_security_alert_policy_status_arm_types_gen.go
48 lines (36 loc) · 2.06 KB
/
servers_security_alert_policy_status_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20211101
type Servers_SecurityAlertPolicy_STATUS_ARM struct {
// Id: Resource ID.
Id *string `json:"id,omitempty"`
// Name: Resource name.
Name *string `json:"name,omitempty"`
// Properties: Resource properties.
Properties *ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_STATUS_ARM `json:"properties,omitempty"`
// SystemData: SystemData of SecurityAlertPolicyResource.
SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
// Type: Resource type.
Type *string `json:"type,omitempty"`
}
// Properties of a security alert policy.
type ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_STATUS_ARM struct {
// CreationTime: Specifies the UTC creation time of the policy.
CreationTime *string `json:"creationTime,omitempty"`
// DisabledAlerts: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
// Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
DisabledAlerts []string `json:"disabledAlerts,omitempty"`
// EmailAccountAdmins: Specifies that the alert is sent to the account administrators.
EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`
// EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.
EmailAddresses []string `json:"emailAddresses,omitempty"`
// RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.
RetentionDays *int `json:"retentionDays,omitempty"`
// State: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the
// specific database.
State *ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS `json:"state,omitempty"`
// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage
// will hold all Threat Detection audit logs.
StorageEndpoint *string `json:"storageEndpoint,omitempty"`
}