azure_mgmt_hanaonazure 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure.rb +47 -0
  4. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_instances.rb +942 -0
  5. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_management_client.rb +137 -0
  6. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb +72 -0
  7. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/display.rb +108 -0
  8. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/error_response.rb +57 -0
  9. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_hardware_type_names_enum.rb +16 -0
  10. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb +190 -0
  11. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_power_state_enum.rb +20 -0
  12. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_size_names_enum.rb +32 -0
  13. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instances_list_result.rb +98 -0
  14. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hardware_profile.rb +63 -0
  15. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/ip_address.rb +47 -0
  16. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/monitoring_details.rb +104 -0
  17. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/network_profile.rb +69 -0
  18. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation.rb +61 -0
  19. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation_list.rb +55 -0
  20. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb +72 -0
  21. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/resource.rb +112 -0
  22. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/storage_profile.rb +68 -0
  23. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/tags.rb +54 -0
  24. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/module_definition.rb +9 -0
  25. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/operations.rb +107 -0
  26. data/lib/azure_mgmt_hanaonazure.rb +6 -0
  27. data/lib/module_definition.rb +7 -0
  28. data/lib/profiles/latest/hanaonazure_latest_profile_client.rb +40 -0
  29. data/lib/profiles/latest/hanaonazure_module_definition.rb +8 -0
  30. data/lib/profiles/latest/modules/hanaonazure_profile_module.rb +135 -0
  31. data/lib/version.rb +7 -0
  32. metadata +147 -0
@@ -0,0 +1,20 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Defines values for HanaInstancePowerStateEnum
10
+ #
11
+ module HanaInstancePowerStateEnum
12
+ Starting = "starting"
13
+ Started = "started"
14
+ Stopping = "stopping"
15
+ Stopped = "stopped"
16
+ Restarting = "restarting"
17
+ Unknown = "unknown"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,32 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Defines values for HanaInstanceSizeNamesEnum
10
+ #
11
+ module HanaInstanceSizeNamesEnum
12
+ S72m = "S72m"
13
+ S144m = "S144m"
14
+ S72 = "S72"
15
+ S144 = "S144"
16
+ S192 = "S192"
17
+ S192m = "S192m"
18
+ S192xm = "S192xm"
19
+ S96 = "S96"
20
+ S384 = "S384"
21
+ S384m = "S384m"
22
+ S384xm = "S384xm"
23
+ S384xxm = "S384xxm"
24
+ S576m = "S576m"
25
+ S576xm = "S576xm"
26
+ S768 = "S768"
27
+ S768m = "S768m"
28
+ S768xm = "S768xm"
29
+ S960m = "S960m"
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,98 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # The response from the List HANA Instances operation.
10
+ #
11
+ class HanaInstancesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<HanaInstance>] The list of SAP HANA on Azure instances.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of HANA instances.
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<HanaInstance>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? 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 [HanaInstancesListResult] 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 HanaInstancesListResult 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: 'HanaInstancesListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'HanaInstancesListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'HanaInstanceElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'HanaInstance'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,63 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Specifies the hardware settings for the HANA instance.
10
+ #
11
+ class HardwareProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [HanaHardwareTypeNamesEnum] Name of the hardware type (vendor
16
+ # and/or their product name). Possible values include: 'Cisco_UCS', 'HPE'
17
+ attr_accessor :hardware_type
18
+
19
+ # @return [HanaInstanceSizeNamesEnum] Specifies the HANA instance SKU.
20
+ # Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192',
21
+ # 'S192m', 'S192xm', 'S96', 'S384', 'S384m', 'S384xm', 'S384xxm',
22
+ # 'S576m', 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m'
23
+ attr_accessor :hana_instance_size
24
+
25
+
26
+ #
27
+ # Mapper for HardwareProfile 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: 'HardwareProfile',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'HardwareProfile',
38
+ model_properties: {
39
+ hardware_type: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'hardwareType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ hana_instance_size: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'hanaInstanceSize',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,47 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Specifies the IP address of the network interface.
10
+ #
11
+ class IpAddress
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Specifies the IP address of the network interface.
16
+ attr_accessor :ip_address
17
+
18
+
19
+ #
20
+ # Mapper for IpAddress 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: 'IpAddress',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'IpAddress',
31
+ model_properties: {
32
+ ip_address: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'ipAddress',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,104 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Details needed to monitor a Hana Instance
10
+ #
11
+ class MonitoringDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] ARM ID of an Azure Subnet with access to the HANA
16
+ # instance.
17
+ attr_accessor :hana_subnet
18
+
19
+ # @return [String] Hostname of the HANA Instance blade.
20
+ attr_accessor :hana_hostname
21
+
22
+ # @return [String] Name of the database itself.
23
+ attr_accessor :hana_db_name
24
+
25
+ # @return [Integer] The port number of the tenant DB. Used to connect to
26
+ # the DB.
27
+ attr_accessor :hana_db_sql_port
28
+
29
+ # @return [String] Username for the HANA database to login to for
30
+ # monitoring
31
+ attr_accessor :hana_db_username
32
+
33
+ # @return [String] Password for the HANA database to login for monitoring
34
+ attr_accessor :hana_db_password
35
+
36
+
37
+ #
38
+ # Mapper for MonitoringDetails class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'MonitoringDetails',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'MonitoringDetails',
49
+ model_properties: {
50
+ hana_subnet: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'hanaSubnet',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ hana_hostname: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'hanaHostname',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ hana_db_name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'hanaDbName',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ hana_db_sql_port: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'hanaDbSqlPort',
78
+ type: {
79
+ name: 'Number'
80
+ }
81
+ },
82
+ hana_db_username: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'hanaDbUsername',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ hana_db_password: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'hanaDbPassword',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,69 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # Specifies the network settings for the HANA instance disks.
10
+ #
11
+ class NetworkProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<IpAddress>] Specifies the network interfaces for the
16
+ # HANA instance.
17
+ attr_accessor :network_interfaces
18
+
19
+ # @return [String] Specifies the circuit id for connecting to express
20
+ # route.
21
+ attr_accessor :circuit_id
22
+
23
+
24
+ #
25
+ # Mapper for NetworkProfile class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'NetworkProfile',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'NetworkProfile',
36
+ model_properties: {
37
+ network_interfaces: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'networkInterfaces',
41
+ type: {
42
+ name: 'Sequence',
43
+ element: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'IpAddressElementType',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'IpAddress'
50
+ }
51
+ }
52
+ }
53
+ },
54
+ circuit_id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'circuitId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,61 @@
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::Hanaonazure::Mgmt::V2017_11_03_preview
7
+ module Models
8
+ #
9
+ # HANA operation information
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the operation being performed on this
16
+ # particular object. This name should match the action name that appears
17
+ # in RBAC / the event service.
18
+ attr_accessor :name
19
+
20
+ # @return [Display] Displayed HANA operation information
21
+ attr_accessor :display
22
+
23
+
24
+ #
25
+ # Mapper for Operation class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'Operation',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Operation',
36
+ model_properties: {
37
+ name: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ display: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'display',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'Display'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end