azure_mgmt_compute 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_compute.rb +48 -46
  3. data/lib/generated/azure_mgmt_compute/availability_sets.rb +16 -19
  4. data/lib/generated/azure_mgmt_compute/compute_management_client.rb +18 -5
  5. data/lib/generated/azure_mgmt_compute/container_services.rb +920 -0
  6. data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +9 -10
  7. data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
  8. data/lib/generated/azure_mgmt_compute/models/api_error.rb +1 -1
  9. data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +1 -1
  10. data/lib/generated/azure_mgmt_compute/models/availability_set.rb +6 -5
  11. data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +2 -2
  12. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +4 -4
  13. data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +3 -3
  14. data/lib/generated/azure_mgmt_compute/models/caching_types.rb +1 -1
  15. data/lib/generated/azure_mgmt_compute/models/component_names.rb +1 -1
  16. data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
  17. data/lib/generated/azure_mgmt_compute/models/container_service.rb +36 -13
  18. data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +18 -16
  19. data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +44 -0
  20. data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +5 -4
  21. data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +8 -5
  22. data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +45 -3
  23. data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +8 -5
  24. data/lib/generated/azure_mgmt_compute/models/container_service_ochestrator_types.rb +3 -1
  25. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +7 -6
  26. data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +56 -0
  27. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +5 -5
  28. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +3 -3
  29. data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +7 -7
  30. data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +1 -1
  31. data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +10 -4
  32. data/lib/generated/azure_mgmt_compute/models/data_disk.rb +12 -12
  33. data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +4 -5
  34. data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +4 -2
  35. data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
  36. data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +7 -7
  37. data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +3 -3
  38. data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +1 -1
  39. data/lib/generated/azure_mgmt_compute/models/image_reference.rb +7 -7
  40. data/lib/generated/azure_mgmt_compute/models/inner_error.rb +1 -1
  41. data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +7 -7
  42. data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +1 -1
  43. data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +4 -4
  44. data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +3 -3
  45. data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +5 -5
  46. data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +6 -6
  47. data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +3 -2
  48. data/lib/generated/azure_mgmt_compute/models/network_profile.rb +4 -2
  49. data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +1 -1
  50. data/lib/generated/azure_mgmt_compute/models/osdisk.rb +12 -12
  51. data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +3 -3
  52. data/lib/generated/azure_mgmt_compute/models/osprofile.rb +12 -9
  53. data/lib/generated/azure_mgmt_compute/models/pass_names.rb +1 -1
  54. data/lib/generated/azure_mgmt_compute/models/plan.rb +5 -5
  55. data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +1 -1
  56. data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +4 -4
  57. data/lib/generated/azure_mgmt_compute/models/setting_names.rb +1 -1
  58. data/lib/generated/azure_mgmt_compute/models/sku.rb +4 -4
  59. data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +3 -3
  60. data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +7 -7
  61. data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +1 -1
  62. data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +4 -4
  63. data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
  64. data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
  65. data/lib/generated/azure_mgmt_compute/models/usage.rb +6 -6
  66. data/lib/generated/azure_mgmt_compute/models/usage_name.rb +3 -3
  67. data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
  68. data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +4 -4
  69. data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +3 -3
  70. data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +18 -15
  71. data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +5 -5
  72. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +5 -5
  73. data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
  74. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +3 -3
  75. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +3 -3
  76. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +5 -5
  77. data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
  78. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
  79. data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +4 -4
  80. data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +7 -7
  81. data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +4 -4
  82. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
  83. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +3 -3
  84. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
  85. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
  86. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
  87. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
  88. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
  89. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
  90. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +3 -3
  91. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
  92. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +3 -3
  93. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +4 -4
  94. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +3 -3
  95. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
  96. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
  97. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
  98. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
  99. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +7 -7
  100. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
  101. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +2 -2
  102. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +2 -2
  103. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
  104. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +3 -3
  105. data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +3 -3
  106. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +12 -8
  107. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +2 -2
  108. data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
  109. data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
  110. data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +2 -2
  111. data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +5 -6
  112. data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +11 -10
  113. data/lib/generated/azure_mgmt_compute/module_definition.rb +1 -1
  114. data/lib/generated/azure_mgmt_compute/usage_operations.rb +51 -37
  115. data/lib/generated/azure_mgmt_compute/version.rb +2 -2
  116. data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
  117. data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +131 -131
  118. data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +70 -58
  119. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +430 -422
  120. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +729 -747
  121. data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
  122. data/lib/generated/azure_mgmt_compute/virtual_machines.rb +526 -515
  123. metadata +7 -5
  124. data/lib/generated/azure_mgmt_compute/container_service_operations.rb +0 -508
@@ -1,12 +1,12 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
- # additional XML formatted information that can be included in the
9
+ # Additional XML formatted information that can be included in the
10
10
  # Unattend.xml file, which is used by Windows Setup. Contents are defined
11
11
  # by setting name, component name, and the pass in which the content is a
12
12
  # applied.
@@ -15,24 +15,23 @@ module Azure::ARM::Compute
15
15
 
16
16
  include MsRestAzure
17
17
 
18
- # @return [PassNames] the pass name. Currently, the only allowable value
18
+ # @return [PassNames] The pass name. Currently, the only allowable value
19
19
  # is oobeSystem. Possible values include: 'oobeSystem'
20
20
  attr_accessor :pass_name
21
21
 
22
- # @return [ComponentNames] the component name. Currently, the only
22
+ # @return [ComponentNames] The component name. Currently, the only
23
23
  # allowable value is Microsoft-Windows-Shell-Setup. Possible values
24
24
  # include: 'Microsoft-Windows-Shell-Setup'
25
25
  attr_accessor :component_name
26
26
 
27
- # @return [SettingNames] setting name (e.g. FirstLogonCommands,
28
- # AutoLogon ). Possible values include: 'AutoLogon',
29
- # 'FirstLogonCommands'
27
+ # @return [SettingNames] setting name (e.g. FirstLogonCommands, AutoLogon
28
+ # ). Possible values include: 'AutoLogon', 'FirstLogonCommands'
30
29
  attr_accessor :setting_name
31
30
 
32
31
  # @return [String] XML formatted content that is added to the
33
- # unattend.xml file in the specified pass and component. The XML must
34
- # be less than 4 KB and must include the root element for the setting
35
- # or feature that is being inserted.
32
+ # unattend.xml file in the specified pass and component. The XML must be
33
+ # less than 4 KB and must include the root element for the setting or
34
+ # feature that is being inserted.
36
35
  attr_accessor :content
37
36
 
38
37
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,12 +1,12 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
- # Create or update Availability Set parameters.
9
+ # Create or update availability set parameters.
10
10
  #
11
11
  class AvailabilitySet < MsRestAzure::Resource
12
12
 
@@ -18,11 +18,11 @@ module Azure::ARM::Compute
18
18
  # @return [Integer] Fault Domain count.
19
19
  attr_accessor :platform_fault_domain_count
20
20
 
21
- # @return [Array<SubResource>] a list containing reference to all
22
- # Virtual Machines created under this Availability Set.
21
+ # @return [Array<SubResource>] A list of references to all virtual
22
+ # machines in the availability set.
23
23
  attr_accessor :virtual_machines
24
24
 
25
- # @return [Array<InstanceViewStatus>] the resource status information.
25
+ # @return [Array<InstanceViewStatus>] The resource status information.
26
26
  attr_accessor :statuses
27
27
 
28
28
 
@@ -114,6 +114,7 @@ module Azure::ARM::Compute
114
114
  },
115
115
  statuses: {
116
116
  required: false,
117
+ read_only: true,
117
118
  serialized_name: 'properties.statuses',
118
119
  type: {
119
120
  name: 'Sequence',
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,7 +12,7 @@ module Azure::ARM::Compute
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<AvailabilitySet>] the list of availability sets
15
+ # @return [Array<AvailabilitySet>] The list of availability sets
16
16
  attr_accessor :value
17
17
 
18
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,12 +12,12 @@ module Azure::ARM::Compute
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Boolean] whether boot diagnostics should be enabled on the
15
+ # @return [Boolean] Whether boot diagnostics should be enabled on the
16
16
  # Virtual Machine.
17
17
  attr_accessor :enabled
18
18
 
19
- # @return [String] the boot diagnostics storage Uri. It should be a
20
- # valid Uri
19
+ # @return [String] URI of the storage account to use for placing the
20
+ # console output and screenshot.
21
21
  attr_accessor :storage_uri
22
22
 
23
23
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,10 +12,10 @@ module Azure::ARM::Compute
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the console screenshot blob Uri.
15
+ # @return [String] The console screenshot blob URI.
16
16
  attr_accessor :console_screenshot_blob_uri
17
17
 
18
- # @return [String] the Linux serial console log blob Uri.
18
+ # @return [String] The Linux serial console log blob Uri.
19
19
  attr_accessor :serial_console_log_blob_uri
20
20
 
21
21
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,40 +1,47 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
- # Container service
9
+ # Container service.
10
10
  #
11
11
  class ContainerService < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the provisioning state, which only appears in the
16
- # response.
15
+ # @return [String] The current deployment or provisioning state, which
16
+ # only appears in the response.
17
17
  attr_accessor :provisioning_state
18
18
 
19
- # @return [ContainerServiceOrchestratorProfile] Properties of
20
- # orchestrator
19
+ # @return [ContainerServiceOrchestratorProfile] Properties of the
20
+ # orchestrator.
21
21
  attr_accessor :orchestrator_profile
22
22
 
23
- # @return [ContainerServiceMasterProfile] Properties of master agents
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.
24
31
  attr_accessor :master_profile
25
32
 
26
- # @return [Array<ContainerServiceAgentPoolProfile>] Properties of agent
27
- # pools
33
+ # @return [Array<ContainerServiceAgentPoolProfile>] Properties of the
34
+ # agent pool.
28
35
  attr_accessor :agent_pool_profiles
29
36
 
30
- # @return [ContainerServiceWindowsProfile] Properties of Windows VMs
37
+ # @return [ContainerServiceWindowsProfile] Properties of Windows VMs.
31
38
  attr_accessor :windows_profile
32
39
 
33
- # @return [ContainerServiceLinuxProfile] Properties for Linux VMs
40
+ # @return [ContainerServiceLinuxProfile] Properties of Linux VMs.
34
41
  attr_accessor :linux_profile
35
42
 
36
- # @return [ContainerServiceDiagnosticsProfile] Properties for Diagnostic
37
- # Agent
43
+ # @return [ContainerServiceDiagnosticsProfile] Properties of the
44
+ # diagnostic agent.
38
45
  attr_accessor :diagnostics_profile
39
46
 
40
47
 
@@ -111,6 +118,22 @@ module Azure::ARM::Compute
111
118
  class_name: 'ContainerServiceOrchestratorProfile'
112
119
  }
113
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
+ },
114
137
  master_profile: {
115
138
  required: true,
116
139
  serialized_name: 'properties.masterProfile',
@@ -1,22 +1,24 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
- # Profile for container service agent pool
9
+ # Profile for the container service agent pool.
10
10
  #
11
11
  class ContainerServiceAgentPoolProfile
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Unique name of the agent pool profile within the
16
- # context of the subscription and resource group
15
+ # @return [String] Unique name of the agent pool profile in the context
16
+ # of the subscription and resource group.
17
17
  attr_accessor :name
18
18
 
19
- # @return [Integer] No. of agents (VMs) that will host docker containers
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.
20
22
  attr_accessor :count
21
23
 
22
24
  # @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
@@ -27,19 +29,19 @@ module Azure::ARM::Compute
27
29
  # 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13',
28
30
  # 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2',
29
31
  # 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2',
30
- # 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2',
31
- # 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4',
32
- # 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
33
- # 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13',
34
- # 'Standard_DS14', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3',
35
- # 'Standard_GS4', 'Standard_GS5'
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'
36
38
  attr_accessor :vm_size
37
39
 
38
- # @return [String] DNS prefix to be used to create FQDN for this agent
39
- # pool
40
+ # @return [String] DNS prefix to be used to create the FQDN for the agent
41
+ # pool.
40
42
  attr_accessor :dns_prefix
41
43
 
42
- # @return [String] FDQN for the agent pool
44
+ # @return [String] FDQN for the agent pool.
43
45
  attr_accessor :fqdn
44
46
 
45
47
 
@@ -63,7 +65,7 @@ module Azure::ARM::Compute
63
65
  }
64
66
  },
65
67
  count: {
66
- required: false,
68
+ required: true,
67
69
  serialized_name: 'count',
68
70
  constraints: {
69
71
  InclusiveMaximum: 100,
@@ -74,7 +76,7 @@ module Azure::ARM::Compute
74
76
  }
75
77
  },
76
78
  vm_size: {
77
- required: false,
79
+ required: true,
78
80
  serialized_name: 'vmSize',
79
81
  type: {
80
82
  name: 'String'
@@ -0,0 +1,44 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Compute
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -7,13 +7,14 @@ module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class ContainerServiceDiagnosticsProfile
12
13
 
13
14
  include MsRestAzure
14
15
 
15
- # @return [ContainerServiceVMDiagnostics] Profile for container service
16
- # VM diagnostic agent
16
+ # @return [ContainerServiceVMDiagnostics] Profile for the container
17
+ # service VM diagnostic agent.
17
18
  attr_accessor :vm_diagnostics
18
19
 
19
20
 
@@ -30,7 +31,7 @@ module Azure::ARM::Compute
30
31
  class_name: 'ContainerServiceDiagnosticsProfile',
31
32
  model_properties: {
32
33
  vm_diagnostics: {
33
- required: false,
34
+ required: true,
34
35
  serialized_name: 'vmDiagnostics',
35
36
  type: {
36
37
  name: 'Composite',
@@ -1,22 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  module Models
8
8
  #
9
- # Profile for Linux VMs
9
+ # Profile for Linux VMs in the container service cluster.
10
10
  #
11
11
  class ContainerServiceLinuxProfile
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The administrator username to use for all Linux VMs
15
+ # @return [String] The administrator user name to use for Linux VMs.
16
16
  attr_accessor :admin_username
17
17
 
18
- # @return [ContainerServiceSshConfiguration] Specifies the ssh key
19
- # configuration for Linux VMs
18
+ # @return [ContainerServiceSshConfiguration] The ssh key configuration
19
+ # for Linux VMs.
20
20
  attr_accessor :ssh
21
21
 
22
22
 
@@ -35,6 +35,9 @@ module Azure::ARM::Compute
35
35
  admin_username: {
36
36
  required: true,
37
37
  serialized_name: 'adminUsername',
38
+ constraints: {
39
+ Pattern: '^[a-z][a-z0-9_-]*$'
40
+ },
38
41
  type: {
39
42
  name: 'String'
40
43
  }