azure_mgmt_container_instance 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +7 -6
  3. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +7 -6
  4. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +7 -6
  5. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb +18 -14
  6. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +120 -71
  7. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +11 -6
  8. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  9. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  10. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  11. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb +144 -0
  12. data/lib/2018-04-01/generated/azure_mgmt_container_instance.rb +67 -0
  13. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
  14. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb +984 -0
  15. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +149 -0
  16. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb +139 -0
  17. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  18. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb +168 -0
  19. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  20. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  21. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +59 -0
  22. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb +216 -0
  23. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  24. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  25. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  26. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  27. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  28. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  29. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  30. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  31. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
  32. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +57 -0
  33. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
  34. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  35. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  36. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb +103 -0
  37. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb +47 -0
  38. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  39. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb +72 -0
  40. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb +83 -0
  41. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
  42. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  43. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb +101 -0
  44. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
  45. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
  46. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  47. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  48. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  49. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  50. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  51. data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  52. data/lib/2018-04-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  53. data/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
  54. data/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb +144 -0
  55. data/lib/2018-06-01/generated/azure_mgmt_container_instance.rb +71 -0
  56. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
  57. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +984 -0
  58. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
  59. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb +258 -0
  60. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  63. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  64. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  65. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb +229 -0
  67. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  68. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  69. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  70. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  71. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  72. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
  73. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  74. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  75. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  76. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  77. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
  79. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  80. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
  81. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  82. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  83. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb +103 -0
  84. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +57 -0
  85. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  86. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  87. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb +70 -0
  88. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
  90. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  91. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb +101 -0
  92. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
  93. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
  94. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  95. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  96. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  97. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  98. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  99. data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  100. data/lib/2018-06-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  101. data/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
  102. data/lib/azure_mgmt_container_instance.rb +3 -1
  103. data/lib/profiles/latest/modules/containerinstance_profile_module.rb +116 -84
  104. data/lib/version.rb +1 -1
  105. metadata +98 -4
@@ -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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Container group diagnostic information.
10
+ #
11
+ class ContainerGroupDiagnostics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [LogAnalytics] Container group log analytics information.
16
+ attr_accessor :log_analytics
17
+
18
+
19
+ #
20
+ # Mapper for ContainerGroupDiagnostics 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: 'ContainerGroupDiagnostics',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ContainerGroupDiagnostics',
31
+ model_properties: {
32
+ log_analytics: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'logAnalytics',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'LogAnalytics'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,99 @@
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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The container group list response that contains the container group
10
+ # properties.
11
+ #
12
+ class ContainerGroupListResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<ContainerGroup>] The list of container groups.
18
+ attr_accessor :value
19
+
20
+ # @return [String] The URI to fetch the next page of container groups.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<ContainerGroup>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ContainerGroupListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ContainerGroupListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ContainerGroupListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ContainerGroupListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'ContainerGroupElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ContainerGroup'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ 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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ContainerGroupNetworkProtocol
10
+ #
11
+ module ContainerGroupNetworkProtocol
12
+ TCP = "TCP"
13
+ UDP = "UDP"
14
+ end
15
+ end
16
+ 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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The instance view of the container group. Only valid in response.
10
+ #
11
+ class ContainerGroupPropertiesInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Event>] The events of this container group.
16
+ attr_accessor :events
17
+
18
+ # @return [String] The state of the container group. Only valid in
19
+ # response.
20
+ attr_accessor :state
21
+
22
+
23
+ #
24
+ # Mapper for ContainerGroupPropertiesInstanceView class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ContainerGroup_properties_instanceView',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ContainerGroupPropertiesInstanceView',
35
+ model_properties: {
36
+ events: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'events',
41
+ type: {
42
+ name: 'Sequence',
43
+ element: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'EventElementType',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'Event'
50
+ }
51
+ }
52
+ }
53
+ },
54
+ state: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'state',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ 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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ContainerGroupRestartPolicy
10
+ #
11
+ module ContainerGroupRestartPolicy
12
+ Always = "Always"
13
+ OnFailure = "OnFailure"
14
+ Never = "Never"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,68 @@
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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The container Http Get settings, for liveness or readiness probe
10
+ #
11
+ class ContainerHttpGet
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The path to probe.
16
+ attr_accessor :path
17
+
18
+ # @return [Integer] The port number to probe.
19
+ attr_accessor :port
20
+
21
+ # @return [Enum] The scheme. Possible values include: 'http', 'https'
22
+ attr_accessor :scheme
23
+
24
+
25
+ #
26
+ # Mapper for ContainerHttpGet class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'ContainerHttpGet',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ContainerHttpGet',
37
+ model_properties: {
38
+ path: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'path',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ port: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'port',
50
+ type: {
51
+ name: 'Number'
52
+ }
53
+ },
54
+ scheme: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'scheme',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ 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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ContainerInstanceOperationsOrigin
10
+ #
11
+ module ContainerInstanceOperationsOrigin
12
+ User = "User"
13
+ System = "System"
14
+ end
15
+ end
16
+ 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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ContainerNetworkProtocol
10
+ #
11
+ module ContainerNetworkProtocol
12
+ TCP = "TCP"
13
+ UDP = "UDP"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,58 @@
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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The port exposed on the container instance.
10
+ #
11
+ class ContainerPort
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ContainerNetworkProtocol] The protocol associated with the
16
+ # port. Possible values include: 'TCP', 'UDP'
17
+ attr_accessor :protocol
18
+
19
+ # @return [Integer] The port number exposed within the container group.
20
+ attr_accessor :port
21
+
22
+
23
+ #
24
+ # Mapper for ContainerPort class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ContainerPort',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ContainerPort',
35
+ model_properties: {
36
+ protocol: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'protocol',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ port: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'port',
48
+ type: {
49
+ name: 'Number'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,114 @@
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::ContainerInstance::Mgmt::V2018_06_01
7
+ module Models
8
+ #
9
+ # The container probe, for liveness or readiness
10
+ #
11
+ class ContainerProbe
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ContainerExec] The execution command to probe
16
+ attr_accessor :exec
17
+
18
+ # @return [ContainerHttpGet] The Http Get settings to probe
19
+ attr_accessor :http_get
20
+
21
+ # @return [Integer] The initial delay seconds.
22
+ attr_accessor :initial_delay_seconds
23
+
24
+ # @return [Integer] The period seconds.
25
+ attr_accessor :period_seconds
26
+
27
+ # @return [Integer] The failure threshold.
28
+ attr_accessor :failure_threshold
29
+
30
+ # @return [Integer] The success threshold.
31
+ attr_accessor :success_threshold
32
+
33
+ # @return [Integer] The timeout seconds.
34
+ attr_accessor :timeout_seconds
35
+
36
+
37
+ #
38
+ # Mapper for ContainerProbe 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: 'ContainerProbe',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ContainerProbe',
49
+ model_properties: {
50
+ exec: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'exec',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'ContainerExec'
57
+ }
58
+ },
59
+ http_get: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'httpGet',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ContainerHttpGet'
66
+ }
67
+ },
68
+ initial_delay_seconds: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'initialDelaySeconds',
72
+ type: {
73
+ name: 'Number'
74
+ }
75
+ },
76
+ period_seconds: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'periodSeconds',
80
+ type: {
81
+ name: 'Number'
82
+ }
83
+ },
84
+ failure_threshold: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'failureThreshold',
88
+ type: {
89
+ name: 'Number'
90
+ }
91
+ },
92
+ success_threshold: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'successThreshold',
96
+ type: {
97
+ name: 'Number'
98
+ }
99
+ },
100
+ timeout_seconds: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'timeoutSeconds',
104
+ type: {
105
+ name: 'Number'
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ end
112
+ end
113
+ end
114
+ end