azure_mgmt_sql 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2014-04-01/generated/azure_mgmt_sql.rb +77 -63
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +118 -16
- data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +114 -16
- data/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb +649 -643
- data/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb +830 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb +216 -213
- data/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb +130 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb +24 -22
- data/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb +56 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb +56 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +43 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_edition.rb +1 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb +43 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb +164 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_auto_failover.rb +16 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_failover_policy.rb +16 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb +57 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_role.rb +17 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_status.rb +18 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb +13 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb +54 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb +12 -4
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb +72 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb +55 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_name.rb +52 -2
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb +10 -3
- data/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb +134 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb +18 -15
- data/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb +38 -33
- data/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb +32 -30
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb +28 -26
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb +12 -12
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb +18 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb +134 -133
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb +12 -10
- data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +32 -17
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb +6 -5
- data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb +12 -12
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +22 -19
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +12 -12
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb +31 -29
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb +71 -67
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb +110 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb +100 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb +15 -13
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb +18 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb +41 -38
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb +66 -62
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +8 -1
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb +324 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb +62 -56
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb +118 -107
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb +76 -71
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb +41 -38
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +30 -1
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +21 -18
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_restore_points.rb +527 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +1599 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/arm_sku.rb +92 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_mode.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb +90 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +23 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +393 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point.rb +124 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +348 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb +145 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb +170 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +46 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sample_name.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb +110 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb +74 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/status.rb +32 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +92 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +238 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +805 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +21 -1
- data/lib/profiles/latest/modules/sql_profile_module.rb +912 -749
- data/lib/profiles/latest/sql_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/sql_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +49 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2014_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DisasterRecoveryConfigurationRole
|
10
|
+
#
|
11
|
+
module DisasterRecoveryConfigurationRole
|
12
|
+
None = "None"
|
13
|
+
Primary = "Primary"
|
14
|
+
Secondary = "Secondary"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2014_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DisasterRecoveryConfigurationStatus
|
10
|
+
#
|
11
|
+
module DisasterRecoveryConfigurationStatus
|
12
|
+
Creating = "Creating"
|
13
|
+
Ready = "Ready"
|
14
|
+
FailingOver = "FailingOver"
|
15
|
+
Dropping = "Dropping"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -23,6 +23,10 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
23
23
|
# service objectives for the edition.
|
24
24
|
attr_accessor :supported_service_level_objectives
|
25
25
|
|
26
|
+
# @return [Boolean] Whether or not zone redundancy is supported for the
|
27
|
+
# edition.
|
28
|
+
attr_accessor :zone_redundant
|
29
|
+
|
26
30
|
|
27
31
|
#
|
28
32
|
# Mapper for EditionCapability class as Ruby Hash.
|
@@ -73,6 +77,15 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
73
77
|
}
|
74
78
|
}
|
75
79
|
}
|
80
|
+
},
|
81
|
+
zone_redundant: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'zoneRedundant',
|
86
|
+
type: {
|
87
|
+
name: 'Boolean'
|
88
|
+
}
|
76
89
|
}
|
77
90
|
}
|
78
91
|
}
|
@@ -37,6 +37,11 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
37
37
|
# MB.
|
38
38
|
attr_accessor :storage_mb
|
39
39
|
|
40
|
+
# @return [Boolean] Whether or not this database elastic pool is zone
|
41
|
+
# redundant, which means the replicas of this database will be spread
|
42
|
+
# across multiple availability zones.
|
43
|
+
attr_accessor :zone_redundant
|
44
|
+
|
40
45
|
# @return [String] Kind of elastic pool. This is metadata used for the
|
41
46
|
# Azure portal experience.
|
42
47
|
attr_accessor :kind
|
@@ -164,6 +169,14 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
164
169
|
name: 'Number'
|
165
170
|
}
|
166
171
|
},
|
172
|
+
zone_redundant: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'properties.zoneRedundant',
|
176
|
+
type: {
|
177
|
+
name: 'Boolean'
|
178
|
+
}
|
179
|
+
},
|
167
180
|
kind: {
|
168
181
|
client_side_validation: true,
|
169
182
|
required: false,
|
@@ -23,6 +23,10 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
23
23
|
# pool DTU levels for the edition.
|
24
24
|
attr_accessor :supported_elastic_pool_dtus
|
25
25
|
|
26
|
+
# @return [Boolean] Whether or not zone redundancy is supported for the
|
27
|
+
# edition.
|
28
|
+
attr_accessor :zone_redundant
|
29
|
+
|
26
30
|
|
27
31
|
#
|
28
32
|
# Mapper for ElasticPoolEditionCapability class as Ruby Hash.
|
@@ -73,6 +77,15 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
73
77
|
}
|
74
78
|
}
|
75
79
|
}
|
80
|
+
},
|
81
|
+
zone_redundant: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'zoneRedundant',
|
86
|
+
type: {
|
87
|
+
name: 'Boolean'
|
88
|
+
}
|
76
89
|
}
|
77
90
|
}
|
78
91
|
}
|
@@ -40,6 +40,11 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
40
40
|
# MB.
|
41
41
|
attr_accessor :storage_mb
|
42
42
|
|
43
|
+
# @return [Boolean] Whether or not this database elastic pool is zone
|
44
|
+
# redundant, which means the replicas of this database will be spread
|
45
|
+
# across multiple availability zones.
|
46
|
+
attr_accessor :zone_redundant
|
47
|
+
|
43
48
|
|
44
49
|
#
|
45
50
|
# Mapper for ElasticPoolUpdate class as Ruby Hash.
|
@@ -154,6 +159,14 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
154
159
|
type: {
|
155
160
|
name: 'Number'
|
156
161
|
}
|
162
|
+
},
|
163
|
+
zone_redundant: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.zoneRedundant',
|
167
|
+
type: {
|
168
|
+
name: 'Boolean'
|
169
|
+
}
|
157
170
|
}
|
158
171
|
}
|
159
172
|
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2014_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the response to a list extensions request.
|
10
|
+
#
|
11
|
+
class ExtensionListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The list of extensions.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ExtensionListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ExtensionListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ExtensionListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ObjectElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Object'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -17,13 +17,21 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
17
17
|
|
18
18
|
# @return [DatabaseEdition] The edition for the database being created.
|
19
19
|
# Possible values include: 'Web', 'Business', 'Basic', 'Standard',
|
20
|
-
# 'Premium', 'Free', 'Stretch', 'DataWarehouse', 'System',
|
20
|
+
# 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System',
|
21
|
+
# 'System2'
|
21
22
|
attr_accessor :edition
|
22
23
|
|
23
24
|
# @return [ServiceObjectiveName] The name of the service objective to
|
24
|
-
# assign to the database. Possible values include: '
|
25
|
-
# '
|
26
|
-
# '
|
25
|
+
# assign to the database. Possible values include: 'System', 'System0',
|
26
|
+
# 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L',
|
27
|
+
# 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7',
|
28
|
+
# 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1',
|
29
|
+
# 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500',
|
30
|
+
# 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000',
|
31
|
+
# 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c',
|
32
|
+
# 'DW6000c', 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100',
|
33
|
+
# 'DS200', 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200',
|
34
|
+
# 'DS1500', 'DS2000', 'ElasticPool'
|
27
35
|
attr_accessor :service_objective_name
|
28
36
|
|
29
37
|
# @return [String] The maximum size for the newly imported database.
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2014_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class QueryText
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource name.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] Resource type.
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return [String] Query text.
|
23
|
+
attr_accessor :query_text
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for QueryText class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'QueryText',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'QueryText',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
query_text: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'queryText',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2014_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents the response to a get query text request.
|
10
|
+
#
|
11
|
+
class QueryTextListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<QueryText>] The query text.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for QueryTextListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'QueryTextListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'QueryTextListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'QueryTextElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'QueryText'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -9,11 +9,26 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
9
9
|
# Defines values for ServiceObjectiveName
|
10
10
|
#
|
11
11
|
module ServiceObjectiveName
|
12
|
+
System = "System"
|
13
|
+
System0 = "System0"
|
14
|
+
System1 = "System1"
|
15
|
+
System2 = "System2"
|
16
|
+
System3 = "System3"
|
17
|
+
System4 = "System4"
|
18
|
+
System2L = "System2L"
|
19
|
+
System3L = "System3L"
|
20
|
+
System4L = "System4L"
|
21
|
+
Free = "Free"
|
12
22
|
Basic = "Basic"
|
13
23
|
S0 = "S0"
|
14
24
|
S1 = "S1"
|
15
25
|
S2 = "S2"
|
16
26
|
S3 = "S3"
|
27
|
+
S4 = "S4"
|
28
|
+
S6 = "S6"
|
29
|
+
S7 = "S7"
|
30
|
+
S9 = "S9"
|
31
|
+
S12 = "S12"
|
17
32
|
P1 = "P1"
|
18
33
|
P2 = "P2"
|
19
34
|
P3 = "P3"
|
@@ -21,8 +36,43 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
21
36
|
P6 = "P6"
|
22
37
|
P11 = "P11"
|
23
38
|
P15 = "P15"
|
24
|
-
|
25
|
-
|
39
|
+
PRS1 = "PRS1"
|
40
|
+
PRS2 = "PRS2"
|
41
|
+
PRS4 = "PRS4"
|
42
|
+
PRS6 = "PRS6"
|
43
|
+
DW100 = "DW100"
|
44
|
+
DW200 = "DW200"
|
45
|
+
DW300 = "DW300"
|
46
|
+
DW400 = "DW400"
|
47
|
+
DW500 = "DW500"
|
48
|
+
DW600 = "DW600"
|
49
|
+
DW1000 = "DW1000"
|
50
|
+
DW1200 = "DW1200"
|
51
|
+
DW1000c = "DW1000c"
|
52
|
+
DW1500 = "DW1500"
|
53
|
+
DW1500c = "DW1500c"
|
54
|
+
DW2000 = "DW2000"
|
55
|
+
DW2000c = "DW2000c"
|
56
|
+
DW3000 = "DW3000"
|
57
|
+
DW2500c = "DW2500c"
|
58
|
+
DW3000c = "DW3000c"
|
59
|
+
DW6000 = "DW6000"
|
60
|
+
DW5000c = "DW5000c"
|
61
|
+
DW6000c = "DW6000c"
|
62
|
+
DW7500c = "DW7500c"
|
63
|
+
DW10000c = "DW10000c"
|
64
|
+
DW15000c = "DW15000c"
|
65
|
+
DW30000c = "DW30000c"
|
66
|
+
DS100 = "DS100"
|
67
|
+
DS200 = "DS200"
|
68
|
+
DS300 = "DS300"
|
69
|
+
DS400 = "DS400"
|
70
|
+
DS500 = "DS500"
|
71
|
+
DS600 = "DS600"
|
72
|
+
DS1000 = "DS1000"
|
73
|
+
DS1200 = "DS1200"
|
74
|
+
DS1500 = "DS1500"
|
75
|
+
DS2000 = "DS2000"
|
26
76
|
ElasticPool = "ElasticPool"
|
27
77
|
end
|
28
78
|
end
|
@@ -13,9 +13,16 @@ module Azure::SQL::Mgmt::V2014_04_01
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [ServiceObjectiveName] The serviceLevelObjective for SLO usage
|
16
|
-
# metric. Possible values include: '
|
17
|
-
# '
|
18
|
-
# '
|
16
|
+
# metric. Possible values include: 'System', 'System0', 'System1',
|
17
|
+
# 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L',
|
18
|
+
# 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12',
|
19
|
+
# 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4',
|
20
|
+
# 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000',
|
21
|
+
# 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c',
|
22
|
+
# 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
|
23
|
+
# 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200',
|
24
|
+
# 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500',
|
25
|
+
# 'DS2000', 'ElasticPool'
|
19
26
|
attr_accessor :service_level_objective
|
20
27
|
|
21
28
|
# @return The serviceLevelObjectiveId for SLO usage metric.
|