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,167 @@
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::V2016_03_30
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 [ContainerServiceMasterProfile] Properties of master agents.
24
+ attr_accessor :master_profile
25
+
26
+ # @return [Array<ContainerServiceAgentPoolProfile>] Properties of the
27
+ # agent pool.
28
+ attr_accessor :agent_pool_profiles
29
+
30
+ # @return [ContainerServiceWindowsProfile] Properties of Windows VMs.
31
+ attr_accessor :windows_profile
32
+
33
+ # @return [ContainerServiceLinuxProfile] Properties of Linux VMs.
34
+ attr_accessor :linux_profile
35
+
36
+ # @return [ContainerServiceDiagnosticsProfile] Properties of the
37
+ # diagnostic agent.
38
+ attr_accessor :diagnostics_profile
39
+
40
+
41
+ #
42
+ # Mapper for ContainerService class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ required: false,
48
+ serialized_name: 'ContainerService',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'ContainerService',
52
+ model_properties: {
53
+ id: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ name: {
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'name',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ type: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ location: {
78
+ required: true,
79
+ serialized_name: 'location',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ tags: {
85
+ required: false,
86
+ serialized_name: 'tags',
87
+ type: {
88
+ name: 'Dictionary',
89
+ value: {
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ provisioning_state: {
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'properties.provisioningState',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ orchestrator_profile: {
107
+ required: false,
108
+ serialized_name: 'properties.orchestratorProfile',
109
+ type: {
110
+ name: 'Composite',
111
+ class_name: 'ContainerServiceOrchestratorProfile'
112
+ }
113
+ },
114
+ master_profile: {
115
+ required: true,
116
+ serialized_name: 'properties.masterProfile',
117
+ type: {
118
+ name: 'Composite',
119
+ class_name: 'ContainerServiceMasterProfile'
120
+ }
121
+ },
122
+ agent_pool_profiles: {
123
+ required: true,
124
+ serialized_name: 'properties.agentPoolProfiles',
125
+ type: {
126
+ name: 'Sequence',
127
+ element: {
128
+ required: false,
129
+ serialized_name: 'ContainerServiceAgentPoolProfileElementType',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'ContainerServiceAgentPoolProfile'
133
+ }
134
+ }
135
+ }
136
+ },
137
+ windows_profile: {
138
+ required: false,
139
+ serialized_name: 'properties.windowsProfile',
140
+ type: {
141
+ name: 'Composite',
142
+ class_name: 'ContainerServiceWindowsProfile'
143
+ }
144
+ },
145
+ linux_profile: {
146
+ required: true,
147
+ serialized_name: 'properties.linuxProfile',
148
+ type: {
149
+ name: 'Composite',
150
+ class_name: 'ContainerServiceLinuxProfile'
151
+ }
152
+ },
153
+ diagnostics_profile: {
154
+ required: false,
155
+ serialized_name: 'properties.diagnosticsProfile',
156
+ type: {
157
+ name: 'Composite',
158
+ class_name: 'ContainerServiceDiagnosticsProfile'
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ end
165
+ end
166
+ end
167
+ end
@@ -0,0 +1,106 @@
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::V2016_03_30
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.
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: false,
69
+ serialized_name: 'count',
70
+ constraints: {
71
+ InclusiveMaximum: 100,
72
+ InclusiveMinimum: 1
73
+ },
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ vm_size: {
79
+ required: true,
80
+ serialized_name: 'vmSize',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ dns_prefix: {
86
+ required: true,
87
+ serialized_name: 'dnsPrefix',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ fqdn: {
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'fqdn',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ end
104
+ end
105
+ end
106
+ 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::V2016_03_30
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,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::V2016_03_30
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 all 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
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ ssh: {
43
+ required: true,
44
+ serialized_name: 'ssh',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ContainerServiceSshConfiguration'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,52 @@
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::V2016_03_30
7
+ module Models
8
+ #
9
+ # The response from the List Container Services operation.
10
+ #
11
+ class ContainerServiceListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ContainerService>] the list of container services.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for ContainerServiceListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'ContainerServiceListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ContainerServiceListResult',
30
+ model_properties: {
31
+ value: {
32
+ required: false,
33
+ serialized_name: 'value',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'ContainerServiceElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ContainerService'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ 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::V2016_03_30
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