azure_mgmt_sql 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_sql.rb +124 -41
- data/lib/generated/azure_mgmt_sql/capabilities.rb +115 -0
- data/lib/generated/azure_mgmt_sql/databases.rb +2877 -443
- data/lib/generated/azure_mgmt_sql/elastic_pools.rb +407 -30
- data/lib/generated/azure_mgmt_sql/failover_groups.rb +1143 -0
- data/lib/generated/azure_mgmt_sql/firewall_rules.rb +443 -0
- data/lib/generated/azure_mgmt_sql/models/authentication_type.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb +94 -0
- data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_state.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb +80 -0
- data/lib/generated/azure_mgmt_sql/models/{transparent_data_encryption_states.rb → blob_auditing_policy_state.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/capability_status.rb +18 -0
- data/lib/generated/azure_mgmt_sql/models/check_name_availability_reason.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/check_name_availability_request.rb +59 -0
- data/lib/generated/azure_mgmt_sql/models/check_name_availability_response.rb +84 -0
- data/lib/generated/azure_mgmt_sql/models/create_mode.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/data_masking_function.rb +20 -0
- data/lib/generated/azure_mgmt_sql/models/data_masking_policy.rb +131 -0
- data/lib/generated/azure_mgmt_sql/models/data_masking_rule.rb +226 -0
- data/lib/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/data_masking_rule_state.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/{server_state.rb → data_masking_state.rb} +4 -4
- data/lib/generated/azure_mgmt_sql/models/database.rb +115 -63
- data/lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +156 -0
- data/lib/generated/azure_mgmt_sql/models/{database_editions.rb → database_edition.rb} +4 -3
- data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/database_security_alert_policy.rb +179 -0
- data/lib/generated/azure_mgmt_sql/models/database_update.rb +464 -0
- data/lib/generated/azure_mgmt_sql/models/{database_metric.rb → database_usage.rb} +13 -11
- data/lib/generated/azure_mgmt_sql/models/{database_metric_list_result.rb → database_usage_list_result.rb} +10 -9
- data/lib/generated/azure_mgmt_sql/models/edition_capability.rb +79 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +15 -14
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +12 -22
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +12 -22
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb +143 -0
- data/lib/generated/azure_mgmt_sql/models/{elastic_pool_editions.rb → elastic_pool_edition.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +79 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb +79 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb +59 -0
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/elastic_pool_update.rb +152 -0
- data/lib/generated/azure_mgmt_sql/models/encryption_protector.rb +137 -0
- data/lib/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_sql/models/export_request.rb +101 -0
- data/lib/generated/azure_mgmt_sql/models/failover_group.rb +171 -0
- data/lib/generated/azure_mgmt_sql/models/failover_group_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb +47 -0
- data/lib/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb +58 -0
- data/lib/generated/azure_mgmt_sql/models/failover_group_replication_role.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/{server_firewall_rule.rb → firewall_rule.rb} +6 -5
- data/lib/generated/azure_mgmt_sql/models/{server_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +9 -8
- data/lib/generated/azure_mgmt_sql/models/geo_backup_policy.rb +105 -0
- data/lib/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/geo_backup_policy_state.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/{table_type.rb → identity_type.rb} +4 -5
- data/lib/generated/azure_mgmt_sql/models/import_export_response.rb +158 -0
- data/lib/generated/azure_mgmt_sql/models/import_extension_request.rb +134 -0
- data/lib/generated/azure_mgmt_sql/models/import_request.rb +125 -0
- data/lib/generated/azure_mgmt_sql/models/location_capabilities.rb +80 -0
- data/lib/generated/azure_mgmt_sql/models/max_size_capability.rb +74 -0
- data/lib/generated/azure_mgmt_sql/models/max_size_units.rb +18 -0
- data/lib/generated/azure_mgmt_sql/models/metric.rb +114 -0
- data/lib/generated/azure_mgmt_sql/models/metric_availability.rb +57 -0
- data/lib/generated/azure_mgmt_sql/models/metric_definition.rb +104 -0
- data/lib/generated/azure_mgmt_sql/models/metric_definition_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/metric_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/metric_name.rb +57 -0
- data/lib/generated/azure_mgmt_sql/models/metric_value.rb +117 -0
- data/lib/generated/azure_mgmt_sql/models/operation.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/operation_display.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +3 -2
- data/lib/generated/azure_mgmt_sql/models/operation_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/partner_info.rb +68 -0
- data/lib/generated/azure_mgmt_sql/models/performance_level_unit.rb +15 -0
- data/lib/generated/azure_mgmt_sql/models/primary_aggregation_type.rb +20 -0
- data/lib/generated/azure_mgmt_sql/models/proxy_resource.rb +59 -0
- data/lib/generated/azure_mgmt_sql/models/read_only_endpoint_failover_policy.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/read_scale.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/read_write_endpoint_failover_policy.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +9 -29
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +13 -33
- data/lib/generated/azure_mgmt_sql/models/{recommended_index_actions.rb → recommended_index_action.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/{recommended_index_states.rb → recommended_index_state.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/{recommended_index_types.rb → recommended_index_type.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/recoverable_database.rb +104 -0
- data/lib/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_sql/models/replication_link.rb +3 -2
- data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/replication_role.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/replication_state.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/resource_identity.rb +69 -0
- data/lib/generated/azure_mgmt_sql/models/restorable_dropped_database.rb +159 -0
- data/lib/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/restore_point.rb +10 -30
- data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_sql/models/{restore_point_types.rb → restore_point_type.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/sample_name.rb +1 -1
- data/lib/generated/azure_mgmt_sql/models/security_alert_policy_email_account_admins.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/security_alert_policy_state.rb +17 -0
- data/lib/generated/azure_mgmt_sql/models/security_alert_policy_use_server_default.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/server.rb +38 -56
- data/lib/generated/azure_mgmt_sql/models/server_administrator_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb +94 -0
- data/lib/generated/azure_mgmt_sql/models/server_communication_link.rb +103 -0
- data/lib/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/{schema.rb → server_connection_policy.rb} +33 -38
- data/lib/generated/azure_mgmt_sql/models/server_connection_type.rb +17 -0
- data/lib/generated/azure_mgmt_sql/models/server_key.rb +135 -0
- data/lib/generated/azure_mgmt_sql/models/server_key_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_sql/models/server_key_type.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +48 -4
- data/lib/generated/azure_mgmt_sql/models/server_update.rb +106 -0
- data/lib/generated/azure_mgmt_sql/models/{server_metric.rb → server_usage.rb} +6 -5
- data/lib/generated/azure_mgmt_sql/models/{server_metric_list_result.rb → server_usage_list_result.rb} +9 -9
- data/lib/generated/azure_mgmt_sql/models/server_version_capability.rb +99 -0
- data/lib/generated/azure_mgmt_sql/models/service_objective.rb +3 -2
- data/lib/generated/azure_mgmt_sql/models/service_objective_capability.rb +127 -0
- data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +3 -2
- data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +8 -3
- data/lib/generated/azure_mgmt_sql/models/sql_sub_resource.rb +3 -2
- data/lib/generated/azure_mgmt_sql/models/storage_key_type.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/sub_resource.rb +54 -0
- data/lib/generated/azure_mgmt_sql/models/{column.rb → tracked_resource.rb} +19 -23
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +6 -5
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +4 -3
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_sql/models/{transparent_data_encryption_activity_states.rb → transparent_data_encryption_activity_status.rb} +3 -3
- data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_status.rb +16 -0
- data/lib/generated/azure_mgmt_sql/models/unit_definition_type.rb +20 -0
- data/lib/generated/azure_mgmt_sql/models/unit_type.rb +20 -0
- data/lib/generated/azure_mgmt_sql/models/virtual_network_rule.rb +69 -0
- data/lib/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_sql/operations.rb +109 -0
- data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +21 -22
- data/lib/generated/azure_mgmt_sql/recoverable_databases.rb +229 -0
- data/lib/generated/azure_mgmt_sql/restorable_dropped_databases.rb +229 -0
- data/lib/generated/azure_mgmt_sql/server_azure_adadministrators.rb +575 -0
- data/lib/generated/azure_mgmt_sql/server_communication_links.rb +496 -0
- data/lib/generated/azure_mgmt_sql/server_keys.rb +670 -0
- data/lib/generated/azure_mgmt_sql/servers.rb +1366 -257
- data/lib/generated/azure_mgmt_sql/sql_management_client.rb +44 -85
- data/lib/generated/azure_mgmt_sql/version.rb +2 -2
- data/lib/generated/azure_mgmt_sql/virtual_network_rules.rb +663 -0
- metadata +110 -27
- data/lib/generated/azure_mgmt_sql/models/server_version.rb +0 -16
- data/lib/generated/azure_mgmt_sql/models/table.rb +0 -131
- data/lib/generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb +0 -17
- data/lib/generated/azure_mgmt_sql/models/upgrade_hint.rb +0 -54
- data/lib/generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb +0 -131
@@ -0,0 +1,156 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A database blob auditing policy.
|
10
|
+
#
|
11
|
+
class DatabaseBlobAuditingPolicy < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Resource kind.
|
17
|
+
attr_accessor :kind
|
18
|
+
|
19
|
+
# @return [BlobAuditingPolicyState] Specifies the state of the policy. If
|
20
|
+
# state is Enabled, storageEndpoint and storageAccountAccessKey are
|
21
|
+
# required. Possible values include: 'Enabled', 'Disabled'
|
22
|
+
attr_accessor :state
|
23
|
+
|
24
|
+
# @return [String] Specifies the blob storage endpoint (e.g.
|
25
|
+
# https://MyAccount.blob.core.windows.net). If state is Enabled,
|
26
|
+
# storageEndpoint is required.
|
27
|
+
attr_accessor :storage_endpoint
|
28
|
+
|
29
|
+
# @return [String] Specifies the identifier key of the auditing storage
|
30
|
+
# account. If state is Enabled, storageAccountAccessKey is required.
|
31
|
+
attr_accessor :storage_account_access_key
|
32
|
+
|
33
|
+
# @return [Integer] Specifies the number of days to keep in the audit
|
34
|
+
# logs.
|
35
|
+
attr_accessor :retention_days
|
36
|
+
|
37
|
+
# @return [Array<String>] Specifies the Actions and Actions-Groups to
|
38
|
+
# audit.
|
39
|
+
attr_accessor :audit_actions_and_groups
|
40
|
+
|
41
|
+
# @return Specifies the blob storage subscription Id.
|
42
|
+
attr_accessor :storage_account_subscription_id
|
43
|
+
|
44
|
+
# @return [Boolean] Specifies whether storageAccountAccessKey value is
|
45
|
+
# the storage’s secondary key.
|
46
|
+
attr_accessor :is_storage_secondary_key_in_use
|
47
|
+
|
48
|
+
|
49
|
+
#
|
50
|
+
# Mapper for DatabaseBlobAuditingPolicy class as Ruby Hash.
|
51
|
+
# This will be used for serialization/deserialization.
|
52
|
+
#
|
53
|
+
def self.mapper()
|
54
|
+
{
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'DatabaseBlobAuditingPolicy',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'DatabaseBlobAuditingPolicy',
|
60
|
+
model_properties: {
|
61
|
+
id: {
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'id',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
name: {
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'name',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
type: {
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'type',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
kind: {
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'kind',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
state: {
|
94
|
+
required: true,
|
95
|
+
serialized_name: 'properties.state',
|
96
|
+
type: {
|
97
|
+
name: 'Enum',
|
98
|
+
module: 'BlobAuditingPolicyState'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
storage_endpoint: {
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.storageEndpoint',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
storage_account_access_key: {
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.storageAccountAccessKey',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
retention_days: {
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'properties.retentionDays',
|
118
|
+
type: {
|
119
|
+
name: 'Number'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
audit_actions_and_groups: {
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.auditActionsAndGroups',
|
125
|
+
type: {
|
126
|
+
name: 'Sequence',
|
127
|
+
element: {
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'StringElementType',
|
130
|
+
type: {
|
131
|
+
name: 'String'
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
storage_account_subscription_id: {
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'properties.storageAccountSubscriptionId',
|
139
|
+
type: {
|
140
|
+
name: 'String'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
is_storage_secondary_key_in_use: {
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.isStorageSecondaryKeyInUse',
|
146
|
+
type: {
|
147
|
+
name: 'Boolean'
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::SQL
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Defines values for
|
9
|
+
# Defines values for DatabaseEdition
|
10
10
|
#
|
11
|
-
module
|
11
|
+
module DatabaseEdition
|
12
12
|
Web = "Web"
|
13
13
|
Business = "Business"
|
14
14
|
Basic = "Basic"
|
@@ -18,6 +18,7 @@ module Azure::ARM::SQL
|
|
18
18
|
Stretch = "Stretch"
|
19
19
|
DataWarehouse = "DataWarehouse"
|
20
20
|
System = "System"
|
21
|
+
System2 = "System2"
|
21
22
|
end
|
22
23
|
end
|
23
24
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::SQL
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [Array<Database>] The list of databases housed in the server.
|
16
17
|
attr_accessor :value
|
17
18
|
|
@@ -0,0 +1,179 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Contains information about a database Threat Detection policy.
|
10
|
+
#
|
11
|
+
class DatabaseSecurityAlertPolicy < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The geo-location where the resource lives
|
17
|
+
attr_accessor :location
|
18
|
+
|
19
|
+
# @return [String] Resource kind.
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [SecurityAlertPolicyState] Specifies the state of the policy.
|
23
|
+
# If state is Enabled, storageEndpoint and storageAccountAccessKey are
|
24
|
+
# required. Possible values include: 'New', 'Enabled', 'Disabled'
|
25
|
+
attr_accessor :state
|
26
|
+
|
27
|
+
# @return [String] Specifies the semicolon-separated list of alerts that
|
28
|
+
# are disabled, or empty string to disable no alerts. Possible values:
|
29
|
+
# Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly;
|
30
|
+
# Usage_Anomaly.
|
31
|
+
attr_accessor :disabled_alerts
|
32
|
+
|
33
|
+
# @return [String] Specifies the semicolon-separated list of e-mail
|
34
|
+
# addresses to which the alert is sent.
|
35
|
+
attr_accessor :email_addresses
|
36
|
+
|
37
|
+
# @return [SecurityAlertPolicyEmailAccountAdmins] Specifies that the
|
38
|
+
# alert is sent to the account administrators. Possible values include:
|
39
|
+
# 'Enabled', 'Disabled'
|
40
|
+
attr_accessor :email_account_admins
|
41
|
+
|
42
|
+
# @return [String] Specifies the blob storage endpoint (e.g.
|
43
|
+
# https://MyAccount.blob.core.windows.net). This blob storage will hold
|
44
|
+
# all Threat Detection audit logs. If state is Enabled, storageEndpoint
|
45
|
+
# is required.
|
46
|
+
attr_accessor :storage_endpoint
|
47
|
+
|
48
|
+
# @return [String] Specifies the identifier key of the Threat Detection
|
49
|
+
# audit storage account. If state is Enabled, storageAccountAccessKey is
|
50
|
+
# required.
|
51
|
+
attr_accessor :storage_account_access_key
|
52
|
+
|
53
|
+
# @return [Integer] Specifies the number of days to keep in the Threat
|
54
|
+
# Detection audit logs.
|
55
|
+
attr_accessor :retention_days
|
56
|
+
|
57
|
+
# @return [SecurityAlertPolicyUseServerDefault] Specifies whether to use
|
58
|
+
# the default server policy. Possible values include: 'Enabled',
|
59
|
+
# 'Disabled'
|
60
|
+
attr_accessor :use_server_default
|
61
|
+
|
62
|
+
|
63
|
+
#
|
64
|
+
# Mapper for DatabaseSecurityAlertPolicy class as Ruby Hash.
|
65
|
+
# This will be used for serialization/deserialization.
|
66
|
+
#
|
67
|
+
def self.mapper()
|
68
|
+
{
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'DatabaseSecurityAlertPolicy',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'DatabaseSecurityAlertPolicy',
|
74
|
+
model_properties: {
|
75
|
+
id: {
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'id',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
name: {
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'name',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
type: {
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'type',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
location: {
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'location',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
kind: {
|
107
|
+
required: false,
|
108
|
+
read_only: true,
|
109
|
+
serialized_name: 'kind',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
state: {
|
115
|
+
required: true,
|
116
|
+
serialized_name: 'properties.state',
|
117
|
+
type: {
|
118
|
+
name: 'Enum',
|
119
|
+
module: 'SecurityAlertPolicyState'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
disabled_alerts: {
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.disabledAlerts',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
email_addresses: {
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'properties.emailAddresses',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
email_account_admins: {
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'properties.emailAccountAdmins',
|
139
|
+
type: {
|
140
|
+
name: 'Enum',
|
141
|
+
module: 'SecurityAlertPolicyEmailAccountAdmins'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
storage_endpoint: {
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'properties.storageEndpoint',
|
147
|
+
type: {
|
148
|
+
name: 'String'
|
149
|
+
}
|
150
|
+
},
|
151
|
+
storage_account_access_key: {
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'properties.storageAccountAccessKey',
|
154
|
+
type: {
|
155
|
+
name: 'String'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
retention_days: {
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.retentionDays',
|
161
|
+
type: {
|
162
|
+
name: 'Number'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
use_server_default: {
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'properties.useServerDefault',
|
168
|
+
type: {
|
169
|
+
name: 'Enum',
|
170
|
+
module: 'SecurityAlertPolicyUseServerDefault'
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
@@ -0,0 +1,464 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::SQL
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents a database update.
|
10
|
+
#
|
11
|
+
class DatabaseUpdate < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Hash{String => String}] Resource tags.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
# @return [String] The collation of the database. If createMode is not
|
20
|
+
# Default, this value is ignored.
|
21
|
+
attr_accessor :collation
|
22
|
+
|
23
|
+
# @return [DateTime] The creation date of the database (ISO8601 format).
|
24
|
+
attr_accessor :creation_date
|
25
|
+
|
26
|
+
# @return [Integer] The containment state of the database.
|
27
|
+
attr_accessor :containment_state
|
28
|
+
|
29
|
+
# @return The current service level objective ID of the database. This is
|
30
|
+
# the ID of the service level objective that is currently active.
|
31
|
+
attr_accessor :current_service_objective_id
|
32
|
+
|
33
|
+
# @return The ID of the database.
|
34
|
+
attr_accessor :database_id
|
35
|
+
|
36
|
+
# @return [DateTime] This records the earliest start date and time that
|
37
|
+
# restore is available for this database (ISO8601 format).
|
38
|
+
attr_accessor :earliest_restore_date
|
39
|
+
|
40
|
+
# @return [CreateMode] Specifies the mode of database creation.
|
41
|
+
#
|
42
|
+
# Default: regular database creation.
|
43
|
+
#
|
44
|
+
# Copy: creates a database as a copy of an existing database.
|
45
|
+
# sourceDatabaseId must be specified as the resource ID of the source
|
46
|
+
# database.
|
47
|
+
#
|
48
|
+
# OnlineSecondary/NonReadableSecondary: creates a database as a (readable
|
49
|
+
# or nonreadable) secondary replica of an existing database.
|
50
|
+
# sourceDatabaseId must be specified as the resource ID of the existing
|
51
|
+
# primary database.
|
52
|
+
#
|
53
|
+
# PointInTimeRestore: Creates a database by restoring a point in time
|
54
|
+
# backup of an existing database. sourceDatabaseId must be specified as
|
55
|
+
# the resource ID of the existing database, and restorePointInTime must
|
56
|
+
# be specified.
|
57
|
+
#
|
58
|
+
# Recovery: Creates a database by restoring a geo-replicated backup.
|
59
|
+
# sourceDatabaseId must be specified as the recoverable database resource
|
60
|
+
# ID to restore.
|
61
|
+
#
|
62
|
+
# Restore: Creates a database by restoring a backup of a deleted
|
63
|
+
# database. sourceDatabaseId must be specified. If sourceDatabaseId is
|
64
|
+
# the database's original resource ID, then sourceDatabaseDeletionDate
|
65
|
+
# must be specified. Otherwise sourceDatabaseId must be the restorable
|
66
|
+
# dropped database resource ID and sourceDatabaseDeletionDate is ignored.
|
67
|
+
# restorePointInTime may also be specified to restore from an earlier
|
68
|
+
# point in time.
|
69
|
+
#
|
70
|
+
# RestoreLongTermRetentionBackup: Creates a database by restoring from a
|
71
|
+
# long term retention vault. recoveryServicesRecoveryPointResourceId must
|
72
|
+
# be specified as the recovery point resource ID.
|
73
|
+
#
|
74
|
+
# Copy, NonReadableSecondary, OnlineSecondary and
|
75
|
+
# RestoreLongTermRetentionBackup are not supported for DataWarehouse
|
76
|
+
# edition. Possible values include: 'Copy', 'Default',
|
77
|
+
# 'NonReadableSecondary', 'OnlineSecondary', 'PointInTimeRestore',
|
78
|
+
# 'Recovery', 'Restore', 'RestoreLongTermRetentionBackup'
|
79
|
+
attr_accessor :create_mode
|
80
|
+
|
81
|
+
# @return [String] Conditional. If createMode is Copy,
|
82
|
+
# NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or
|
83
|
+
# Restore, then this value is required. Specifies the resource ID of the
|
84
|
+
# source database. If createMode is NonReadableSecondary or
|
85
|
+
# OnlineSecondary, the name of the source database must be the same as
|
86
|
+
# the new database being created.
|
87
|
+
attr_accessor :source_database_id
|
88
|
+
|
89
|
+
# @return [DateTime] Conditional. If createMode is Restore and
|
90
|
+
# sourceDatabaseId is the deleted database's original resource id when it
|
91
|
+
# existed (as opposed to its current restorable dropped database id),
|
92
|
+
# then this value is required. Specifies the time that the database was
|
93
|
+
# deleted.
|
94
|
+
attr_accessor :source_database_deletion_date
|
95
|
+
|
96
|
+
# @return [DateTime] Conditional. If createMode is PointInTimeRestore,
|
97
|
+
# this value is required. If createMode is Restore, this value is
|
98
|
+
# optional. Specifies the point in time (ISO8601 format) of the source
|
99
|
+
# database that will be restored to create the new database. Must be
|
100
|
+
# greater than or equal to the source database's earliestRestoreDate
|
101
|
+
# value.
|
102
|
+
attr_accessor :restore_point_in_time
|
103
|
+
|
104
|
+
# @return [String] Conditional. If createMode is
|
105
|
+
# RestoreLongTermRetentionBackup, then this value is required. Specifies
|
106
|
+
# the resource ID of the recovery point to restore from.
|
107
|
+
attr_accessor :recovery_services_recovery_point_resource_id
|
108
|
+
|
109
|
+
# @return [DatabaseEdition] The edition of the database. The
|
110
|
+
# DatabaseEditions enumeration contains all the valid editions. If
|
111
|
+
# createMode is NonReadableSecondary or OnlineSecondary, this value is
|
112
|
+
# ignored. To see possible values, query the capabilities API
|
113
|
+
# (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
|
114
|
+
# referred to by operationId: "Capabilities_ListByLocation.". Possible
|
115
|
+
# values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium',
|
116
|
+
# 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2'
|
117
|
+
attr_accessor :edition
|
118
|
+
|
119
|
+
# @return [String] The max size of the database expressed in bytes. If
|
120
|
+
# createMode is not Default, this value is ignored. To see possible
|
121
|
+
# values, query the capabilities API
|
122
|
+
# (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
|
123
|
+
# referred to by operationId: "Capabilities_ListByLocation."
|
124
|
+
attr_accessor :max_size_bytes
|
125
|
+
|
126
|
+
# @return The configured service level objective ID of the database. This
|
127
|
+
# is the service level objective that is in the process of being applied
|
128
|
+
# to the database. Once successfully updated, it will match the value of
|
129
|
+
# currentServiceObjectiveId property. If requestedServiceObjectiveId and
|
130
|
+
# requestedServiceObjectiveName are both updated, the value of
|
131
|
+
# requestedServiceObjectiveId overrides the value of
|
132
|
+
# requestedServiceObjectiveName. To see possible values, query the
|
133
|
+
# capabilities API
|
134
|
+
# (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
|
135
|
+
# referred to by operationId: "Capabilities_ListByLocation."
|
136
|
+
attr_accessor :requested_service_objective_id
|
137
|
+
|
138
|
+
# @return [ServiceObjectiveName] The name of the configured service level
|
139
|
+
# objective of the database. This is the service level objective that is
|
140
|
+
# in the process of being applied to the database. Once successfully
|
141
|
+
# updated, it will match the value of serviceLevelObjective property. To
|
142
|
+
# see possible values, query the capabilities API
|
143
|
+
# (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
|
144
|
+
# referred to by operationId: "Capabilities_ListByLocation.". Possible
|
145
|
+
# values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2', 'P3',
|
146
|
+
# 'P4', 'P6', 'P11', 'P15', 'System', 'System2', 'ElasticPool'
|
147
|
+
attr_accessor :requested_service_objective_name
|
148
|
+
|
149
|
+
# @return [ServiceObjectiveName] The current service level objective of
|
150
|
+
# the database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3',
|
151
|
+
# 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'System2',
|
152
|
+
# 'ElasticPool'
|
153
|
+
attr_accessor :service_level_objective
|
154
|
+
|
155
|
+
# @return [String] The status of the database.
|
156
|
+
attr_accessor :status
|
157
|
+
|
158
|
+
# @return [String] The name of the elastic pool the database is in. If
|
159
|
+
# elasticPoolName and requestedServiceObjectiveName are both updated, the
|
160
|
+
# value of requestedServiceObjectiveName is ignored. Not supported for
|
161
|
+
# DataWarehouse edition.
|
162
|
+
attr_accessor :elastic_pool_name
|
163
|
+
|
164
|
+
# @return [String] The default secondary region for this database.
|
165
|
+
attr_accessor :default_secondary_location
|
166
|
+
|
167
|
+
# @return [Array<ServiceTierAdvisor>] The list of service tier advisors
|
168
|
+
# for this database. Expanded property
|
169
|
+
attr_accessor :service_tier_advisors
|
170
|
+
|
171
|
+
# @return [Array<TransparentDataEncryption>] The transparent data
|
172
|
+
# encryption info for this database.
|
173
|
+
attr_accessor :transparent_data_encryption
|
174
|
+
|
175
|
+
# @return [Array<RecommendedIndex>] The recommended indices for this
|
176
|
+
# database.
|
177
|
+
attr_accessor :recommended_index
|
178
|
+
|
179
|
+
# @return [String] The resource identifier of the failover group
|
180
|
+
# containing this database.
|
181
|
+
attr_accessor :failover_group_id
|
182
|
+
|
183
|
+
# @return [ReadScale] Conditional. If the database is a geo-secondary,
|
184
|
+
# readScale indicates whether read-only connections are allowed to this
|
185
|
+
# database or not. Not supported for DataWarehouse edition. Possible
|
186
|
+
# values include: 'Enabled', 'Disabled'
|
187
|
+
attr_accessor :read_scale
|
188
|
+
|
189
|
+
# @return [SampleName] Indicates the name of the sample schema to apply
|
190
|
+
# when creating this database. If createMode is not Default, this value
|
191
|
+
# is ignored. Not supported for DataWarehouse edition. Possible values
|
192
|
+
# include: 'AdventureWorksLT'
|
193
|
+
attr_accessor :sample_name
|
194
|
+
|
195
|
+
|
196
|
+
#
|
197
|
+
# Mapper for DatabaseUpdate class as Ruby Hash.
|
198
|
+
# This will be used for serialization/deserialization.
|
199
|
+
#
|
200
|
+
def self.mapper()
|
201
|
+
{
|
202
|
+
required: false,
|
203
|
+
serialized_name: 'DatabaseUpdate',
|
204
|
+
type: {
|
205
|
+
name: 'Composite',
|
206
|
+
class_name: 'DatabaseUpdate',
|
207
|
+
model_properties: {
|
208
|
+
id: {
|
209
|
+
required: false,
|
210
|
+
read_only: true,
|
211
|
+
serialized_name: 'id',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
name: {
|
217
|
+
required: false,
|
218
|
+
read_only: true,
|
219
|
+
serialized_name: 'name',
|
220
|
+
type: {
|
221
|
+
name: 'String'
|
222
|
+
}
|
223
|
+
},
|
224
|
+
type: {
|
225
|
+
required: false,
|
226
|
+
read_only: true,
|
227
|
+
serialized_name: 'type',
|
228
|
+
type: {
|
229
|
+
name: 'String'
|
230
|
+
}
|
231
|
+
},
|
232
|
+
tags: {
|
233
|
+
required: false,
|
234
|
+
serialized_name: 'tags',
|
235
|
+
type: {
|
236
|
+
name: 'Dictionary',
|
237
|
+
value: {
|
238
|
+
required: false,
|
239
|
+
serialized_name: 'StringElementType',
|
240
|
+
type: {
|
241
|
+
name: 'String'
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
},
|
246
|
+
collation: {
|
247
|
+
required: false,
|
248
|
+
serialized_name: 'properties.collation',
|
249
|
+
type: {
|
250
|
+
name: 'String'
|
251
|
+
}
|
252
|
+
},
|
253
|
+
creation_date: {
|
254
|
+
required: false,
|
255
|
+
read_only: true,
|
256
|
+
serialized_name: 'properties.creationDate',
|
257
|
+
type: {
|
258
|
+
name: 'DateTime'
|
259
|
+
}
|
260
|
+
},
|
261
|
+
containment_state: {
|
262
|
+
required: false,
|
263
|
+
read_only: true,
|
264
|
+
serialized_name: 'properties.containmentState',
|
265
|
+
type: {
|
266
|
+
name: 'Number'
|
267
|
+
}
|
268
|
+
},
|
269
|
+
current_service_objective_id: {
|
270
|
+
required: false,
|
271
|
+
read_only: true,
|
272
|
+
serialized_name: 'properties.currentServiceObjectiveId',
|
273
|
+
type: {
|
274
|
+
name: 'String'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
database_id: {
|
278
|
+
required: false,
|
279
|
+
read_only: true,
|
280
|
+
serialized_name: 'properties.databaseId',
|
281
|
+
type: {
|
282
|
+
name: 'String'
|
283
|
+
}
|
284
|
+
},
|
285
|
+
earliest_restore_date: {
|
286
|
+
required: false,
|
287
|
+
read_only: true,
|
288
|
+
serialized_name: 'properties.earliestRestoreDate',
|
289
|
+
type: {
|
290
|
+
name: 'DateTime'
|
291
|
+
}
|
292
|
+
},
|
293
|
+
create_mode: {
|
294
|
+
required: false,
|
295
|
+
serialized_name: 'properties.createMode',
|
296
|
+
type: {
|
297
|
+
name: 'String'
|
298
|
+
}
|
299
|
+
},
|
300
|
+
source_database_id: {
|
301
|
+
required: false,
|
302
|
+
serialized_name: 'properties.sourceDatabaseId',
|
303
|
+
type: {
|
304
|
+
name: 'String'
|
305
|
+
}
|
306
|
+
},
|
307
|
+
source_database_deletion_date: {
|
308
|
+
required: false,
|
309
|
+
serialized_name: 'properties.sourceDatabaseDeletionDate',
|
310
|
+
type: {
|
311
|
+
name: 'DateTime'
|
312
|
+
}
|
313
|
+
},
|
314
|
+
restore_point_in_time: {
|
315
|
+
required: false,
|
316
|
+
serialized_name: 'properties.restorePointInTime',
|
317
|
+
type: {
|
318
|
+
name: 'DateTime'
|
319
|
+
}
|
320
|
+
},
|
321
|
+
recovery_services_recovery_point_resource_id: {
|
322
|
+
required: false,
|
323
|
+
serialized_name: 'properties.recoveryServicesRecoveryPointResourceId',
|
324
|
+
type: {
|
325
|
+
name: 'String'
|
326
|
+
}
|
327
|
+
},
|
328
|
+
edition: {
|
329
|
+
required: false,
|
330
|
+
serialized_name: 'properties.edition',
|
331
|
+
type: {
|
332
|
+
name: 'String'
|
333
|
+
}
|
334
|
+
},
|
335
|
+
max_size_bytes: {
|
336
|
+
required: false,
|
337
|
+
serialized_name: 'properties.maxSizeBytes',
|
338
|
+
type: {
|
339
|
+
name: 'String'
|
340
|
+
}
|
341
|
+
},
|
342
|
+
requested_service_objective_id: {
|
343
|
+
required: false,
|
344
|
+
serialized_name: 'properties.requestedServiceObjectiveId',
|
345
|
+
type: {
|
346
|
+
name: 'String'
|
347
|
+
}
|
348
|
+
},
|
349
|
+
requested_service_objective_name: {
|
350
|
+
required: false,
|
351
|
+
serialized_name: 'properties.requestedServiceObjectiveName',
|
352
|
+
type: {
|
353
|
+
name: 'String'
|
354
|
+
}
|
355
|
+
},
|
356
|
+
service_level_objective: {
|
357
|
+
required: false,
|
358
|
+
read_only: true,
|
359
|
+
serialized_name: 'properties.serviceLevelObjective',
|
360
|
+
type: {
|
361
|
+
name: 'String'
|
362
|
+
}
|
363
|
+
},
|
364
|
+
status: {
|
365
|
+
required: false,
|
366
|
+
read_only: true,
|
367
|
+
serialized_name: 'properties.status',
|
368
|
+
type: {
|
369
|
+
name: 'String'
|
370
|
+
}
|
371
|
+
},
|
372
|
+
elastic_pool_name: {
|
373
|
+
required: false,
|
374
|
+
serialized_name: 'properties.elasticPoolName',
|
375
|
+
type: {
|
376
|
+
name: 'String'
|
377
|
+
}
|
378
|
+
},
|
379
|
+
default_secondary_location: {
|
380
|
+
required: false,
|
381
|
+
read_only: true,
|
382
|
+
serialized_name: 'properties.defaultSecondaryLocation',
|
383
|
+
type: {
|
384
|
+
name: 'String'
|
385
|
+
}
|
386
|
+
},
|
387
|
+
service_tier_advisors: {
|
388
|
+
required: false,
|
389
|
+
read_only: true,
|
390
|
+
serialized_name: 'properties.serviceTierAdvisors',
|
391
|
+
type: {
|
392
|
+
name: 'Sequence',
|
393
|
+
element: {
|
394
|
+
required: false,
|
395
|
+
serialized_name: 'ServiceTierAdvisorElementType',
|
396
|
+
type: {
|
397
|
+
name: 'Composite',
|
398
|
+
class_name: 'ServiceTierAdvisor'
|
399
|
+
}
|
400
|
+
}
|
401
|
+
}
|
402
|
+
},
|
403
|
+
transparent_data_encryption: {
|
404
|
+
required: false,
|
405
|
+
read_only: true,
|
406
|
+
serialized_name: 'properties.transparentDataEncryption',
|
407
|
+
type: {
|
408
|
+
name: 'Sequence',
|
409
|
+
element: {
|
410
|
+
required: false,
|
411
|
+
serialized_name: 'TransparentDataEncryptionElementType',
|
412
|
+
type: {
|
413
|
+
name: 'Composite',
|
414
|
+
class_name: 'TransparentDataEncryption'
|
415
|
+
}
|
416
|
+
}
|
417
|
+
}
|
418
|
+
},
|
419
|
+
recommended_index: {
|
420
|
+
required: false,
|
421
|
+
read_only: true,
|
422
|
+
serialized_name: 'properties.recommendedIndex',
|
423
|
+
type: {
|
424
|
+
name: 'Sequence',
|
425
|
+
element: {
|
426
|
+
required: false,
|
427
|
+
serialized_name: 'RecommendedIndexElementType',
|
428
|
+
type: {
|
429
|
+
name: 'Composite',
|
430
|
+
class_name: 'RecommendedIndex'
|
431
|
+
}
|
432
|
+
}
|
433
|
+
}
|
434
|
+
},
|
435
|
+
failover_group_id: {
|
436
|
+
required: false,
|
437
|
+
read_only: true,
|
438
|
+
serialized_name: 'properties.failoverGroupId',
|
439
|
+
type: {
|
440
|
+
name: 'String'
|
441
|
+
}
|
442
|
+
},
|
443
|
+
read_scale: {
|
444
|
+
required: false,
|
445
|
+
serialized_name: 'properties.readScale',
|
446
|
+
type: {
|
447
|
+
name: 'Enum',
|
448
|
+
module: 'ReadScale'
|
449
|
+
}
|
450
|
+
},
|
451
|
+
sample_name: {
|
452
|
+
required: false,
|
453
|
+
serialized_name: 'properties.sampleName',
|
454
|
+
type: {
|
455
|
+
name: 'String'
|
456
|
+
}
|
457
|
+
}
|
458
|
+
}
|
459
|
+
}
|
460
|
+
}
|
461
|
+
end
|
462
|
+
end
|
463
|
+
end
|
464
|
+
end
|