azure_mgmt_container_service 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2016-03-30/generated/azure_mgmt_container_service.rb +42 -0
  4. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +131 -0
  5. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb +634 -0
  6. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb +167 -0
  7. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +106 -0
  8. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +47 -0
  9. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +56 -0
  10. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +52 -0
  11. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +68 -0
  12. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ochestrator_types.rb +16 -0
  13. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +47 -0
  14. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +53 -0
  15. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +46 -0
  16. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +57 -0
  17. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +61 -0
  18. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +54 -0
  19. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb +94 -0
  20. data/lib/2016-03-30/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  21. data/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb +8 -0
  22. data/lib/2016-09-30/generated/azure_mgmt_container_service.rb +44 -0
  23. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +131 -0
  24. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +919 -0
  25. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb +190 -0
  26. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +107 -0
  27. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +44 -0
  28. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +47 -0
  29. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +59 -0
  30. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +95 -0
  31. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +68 -0
  32. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ochestrator_types.rb +18 -0
  33. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +48 -0
  34. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +56 -0
  35. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +53 -0
  36. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +46 -0
  37. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +57 -0
  38. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +61 -0
  39. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +60 -0
  40. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb +94 -0
  41. data/lib/2016-09-30/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  42. data/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb +8 -0
  43. data/lib/2017-01-31/generated/azure_mgmt_container_service.rb +44 -0
  44. data/lib/2017-01-31/generated/azure_mgmt_container_service/compute_management_client.rb +131 -0
  45. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +919 -0
  46. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb +190 -0
  47. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +107 -0
  48. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +44 -0
  49. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +47 -0
  50. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +59 -0
  51. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb +95 -0
  52. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +68 -0
  53. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +48 -0
  54. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_types.rb +18 -0
  55. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +56 -0
  56. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +53 -0
  57. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +46 -0
  58. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +57 -0
  59. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +61 -0
  60. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +60 -0
  61. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb +94 -0
  62. data/lib/2017-01-31/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  63. data/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb +8 -0
  64. data/lib/azure_mgmt_container_service.rb +8 -0
  65. data/lib/module_definition.rb +6 -0
  66. data/lib/profiles/common/configurable.rb +73 -0
  67. data/lib/profiles/common/default.rb +68 -0
  68. data/lib/profiles/latest/containerservice_latest_profile_client.rb +33 -0
  69. data/lib/profiles/latest/containerservice_module_definition.rb +9 -0
  70. data/lib/profiles/latest/modules/containerservice_profile_module.rb +106 -0
  71. data/lib/version.rb +7 -0
  72. metadata +184 -0
@@ -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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # The response from the List Container Services operation.
10
+ #
11
+ class ContainerServiceListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ContainerService>] the list of container services.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of container service
20
+ # results.
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<ContainerService>] 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 [ContainerServiceListResult] 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 ContainerServiceListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'ContainerServiceListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ContainerServiceListResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'value',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ required: false,
74
+ serialized_name: 'ContainerServiceElementType',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'ContainerService'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ next_link: {
83
+ required: false,
84
+ serialized_name: 'nextLink',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ 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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Profile for the container service master.
10
+ #
11
+ class ContainerServiceMasterProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Number of masters (VMs) in the container service
16
+ # cluster. Allowed values are 1, 3, and 5. The default value is 1.
17
+ # Default value: 1 .
18
+ attr_accessor :count
19
+
20
+ # @return [String] DNS prefix to be used to create the FQDN for master.
21
+ attr_accessor :dns_prefix
22
+
23
+ # @return [String] FDQN for the master.
24
+ attr_accessor :fqdn
25
+
26
+
27
+ #
28
+ # Mapper for ContainerServiceMasterProfile class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'ContainerServiceMasterProfile',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ContainerServiceMasterProfile',
38
+ model_properties: {
39
+ count: {
40
+ required: false,
41
+ serialized_name: 'count',
42
+ default_value: 1,
43
+ type: {
44
+ name: 'Number'
45
+ }
46
+ },
47
+ dns_prefix: {
48
+ required: true,
49
+ serialized_name: 'dnsPrefix',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ fqdn: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'fqdn',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,48 @@
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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Profile for the container service orchestrator.
10
+ #
11
+ class ContainerServiceOrchestratorProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ContainerServiceOrchestratorTypes] The orchestrator to use to
16
+ # manage container service cluster resources. Valid values are Swarm,
17
+ # DCOS, and Custom. Possible values include: 'Swarm', 'DCOS', 'Custom',
18
+ # 'Kubernetes'
19
+ attr_accessor :orchestrator_type
20
+
21
+
22
+ #
23
+ # Mapper for ContainerServiceOrchestratorProfile class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ContainerServiceOrchestratorProfile',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ContainerServiceOrchestratorProfile',
33
+ model_properties: {
34
+ orchestrator_type: {
35
+ required: true,
36
+ serialized_name: 'orchestratorType',
37
+ type: {
38
+ name: 'Enum',
39
+ module: 'ContainerServiceOrchestratorTypes'
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ 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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Defines values for ContainerServiceOrchestratorTypes
10
+ #
11
+ module ContainerServiceOrchestratorTypes
12
+ Swarm = "Swarm"
13
+ DCOS = "DCOS"
14
+ Custom = "Custom"
15
+ Kubernetes = "Kubernetes"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,56 @@
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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Information about a service principal identity for the cluster to use for
10
+ # manipulating Azure APIs.
11
+ #
12
+ class ContainerServiceServicePrincipalProfile
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The ID for the service principal.
17
+ attr_accessor :client_id
18
+
19
+ # @return [String] The secret password associated with the service
20
+ # principal.
21
+ attr_accessor :secret
22
+
23
+
24
+ #
25
+ # Mapper for ContainerServiceServicePrincipalProfile class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'ContainerServiceServicePrincipalProfile',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ContainerServiceServicePrincipalProfile',
35
+ model_properties: {
36
+ client_id: {
37
+ required: true,
38
+ serialized_name: 'clientId',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ secret: {
44
+ required: true,
45
+ serialized_name: 'secret',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,53 @@
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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # SSH configuration for Linux-based VMs running on Azure.
10
+ #
11
+ class ContainerServiceSshConfiguration
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ContainerServiceSshPublicKey>] the list of SSH public
16
+ # keys used to authenticate with Linux-based VMs.
17
+ attr_accessor :public_keys
18
+
19
+
20
+ #
21
+ # Mapper for ContainerServiceSshConfiguration class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'ContainerServiceSshConfiguration',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ContainerServiceSshConfiguration',
31
+ model_properties: {
32
+ public_keys: {
33
+ required: true,
34
+ serialized_name: 'publicKeys',
35
+ type: {
36
+ name: 'Sequence',
37
+ element: {
38
+ required: false,
39
+ serialized_name: 'ContainerServiceSshPublicKeyElementType',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ContainerServiceSshPublicKey'
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,46 @@
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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Contains information about SSH certificate public key data.
10
+ #
11
+ class ContainerServiceSshPublicKey
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Certificate public key used to authenticate with VMs
16
+ # through SSH. The certificate must be in PEM format with or without
17
+ # headers.
18
+ attr_accessor :key_data
19
+
20
+
21
+ #
22
+ # Mapper for ContainerServiceSshPublicKey class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ContainerServiceSshPublicKey',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ContainerServiceSshPublicKey',
32
+ model_properties: {
33
+ key_data: {
34
+ required: true,
35
+ serialized_name: 'keyData',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Profile for diagnostics on the container service VMs.
10
+ #
11
+ class ContainerServiceVMDiagnostics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether the VM diagnostic agent is provisioned on the
16
+ # VM.
17
+ attr_accessor :enabled
18
+
19
+ # @return [String] The URI of the storage account where diagnostics are
20
+ # stored.
21
+ attr_accessor :storage_uri
22
+
23
+
24
+ #
25
+ # Mapper for ContainerServiceVMDiagnostics class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'ContainerServiceVMDiagnostics',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ContainerServiceVMDiagnostics',
35
+ model_properties: {
36
+ enabled: {
37
+ required: true,
38
+ serialized_name: 'enabled',
39
+ type: {
40
+ name: 'Boolean'
41
+ }
42
+ },
43
+ storage_uri: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'storageUri',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end