/
servers_advanced_threat_protection_setting_status_arm_types_gen.go
86 lines (67 loc) · 3.73 KB
/
servers_advanced_threat_protection_setting_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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20211101
type Servers_AdvancedThreatProtectionSetting_STATUS_ARM struct {
// Id: Resource ID.
Id *string `json:"id,omitempty"`
// Name: Resource name.
Name *string `json:"name,omitempty"`
// Properties: Resource properties.
Properties *AdvancedThreatProtectionProperties_STATUS_ARM `json:"properties,omitempty"`
// SystemData: SystemData of AdvancedThreatProtectionResource.
SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
// Type: Resource type.
Type *string `json:"type,omitempty"`
}
// Properties of an Advanced Threat Protection state.
type AdvancedThreatProtectionProperties_STATUS_ARM struct {
// CreationTime: Specifies the UTC creation time of the policy.
CreationTime *string `json:"creationTime,omitempty"`
// State: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been
// applied yet on the specific database or server.
State *AdvancedThreatProtectionProperties_State_STATUS `json:"state,omitempty"`
}
// Metadata pertaining to creation and last modification of the resource.
type SystemData_STATUS_ARM struct {
// CreatedAt: The timestamp of resource creation (UTC).
CreatedAt *string `json:"createdAt,omitempty"`
// CreatedBy: The identity that created the resource.
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedByType: The type of identity that created the resource.
CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`
// LastModifiedAt: The timestamp of resource last modification (UTC)
LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
// LastModifiedBy: The identity that last modified the resource.
LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
// LastModifiedByType: The type of identity that last modified the resource.
LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}
type SystemData_CreatedByType_STATUS string
const (
SystemData_CreatedByType_STATUS_Application = SystemData_CreatedByType_STATUS("Application")
SystemData_CreatedByType_STATUS_Key = SystemData_CreatedByType_STATUS("Key")
SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
// Mapping from string to SystemData_CreatedByType_STATUS
var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
"application": SystemData_CreatedByType_STATUS_Application,
"key": SystemData_CreatedByType_STATUS_Key,
"managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
"user": SystemData_CreatedByType_STATUS_User,
}
type SystemData_LastModifiedByType_STATUS string
const (
SystemData_LastModifiedByType_STATUS_Application = SystemData_LastModifiedByType_STATUS("Application")
SystemData_LastModifiedByType_STATUS_Key = SystemData_LastModifiedByType_STATUS("Key")
SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
// Mapping from string to SystemData_LastModifiedByType_STATUS
var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
"application": SystemData_LastModifiedByType_STATUS_Application,
"key": SystemData_LastModifiedByType_STATUS_Key,
"managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
"user": SystemData_LastModifiedByType_STATUS_User,
}