azure_mgmt_sqlvirtualmachine 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb +71 -0
  4. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb +684 -0
  5. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb +57 -0
  6. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb +173 -0
  7. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb +85 -0
  8. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb +130 -0
  9. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb +100 -0
  10. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb +16 -0
  11. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb +15 -0
  12. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_manager_type.rb +15 -0
  13. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb +17 -0
  14. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb +21 -0
  15. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/disk_configuration_type.rb +17 -0
  16. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/full_backup_frequency_type.rb +16 -0
  17. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb +15 -0
  18. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb +91 -0
  19. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb +100 -0
  20. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb +95 -0
  21. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_display.rb +85 -0
  22. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb +100 -0
  23. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_origin.rb +16 -0
  24. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/private_ipaddress.rb +58 -0
  25. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/proxy_resource.rb +62 -0
  26. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource.rb +80 -0
  27. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource_identity.rb +72 -0
  28. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/scale_type.rb +15 -0
  29. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb +84 -0
  30. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb +80 -0
  31. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb +19 -0
  32. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb +16 -0
  33. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb +58 -0
  34. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb +237 -0
  35. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb +174 -0
  36. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb +100 -0
  37. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb +54 -0
  38. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb +100 -0
  39. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb +54 -0
  40. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb +17 -0
  41. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb +47 -0
  42. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb +92 -0
  43. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb +69 -0
  44. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb +130 -0
  45. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/module_definition.rb +9 -0
  46. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb +219 -0
  47. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb +1000 -0
  48. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb +143 -0
  49. data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb +980 -0
  50. data/lib/azure_mgmt_sqlvirtualmachine.rb +6 -0
  51. data/lib/module_definition.rb +8 -0
  52. data/lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb +227 -0
  53. data/lib/profiles/latest/sqlvirtualmachine_latest_profile_client.rb +40 -0
  54. data/lib/profiles/latest/sqlvirtualmachine_module_definition.rb +8 -0
  55. data/lib/version.rb +7 -0
  56. metadata +173 -0
@@ -0,0 +1,57 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Additional SQL Server feature settings.
10
+ #
11
+ class AdditionalFeaturesServerConfigurations
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Enable or disable R services (SQL 2016 onwards).
16
+ attr_accessor :is_rservices_enabled
17
+
18
+ # @return [Boolean] Enable or disable Azure Backup service.
19
+ attr_accessor :backup_permissions_for_azure_backup_svc
20
+
21
+
22
+ #
23
+ # Mapper for AdditionalFeaturesServerConfigurations class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'AdditionalFeaturesServerConfigurations',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'AdditionalFeaturesServerConfigurations',
34
+ model_properties: {
35
+ is_rservices_enabled: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'isRServicesEnabled',
39
+ type: {
40
+ name: 'Boolean'
41
+ }
42
+ },
43
+ backup_permissions_for_azure_backup_svc: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'backupPermissionsForAzureBackupSvc',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,173 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Configure backups for databases in your SQL virtual machine.
10
+ #
11
+ class AutoBackupSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Enable or disable autobackup on SQL virtual machine.
16
+ attr_accessor :enable
17
+
18
+ # @return [Boolean] Enable or disable encryption for backup on SQL
19
+ # virtual machine.
20
+ attr_accessor :enable_encryption
21
+
22
+ # @return [Integer] Retention period of backup: 1-30 days.
23
+ attr_accessor :retention_period
24
+
25
+ # @return [String] Storage account url where backup will be taken to.
26
+ attr_accessor :storage_account_url
27
+
28
+ # @return [String] Storage account key where backup will be taken to.
29
+ attr_accessor :storage_access_key
30
+
31
+ # @return [String] Password for encryption on backup.
32
+ attr_accessor :password
33
+
34
+ # @return [Boolean] Include or exclude system databases from auto backup.
35
+ attr_accessor :backup_system_dbs
36
+
37
+ # @return [BackupScheduleType] Backup schedule type. Possible values
38
+ # include: 'Manual', 'Automated'
39
+ attr_accessor :backup_schedule_type
40
+
41
+ # @return [FullBackupFrequencyType] Frequency of full backups. In both
42
+ # cases, full backups begin during the next scheduled time window.
43
+ # Possible values include: 'Daily', 'Weekly'
44
+ attr_accessor :full_backup_frequency
45
+
46
+ # @return [Integer] Start time of a given day during which full backups
47
+ # can take place. 0-23 hours.
48
+ attr_accessor :full_backup_start_time
49
+
50
+ # @return [Integer] Duration of the time window of a given day during
51
+ # which full backups can take place. 1-23 hours.
52
+ attr_accessor :full_backup_window_hours
53
+
54
+ # @return [Integer] Frequency of log backups. 5-60 minutes.
55
+ attr_accessor :log_backup_frequency
56
+
57
+
58
+ #
59
+ # Mapper for AutoBackupSettings class as Ruby Hash.
60
+ # This will be used for serialization/deserialization.
61
+ #
62
+ def self.mapper()
63
+ {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'AutoBackupSettings',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'AutoBackupSettings',
70
+ model_properties: {
71
+ enable: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'enable',
75
+ type: {
76
+ name: 'Boolean'
77
+ }
78
+ },
79
+ enable_encryption: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'enableEncryption',
83
+ type: {
84
+ name: 'Boolean'
85
+ }
86
+ },
87
+ retention_period: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'retentionPeriod',
91
+ type: {
92
+ name: 'Number'
93
+ }
94
+ },
95
+ storage_account_url: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'storageAccountUrl',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ storage_access_key: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'storageAccessKey',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ password: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'password',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ backup_system_dbs: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'backupSystemDbs',
123
+ type: {
124
+ name: 'Boolean'
125
+ }
126
+ },
127
+ backup_schedule_type: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ serialized_name: 'backupScheduleType',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ full_backup_frequency: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'fullBackupFrequency',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ full_backup_start_time: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'fullBackupStartTime',
147
+ type: {
148
+ name: 'Number'
149
+ }
150
+ },
151
+ full_backup_window_hours: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'fullBackupWindowHours',
155
+ type: {
156
+ name: 'Number'
157
+ }
158
+ },
159
+ log_backup_frequency: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'logBackupFrequency',
163
+ type: {
164
+ name: 'Number'
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ end
171
+ end
172
+ end
173
+ end
@@ -0,0 +1,85 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Set a patching window during which Windows and SQL patches will be
10
+ # applied.
11
+ #
12
+ class AutoPatchingSettings
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Boolean] Enable or disable autopatching on SQL virtual
17
+ # machine.
18
+ attr_accessor :enable
19
+
20
+ # @return [DayOfWeek] Day of week to apply the patch on. Possible values
21
+ # include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
22
+ # 'Saturday', 'Sunday'
23
+ attr_accessor :day_of_week
24
+
25
+ # @return [Integer] Hour of the day when patching is initiated. Local VM
26
+ # time.
27
+ attr_accessor :maintenance_window_starting_hour
28
+
29
+ # @return [Integer] Duration of patching.
30
+ attr_accessor :maintenance_window_duration
31
+
32
+
33
+ #
34
+ # Mapper for AutoPatchingSettings class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'AutoPatchingSettings',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'AutoPatchingSettings',
45
+ model_properties: {
46
+ enable: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'enable',
50
+ type: {
51
+ name: 'Boolean'
52
+ }
53
+ },
54
+ day_of_week: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'dayOfWeek',
58
+ type: {
59
+ name: 'Enum',
60
+ module: 'DayOfWeek'
61
+ }
62
+ },
63
+ maintenance_window_starting_hour: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'maintenanceWindowStartingHour',
67
+ type: {
68
+ name: 'Number'
69
+ }
70
+ },
71
+ maintenance_window_duration: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'maintenanceWindowDuration',
75
+ type: {
76
+ name: 'Number'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,130 @@
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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # A SQL Server availability group listener.
10
+ #
11
+ class AvailabilityGroupListener < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provisioning state to track the aysnc operation
16
+ # status.
17
+ attr_accessor :provisioning_state
18
+
19
+ # @return [String] Name of the availability group.
20
+ attr_accessor :availability_group_name
21
+
22
+ # @return [Array<LoadBalancerConfiguration>] List of load balancer
23
+ # configurations for an availability group listener.
24
+ attr_accessor :load_balancer_configurations
25
+
26
+ # @return [Boolean] Create a default availability group if it does not
27
+ # exist.
28
+ attr_accessor :create_default_availability_group_if_not_exist
29
+
30
+ # @return [Integer] Listener port.
31
+ attr_accessor :port
32
+
33
+
34
+ #
35
+ # Mapper for AvailabilityGroupListener class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'AvailabilityGroupListener',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'AvailabilityGroupListener',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ provisioning_state: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'properties.provisioningState',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ availability_group_name: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.availabilityGroupName',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ load_balancer_configurations: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'properties.loadBalancerConfigurations',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'LoadBalancerConfigurationElementType',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'LoadBalancerConfiguration'
104
+ }
105
+ }
106
+ }
107
+ },
108
+ create_default_availability_group_if_not_exist: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'properties.createDefaultAvailabilityGroupIfNotExist',
112
+ type: {
113
+ name: 'Boolean'
114
+ }
115
+ },
116
+ port: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'properties.port',
120
+ type: {
121
+ name: 'Number'
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ end
128
+ end
129
+ end
130
+ end