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,190 @@
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
+ # Container service.
10
+ #
11
+ class ContainerService < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the current deployment or provisioning state, which
16
+ # only appears in the response.
17
+ attr_accessor :provisioning_state
18
+
19
+ # @return [ContainerServiceOrchestratorProfile] Properties of the
20
+ # orchestrator.
21
+ attr_accessor :orchestrator_profile
22
+
23
+ # @return [ContainerServiceCustomProfile] Properties for custom clusters.
24
+ attr_accessor :custom_profile
25
+
26
+ # @return [ContainerServiceServicePrincipalProfile] Properties for
27
+ # cluster service principals.
28
+ attr_accessor :service_principal_profile
29
+
30
+ # @return [ContainerServiceMasterProfile] Properties of master agents.
31
+ attr_accessor :master_profile
32
+
33
+ # @return [Array<ContainerServiceAgentPoolProfile>] Properties of the
34
+ # agent pool.
35
+ attr_accessor :agent_pool_profiles
36
+
37
+ # @return [ContainerServiceWindowsProfile] Properties of Windows VMs.
38
+ attr_accessor :windows_profile
39
+
40
+ # @return [ContainerServiceLinuxProfile] Properties of Linux VMs.
41
+ attr_accessor :linux_profile
42
+
43
+ # @return [ContainerServiceDiagnosticsProfile] Properties of the
44
+ # diagnostic agent.
45
+ attr_accessor :diagnostics_profile
46
+
47
+
48
+ #
49
+ # Mapper for ContainerService class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ required: false,
55
+ serialized_name: 'ContainerService',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ContainerService',
59
+ model_properties: {
60
+ id: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'id',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ name: {
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'name',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ type: {
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'type',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ location: {
85
+ required: true,
86
+ serialized_name: 'location',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ tags: {
92
+ required: false,
93
+ serialized_name: 'tags',
94
+ type: {
95
+ name: 'Dictionary',
96
+ value: {
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ },
105
+ provisioning_state: {
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'properties.provisioningState',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ orchestrator_profile: {
114
+ required: false,
115
+ serialized_name: 'properties.orchestratorProfile',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'ContainerServiceOrchestratorProfile'
119
+ }
120
+ },
121
+ custom_profile: {
122
+ required: false,
123
+ serialized_name: 'properties.customProfile',
124
+ type: {
125
+ name: 'Composite',
126
+ class_name: 'ContainerServiceCustomProfile'
127
+ }
128
+ },
129
+ service_principal_profile: {
130
+ required: false,
131
+ serialized_name: 'properties.servicePrincipalProfile',
132
+ type: {
133
+ name: 'Composite',
134
+ class_name: 'ContainerServiceServicePrincipalProfile'
135
+ }
136
+ },
137
+ master_profile: {
138
+ required: true,
139
+ serialized_name: 'properties.masterProfile',
140
+ type: {
141
+ name: 'Composite',
142
+ class_name: 'ContainerServiceMasterProfile'
143
+ }
144
+ },
145
+ agent_pool_profiles: {
146
+ required: true,
147
+ serialized_name: 'properties.agentPoolProfiles',
148
+ type: {
149
+ name: 'Sequence',
150
+ element: {
151
+ required: false,
152
+ serialized_name: 'ContainerServiceAgentPoolProfileElementType',
153
+ type: {
154
+ name: 'Composite',
155
+ class_name: 'ContainerServiceAgentPoolProfile'
156
+ }
157
+ }
158
+ }
159
+ },
160
+ windows_profile: {
161
+ required: false,
162
+ serialized_name: 'properties.windowsProfile',
163
+ type: {
164
+ name: 'Composite',
165
+ class_name: 'ContainerServiceWindowsProfile'
166
+ }
167
+ },
168
+ linux_profile: {
169
+ required: true,
170
+ serialized_name: 'properties.linuxProfile',
171
+ type: {
172
+ name: 'Composite',
173
+ class_name: 'ContainerServiceLinuxProfile'
174
+ }
175
+ },
176
+ diagnostics_profile: {
177
+ required: false,
178
+ serialized_name: 'properties.diagnosticsProfile',
179
+ type: {
180
+ name: 'Composite',
181
+ class_name: 'ContainerServiceDiagnosticsProfile'
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }
187
+ end
188
+ end
189
+ end
190
+ end
@@ -0,0 +1,107 @@
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 agent pool.
10
+ #
11
+ class ContainerServiceAgentPoolProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Unique name of the agent pool profile in the context
16
+ # of the subscription and resource group.
17
+ attr_accessor :name
18
+
19
+ # @return [Integer] Number of agents (VMs) to host docker containers.
20
+ # Allowed values must be in the range of 1 to 100 (inclusive). The
21
+ # default value is 1. . Default value: 1 .
22
+ attr_accessor :count
23
+
24
+ # @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
25
+ # values include: 'Standard_A0', 'Standard_A1', 'Standard_A2',
26
+ # 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6',
27
+ # 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10',
28
+ # 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3',
29
+ # 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13',
30
+ # 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2',
31
+ # 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2',
32
+ # 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1',
33
+ # 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
34
+ # 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', 'Standard_DS4',
35
+ # 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
36
+ # 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
37
+ # 'Standard_GS5'
38
+ attr_accessor :vm_size
39
+
40
+ # @return [String] DNS prefix to be used to create the FQDN for the agent
41
+ # pool.
42
+ attr_accessor :dns_prefix
43
+
44
+ # @return [String] FDQN for the agent pool.
45
+ attr_accessor :fqdn
46
+
47
+
48
+ #
49
+ # Mapper for ContainerServiceAgentPoolProfile class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ required: false,
55
+ serialized_name: 'ContainerServiceAgentPoolProfile',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ContainerServiceAgentPoolProfile',
59
+ model_properties: {
60
+ name: {
61
+ required: true,
62
+ serialized_name: 'name',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ count: {
68
+ required: true,
69
+ serialized_name: 'count',
70
+ default_value: 1,
71
+ constraints: {
72
+ InclusiveMaximum: 100,
73
+ InclusiveMinimum: 1
74
+ },
75
+ type: {
76
+ name: 'Number'
77
+ }
78
+ },
79
+ vm_size: {
80
+ required: true,
81
+ serialized_name: 'vmSize',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ dns_prefix: {
87
+ required: true,
88
+ serialized_name: 'dnsPrefix',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ fqdn: {
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'fqdn',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,44 @@
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
+ # Properties to configure a custom container service cluster.
10
+ #
11
+ class ContainerServiceCustomProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the custom orchestrator to use.
16
+ attr_accessor :orchestrator
17
+
18
+
19
+ #
20
+ # Mapper for ContainerServiceCustomProfile class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'ContainerServiceCustomProfile',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ContainerServiceCustomProfile',
30
+ model_properties: {
31
+ orchestrator: {
32
+ required: true,
33
+ serialized_name: 'orchestrator',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ 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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ContainerServiceDiagnosticsProfile
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ContainerServiceVMDiagnostics] Profile for the container
17
+ # service VM diagnostic agent.
18
+ attr_accessor :vm_diagnostics
19
+
20
+
21
+ #
22
+ # Mapper for ContainerServiceDiagnosticsProfile class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ContainerServiceDiagnosticsProfile',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ContainerServiceDiagnosticsProfile',
32
+ model_properties: {
33
+ vm_diagnostics: {
34
+ required: true,
35
+ serialized_name: 'vmDiagnostics',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ContainerServiceVMDiagnostics'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,59 @@
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 Linux VMs in the container service cluster.
10
+ #
11
+ class ContainerServiceLinuxProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The administrator username to use for Linux VMs.
16
+ attr_accessor :admin_username
17
+
18
+ # @return [ContainerServiceSshConfiguration] The ssh key configuration
19
+ # for Linux VMs.
20
+ attr_accessor :ssh
21
+
22
+
23
+ #
24
+ # Mapper for ContainerServiceLinuxProfile class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'ContainerServiceLinuxProfile',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ContainerServiceLinuxProfile',
34
+ model_properties: {
35
+ admin_username: {
36
+ required: true,
37
+ serialized_name: 'adminUsername',
38
+ constraints: {
39
+ Pattern: '^[a-z][a-z0-9_-]*$'
40
+ },
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ ssh: {
46
+ required: true,
47
+ serialized_name: 'ssh',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ContainerServiceSshConfiguration'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end