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,100 @@
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 list of availability group listeners.
10
+ #
11
+ class AvailabilityGroupListenerListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<AvailabilityGroupListener>] Array of results.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to retrieve next page of results.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<AvailabilityGroupListener>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [AvailabilityGroupListenerListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for AvailabilityGroupListenerListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'AvailabilityGroupListenerListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'AvailabilityGroupListenerListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'AvailabilityGroupListenerElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'AvailabilityGroupListener'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for BackupScheduleType
10
+ #
11
+ module BackupScheduleType
12
+ Manual = "Manual"
13
+ Automated = "Automated"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
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
+ # Defines values for ClusterConfiguration
10
+ #
11
+ module ClusterConfiguration
12
+ Domainful = "Domainful"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
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
+ # Defines values for ClusterManagerType
10
+ #
11
+ module ClusterManagerType
12
+ WSFC = "WSFC"
13
+ end
14
+ end
15
+ end
@@ -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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ConnectivityType
10
+ #
11
+ module ConnectivityType
12
+ LOCAL = "LOCAL"
13
+ PRIVATE = "PRIVATE"
14
+ PUBLIC = "PUBLIC"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,21 @@
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
+ # Defines values for DayOfWeek
10
+ #
11
+ module DayOfWeek
12
+ Monday = "Monday"
13
+ Tuesday = "Tuesday"
14
+ Wednesday = "Wednesday"
15
+ Thursday = "Thursday"
16
+ Friday = "Friday"
17
+ Saturday = "Saturday"
18
+ Sunday = "Sunday"
19
+ end
20
+ end
21
+ end
@@ -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::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for DiskConfigurationType
10
+ #
11
+ module DiskConfigurationType
12
+ NEW = "NEW"
13
+ EXTEND = "EXTEND"
14
+ ADD = "ADD"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for FullBackupFrequencyType
10
+ #
11
+ module FullBackupFrequencyType
12
+ Daily = "Daily"
13
+ Weekly = "Weekly"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
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
+ # Defines values for IdentityType
10
+ #
11
+ module IdentityType
12
+ SystemAssigned = "SystemAssigned"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,91 @@
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 your SQL virtual machine to be able to connect to the Azure Key
10
+ # Vault service.
11
+ #
12
+ class KeyVaultCredentialSettings
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Boolean] Enable or disable key vault credential setting.
17
+ attr_accessor :enable
18
+
19
+ # @return [String] Credential name.
20
+ attr_accessor :credential_name
21
+
22
+ # @return [String] Azure Key Vault url.
23
+ attr_accessor :azure_key_vault_url
24
+
25
+ # @return [String] Service principal name to access key vault.
26
+ attr_accessor :service_principal_name
27
+
28
+ # @return [String] Service principal name secret to access key vault.
29
+ attr_accessor :service_principal_secret
30
+
31
+
32
+ #
33
+ # Mapper for KeyVaultCredentialSettings class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'KeyVaultCredentialSettings',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'KeyVaultCredentialSettings',
44
+ model_properties: {
45
+ enable: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'enable',
49
+ type: {
50
+ name: 'Boolean'
51
+ }
52
+ },
53
+ credential_name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'credentialName',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ azure_key_vault_url: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'azureKeyVaultUrl',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ service_principal_name: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'servicePrincipalName',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ service_principal_secret: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'servicePrincipalSecret',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,100 @@
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 load balancer configuration for an availability group listener.
10
+ #
11
+ class LoadBalancerConfiguration
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PrivateIPAddress] Private IP address.
16
+ attr_accessor :private_ip_address
17
+
18
+ # @return [String] Resource id of the public IP.
19
+ attr_accessor :public_ip_address_resource_id
20
+
21
+ # @return [String] Subnet used to include private IP.
22
+ attr_accessor :load_balancer_resource_id
23
+
24
+ # @return [Integer] Probe port.
25
+ attr_accessor :probe_port
26
+
27
+ # @return [Array<String>] List of the SQL virtual machine instance
28
+ # resource id's that are enrolled into the availability group listener.
29
+ attr_accessor :sql_virtual_machine_instances
30
+
31
+
32
+ #
33
+ # Mapper for LoadBalancerConfiguration class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'LoadBalancerConfiguration',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'LoadBalancerConfiguration',
44
+ model_properties: {
45
+ private_ip_address: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'privateIpAddress',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'PrivateIPAddress'
52
+ }
53
+ },
54
+ public_ip_address_resource_id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'publicIpAddressResourceId',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ load_balancer_resource_id: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'loadBalancerResourceId',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ probe_port: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'probePort',
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ sql_virtual_machine_instances: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'sqlVirtualMachineInstances',
82
+ type: {
83
+ name: 'Sequence',
84
+ element: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'StringElementType',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,95 @@
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
+ # SQL REST API operation definition.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the operation being performed on this
16
+ # particular object.
17
+ attr_accessor :name
18
+
19
+ # @return [OperationDisplay] The localized display information for this
20
+ # particular operation / action.
21
+ attr_accessor :display
22
+
23
+ # @return [OperationOrigin] The intended executor of the operation.
24
+ # Possible values include: 'user', 'system'
25
+ attr_accessor :origin
26
+
27
+ # @return Additional descriptions for the operation.
28
+ attr_accessor :properties
29
+
30
+
31
+ #
32
+ # Mapper for Operation class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'Operation',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Operation',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ display: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'display',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'OperationDisplay'
61
+ }
62
+ },
63
+ origin: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'origin',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ properties: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'properties',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'ObjectElementType',
83
+ type: {
84
+ name: 'Object'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end