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,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::ContainerService::Mgmt::V2017_01_31
7
+ module Models
8
+ #
9
+ # Defines values for ContainerServiceVMSizeTypes
10
+ #
11
+ module ContainerServiceVMSizeTypes
12
+ StandardA0 = "Standard_A0"
13
+ StandardA1 = "Standard_A1"
14
+ StandardA2 = "Standard_A2"
15
+ StandardA3 = "Standard_A3"
16
+ StandardA4 = "Standard_A4"
17
+ StandardA5 = "Standard_A5"
18
+ StandardA6 = "Standard_A6"
19
+ StandardA7 = "Standard_A7"
20
+ StandardA8 = "Standard_A8"
21
+ StandardA9 = "Standard_A9"
22
+ StandardA10 = "Standard_A10"
23
+ StandardA11 = "Standard_A11"
24
+ StandardD1 = "Standard_D1"
25
+ StandardD2 = "Standard_D2"
26
+ StandardD3 = "Standard_D3"
27
+ StandardD4 = "Standard_D4"
28
+ StandardD11 = "Standard_D11"
29
+ StandardD12 = "Standard_D12"
30
+ StandardD13 = "Standard_D13"
31
+ StandardD14 = "Standard_D14"
32
+ StandardD1V2 = "Standard_D1_v2"
33
+ StandardD2V2 = "Standard_D2_v2"
34
+ StandardD3V2 = "Standard_D3_v2"
35
+ StandardD4V2 = "Standard_D4_v2"
36
+ StandardD5V2 = "Standard_D5_v2"
37
+ StandardD11V2 = "Standard_D11_v2"
38
+ StandardD12V2 = "Standard_D12_v2"
39
+ StandardD13V2 = "Standard_D13_v2"
40
+ StandardD14V2 = "Standard_D14_v2"
41
+ StandardG1 = "Standard_G1"
42
+ StandardG2 = "Standard_G2"
43
+ StandardG3 = "Standard_G3"
44
+ StandardG4 = "Standard_G4"
45
+ StandardG5 = "Standard_G5"
46
+ StandardDS1 = "Standard_DS1"
47
+ StandardDS2 = "Standard_DS2"
48
+ StandardDS3 = "Standard_DS3"
49
+ StandardDS4 = "Standard_DS4"
50
+ StandardDS11 = "Standard_DS11"
51
+ StandardDS12 = "Standard_DS12"
52
+ StandardDS13 = "Standard_DS13"
53
+ StandardDS14 = "Standard_DS14"
54
+ StandardGS1 = "Standard_GS1"
55
+ StandardGS2 = "Standard_GS2"
56
+ StandardGS3 = "Standard_GS3"
57
+ StandardGS4 = "Standard_GS4"
58
+ StandardGS5 = "Standard_GS5"
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,60 @@
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 Windows VMs in the container service cluster.
10
+ #
11
+ class ContainerServiceWindowsProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The administrator username to use for Windows VMs.
16
+ attr_accessor :admin_username
17
+
18
+ # @return [String] The administrator password to use for Windows VMs.
19
+ attr_accessor :admin_password
20
+
21
+
22
+ #
23
+ # Mapper for ContainerServiceWindowsProfile class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ContainerServiceWindowsProfile',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ContainerServiceWindowsProfile',
33
+ model_properties: {
34
+ admin_username: {
35
+ required: true,
36
+ serialized_name: 'adminUsername',
37
+ constraints: {
38
+ Pattern: '^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$'
39
+ },
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ admin_password: {
45
+ required: true,
46
+ serialized_name: 'adminPassword',
47
+ constraints: {
48
+ Pattern: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$'
49
+ },
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,94 @@
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 Resource model definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Resource',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Resource',
42
+ model_properties: {
43
+ id: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'type',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ location: {
68
+ required: true,
69
+ serialized_name: 'location',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ tags: {
75
+ required: false,
76
+ serialized_name: 'tags',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ required: false,
81
+ serialized_name: 'StringElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::ContainerService end
8
+ module Azure::ContainerService::Mgmt end
9
+ module Azure::ContainerService::Mgmt::V2017_01_31 end
@@ -0,0 +1,8 @@
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
+ VERSION = '0.15.0'
8
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '2016-03-30/generated/azure_mgmt_container_service'
6
+ require '2016-09-30/generated/azure_mgmt_container_service'
7
+ require '2017-01-31/generated/azure_mgmt_container_service'
8
+ require 'profiles/latest/containerservice_latest_profile_client'
@@ -0,0 +1,6 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+ module Azure end
5
+ module Azure::ContainerService end
6
+ module Azure::ContainerService::Mgmt end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
7
+ module Configurable
8
+ # @return [String] Azure tenant id (also known as domain).
9
+ attr_accessor :tenant_id
10
+
11
+ # @return [String] Azure client id.
12
+ attr_accessor :client_id
13
+
14
+ # @return [String] Azure secret key.
15
+ attr_accessor :client_secret
16
+
17
+ # @return [String] Azure subscription id.
18
+ attr_accessor :subscription_id
19
+
20
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
+ attr_accessor :active_directory_settings
22
+
23
+ # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
+ attr_accessor :credentials
25
+
26
+ class << self
27
+ #
28
+ # List of configurable keys for {Azure::ARM::Client}.
29
+ # @return [Array] of option keys.
30
+ #
31
+ def keys
32
+ @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
33
+ end
34
+ end
35
+
36
+ #
37
+ # Set configuration options using a block.
38
+ #
39
+ def configure
40
+ yield self
41
+ end
42
+
43
+ #
44
+ # Resets the configurable options to provided options or defaults.
45
+ # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
+ #
47
+ def reset!(options = {})
48
+ Azure::ARM::Configurable.keys.each do |key|
49
+ default_value = Azure::ARM::Default.options[key]
50
+ instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
+ end
52
+
53
+ self
54
+ end
55
+
56
+ def config
57
+ self
58
+ end
59
+
60
+ private
61
+
62
+ #
63
+ # configures configurable options to default values
64
+ #
65
+ def setup_options
66
+ opts = {}
67
+ Azure::ARM::Configurable.keys.map do |key|
68
+ opts[key] = Azure::ARM::Default.options[key]
69
+ end
70
+ opts
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # Default configuration options for {Azure::ARM.Client}
7
+ module Default
8
+ class << self
9
+ #
10
+ # Default Azure Tenant Id.
11
+ # @return [String] Azure Tenant Id.
12
+ #
13
+ def tenant_id
14
+ ENV['AZURE_TENANT_ID']
15
+ end
16
+
17
+ #
18
+ # Default Azure Client Id.
19
+ # @return [String] Azure Client Id.
20
+ #
21
+ def client_id
22
+ ENV['AZURE_CLIENT_ID']
23
+ end
24
+
25
+ #
26
+ # Default Azure Client Secret.
27
+ # @return [String] Azure Client Secret.
28
+ #
29
+ def client_secret
30
+ ENV['AZURE_CLIENT_SECRET']
31
+ end
32
+
33
+ #
34
+ # Default Azure Subscription Id.
35
+ # @return [String] Azure Subscription Id.
36
+ #
37
+ def subscription_id
38
+ ENV['AZURE_SUBSCRIPTION_ID']
39
+ end
40
+
41
+ #
42
+ # Default Azure credentials to authorize HTTP requests made by the service client.
43
+ # @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
44
+ #
45
+ def credentials
46
+ MsRest::TokenCredentials.new(
47
+ MsRestAzure::ApplicationTokenProvider.new(
48
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
49
+ end
50
+
51
+ #
52
+ # Default Azure Active Directory Service Settings.
53
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
54
+ #
55
+ def active_directory_settings
56
+ MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
57
+ end
58
+
59
+ #
60
+ # Configuration options.
61
+ # @return [Hash] Configuration options.
62
+ #
63
+ def options
64
+ Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/containerservice_module_definition'
6
+ require 'profiles/latest/modules/containerservice_profile_module'
7
+ require 'profiles/common/configurable'
8
+ require 'profiles/common/default'
9
+
10
+ module Azure::ContainerService::Profiles::Latest::Mgmt
11
+ #
12
+ # Client class for the Latest profile SDK.
13
+ #
14
+ class Client < ContainerServiceClass
15
+ include Azure::ARM::Configurable
16
+
17
+
18
+ def initialize(options = {})
19
+ super(options)
20
+ end
21
+
22
+ def credentials
23
+ if @credentials.nil?
24
+ self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
25
+
26
+ @credentials = MsRest::TokenCredentials.new(
27
+ MsRestAzure::ApplicationTokenProvider.new(
28
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
29
+ end
30
+ @credentials
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::ContainerService end
7
+ module Azure::ContainerService::Profiles end
8
+ module Azure::ContainerService::Profiles::Latest end
9
+ module Azure::ContainerService::Profiles::Latest::Mgmt end
@@ -0,0 +1,106 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_container_service'
6
+
7
+ module Azure::ContainerService::Profiles::Latest::Mgmt
8
+ ContainerServices = Azure::ContainerService::Mgmt::V2017_01_31::ContainerServices
9
+
10
+ module Models
11
+ ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey
12
+ Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource
13
+ ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration
14
+ ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile
15
+ ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile
16
+ ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceMasterProfile
17
+ ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMDiagnostics
18
+ ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceWindowsProfile
19
+ ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceDiagnosticsProfile
20
+ ContainerServiceOrchestratorProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorProfile
21
+ ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile
22
+ ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile
23
+ ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult
24
+ ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService
25
+ ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes
26
+ ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes
27
+ end
28
+
29
+ #
30
+ # ContainerService
31
+ #
32
+ class ContainerServiceClass
33
+ attr_reader :container_services, :configurable, :base_url, :options, :model_classes
34
+
35
+ def initialize(options = {})
36
+ if options.is_a?(Hash) && options.length == 0
37
+ @options = setup_options
38
+ else
39
+ @options = options
40
+ end
41
+
42
+ reset!(options)
43
+
44
+ @configurable, @base_url, @options = self, nil, nil
45
+
46
+ client_0 = Azure::ContainerService::Mgmt::V2017_01_31::ComputeManagementClient.new(configurable.credentials, base_url, options)
47
+ if(client_0.respond_to?(:subscription_id))
48
+ client_0.subscription_id = configurable.subscription_id
49
+ end
50
+ @container_services = client_0.container_services
51
+
52
+ @model_classes = ModelClasses.new
53
+ end
54
+
55
+ class ModelClasses
56
+ def container_service_ssh_public_key
57
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey
58
+ end
59
+ def resource
60
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource
61
+ end
62
+ def container_service_ssh_configuration
63
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration
64
+ end
65
+ def container_service_service_principal_profile
66
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile
67
+ end
68
+ def container_service_linux_profile
69
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile
70
+ end
71
+ def container_service_master_profile
72
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceMasterProfile
73
+ end
74
+ def container_service_vmdiagnostics
75
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMDiagnostics
76
+ end
77
+ def container_service_windows_profile
78
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceWindowsProfile
79
+ end
80
+ def container_service_diagnostics_profile
81
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceDiagnosticsProfile
82
+ end
83
+ def container_service_orchestrator_profile
84
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorProfile
85
+ end
86
+ def container_service_agent_pool_profile
87
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile
88
+ end
89
+ def container_service_custom_profile
90
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile
91
+ end
92
+ def container_service_list_result
93
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult
94
+ end
95
+ def container_service
96
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService
97
+ end
98
+ def container_service_orchestrator_types
99
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes
100
+ end
101
+ def container_service_vmsize_types
102
+ Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes
103
+ end
104
+ end
105
+ end
106
+ end