azure_mgmt_compute 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_compute.rb +14 -0
  3. data/lib/generated/azure_mgmt_compute/availability_sets.rb +11 -11
  4. data/lib/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
  5. data/lib/generated/azure_mgmt_compute/container_service_operations.rb +524 -0
  6. data/lib/generated/azure_mgmt_compute/models/container_service.rb +167 -0
  7. data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +104 -0
  8. data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +46 -0
  9. data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +56 -0
  10. data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +52 -0
  11. data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +65 -0
  12. data/lib/generated/azure_mgmt_compute/models/container_service_ochestrator_types.rb +16 -0
  13. data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +47 -0
  14. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +53 -0
  15. data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +46 -0
  16. data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +57 -0
  17. data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +61 -0
  18. data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +54 -0
  19. data/lib/generated/azure_mgmt_compute/usage_operations.rb +4 -3
  20. data/lib/generated/azure_mgmt_compute/version.rb +1 -1
  21. data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +7 -7
  22. data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +11 -7
  23. data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +11 -11
  24. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +32 -19
  25. data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +50 -29
  26. data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +3 -3
  27. data/lib/generated/azure_mgmt_compute/virtual_machines.rb +45 -27
  28. metadata +20 -133
  29. data/.rspec +0 -3
  30. data/.yardoc/checksums +0 -106
  31. data/.yardoc/object_types +0 -0
  32. data/.yardoc/objects/root.dat +0 -0
  33. data/.yardoc/proxy_types +0 -0
  34. data/Rakefile +0 -5
  35. data/azure_mgmt_compute.gemspec +0 -32
  36. data/doc/Azure.html +0 -129
  37. data/doc/Azure/ARM.html +0 -117
  38. data/doc/Azure/ARM/Compute.html +0 -143
  39. data/doc/Azure/ARM/Compute/AvailabilitySets.html +0 -2935
  40. data/doc/Azure/ARM/Compute/ComputeManagementClient.html +0 -1759
  41. data/doc/Azure/ARM/Compute/Models.html +0 -126
  42. data/doc/Azure/ARM/Compute/Models/AdditionalUnattendContent.html +0 -674
  43. data/doc/Azure/ARM/Compute/Models/ApiEntityReference.html +0 -353
  44. data/doc/Azure/ARM/Compute/Models/ApiError.html +0 -779
  45. data/doc/Azure/ARM/Compute/Models/ApiErrorBase.html +0 -557
  46. data/doc/Azure/ARM/Compute/Models/AvailabilitySet.html +0 -784
  47. data/doc/Azure/ARM/Compute/Models/AvailabilitySetListResult.html +0 -369
  48. data/doc/Azure/ARM/Compute/Models/BootDiagnostics.html +0 -455
  49. data/doc/Azure/ARM/Compute/Models/BootDiagnosticsInstanceView.html +0 -455
  50. data/doc/Azure/ARM/Compute/Models/CachingTypes.html +0 -138
  51. data/doc/Azure/ARM/Compute/Models/ComponentNames.html +0 -128
  52. data/doc/Azure/ARM/Compute/Models/ComputeLongRunningOperationProperties.html +0 -353
  53. data/doc/Azure/ARM/Compute/Models/DataDisk.html +0 -977
  54. data/doc/Azure/ARM/Compute/Models/DataDiskImage.html +0 -357
  55. data/doc/Azure/ARM/Compute/Models/DiagnosticsProfile.html +0 -355
  56. data/doc/Azure/ARM/Compute/Models/DiskCreateOptionTypes.html +0 -138
  57. data/doc/Azure/ARM/Compute/Models/DiskEncryptionSettings.html +0 -561
  58. data/doc/Azure/ARM/Compute/Models/DiskInstanceView.html +0 -471
  59. data/doc/Azure/ARM/Compute/Models/HardwareProfile.html +0 -401
  60. data/doc/Azure/ARM/Compute/Models/ImageReference.html +0 -660
  61. data/doc/Azure/ARM/Compute/Models/InnerError.html +0 -455
  62. data/doc/Azure/ARM/Compute/Models/InstanceViewStatus.html +0 -763
  63. data/doc/Azure/ARM/Compute/Models/InstanceViewTypes.html +0 -128
  64. data/doc/Azure/ARM/Compute/Models/KeyVaultKeyReference.html +0 -457
  65. data/doc/Azure/ARM/Compute/Models/KeyVaultSecretReference.html +0 -457
  66. data/doc/Azure/ARM/Compute/Models/LinuxConfiguration.html +0 -457
  67. data/doc/Azure/ARM/Compute/Models/ListUsagesResult.html +0 -745
  68. data/doc/Azure/ARM/Compute/Models/NetworkInterfaceReference.html +0 -370
  69. data/doc/Azure/ARM/Compute/Models/NetworkProfile.html +0 -369
  70. data/doc/Azure/ARM/Compute/Models/OSDisk.html +0 -1083
  71. data/doc/Azure/ARM/Compute/Models/OSDiskImage.html +0 -355
  72. data/doc/Azure/ARM/Compute/Models/OSProfile.html +0 -985
  73. data/doc/Azure/ARM/Compute/Models/OperatingSystemTypes.html +0 -133
  74. data/doc/Azure/ARM/Compute/Models/PassNames.html +0 -128
  75. data/doc/Azure/ARM/Compute/Models/Plan.html +0 -659
  76. data/doc/Azure/ARM/Compute/Models/ProtocolTypes.html +0 -133
  77. data/doc/Azure/ARM/Compute/Models/PurchasePlan.html +0 -558
  78. data/doc/Azure/ARM/Compute/Models/SettingNames.html +0 -133
  79. data/doc/Azure/ARM/Compute/Models/Sku.html +0 -557
  80. data/doc/Azure/ARM/Compute/Models/SshConfiguration.html +0 -369
  81. data/doc/Azure/ARM/Compute/Models/SshPublicKey.html +0 -457
  82. data/doc/Azure/ARM/Compute/Models/StatusLevelTypes.html +0 -138
  83. data/doc/Azure/ARM/Compute/Models/StorageProfile.html +0 -577
  84. data/doc/Azure/ARM/Compute/Models/UpgradeMode.html +0 -133
  85. data/doc/Azure/ARM/Compute/Models/UpgradePolicy.html +0 -355
  86. data/doc/Azure/ARM/Compute/Models/Usage.html +0 -665
  87. data/doc/Azure/ARM/Compute/Models/UsageName.html +0 -455
  88. data/doc/Azure/ARM/Compute/Models/VaultCertificate.html +0 -456
  89. data/doc/Azure/ARM/Compute/Models/VaultSecretGroup.html +0 -473
  90. data/doc/Azure/ARM/Compute/Models/VirtualHardDisk.html +0 -353
  91. data/doc/Azure/ARM/Compute/Models/VirtualMachine.html +0 -1608
  92. data/doc/Azure/ARM/Compute/Models/VirtualMachineAgentInstanceView.html +0 -589
  93. data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureParameters.html +0 -557
  94. data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureResult.html +0 -370
  95. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtension.html +0 -1266
  96. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionHandlerInstanceView.html +0 -559
  97. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionImage.html +0 -858
  98. data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionInstanceView.html +0 -793
  99. data/doc/Azure/ARM/Compute/Models/VirtualMachineImage.html +0 -637
  100. data/doc/Azure/ARM/Compute/Models/VirtualMachineImageResource.html +0 -592
  101. data/doc/Azure/ARM/Compute/Models/VirtualMachineInstanceView.html +0 -1119
  102. data/doc/Azure/ARM/Compute/Models/VirtualMachineListResult.html +0 -744
  103. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSet.html +0 -862
  104. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtension.html +0 -1086
  105. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtensionProfile.html +0 -369
  106. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetIPConfiguration.html +0 -829
  107. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceView.html +0 -595
  108. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceViewStatusesSummary.html +0 -373
  109. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListResult.html +0 -744
  110. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListSkusResult.html +0 -747
  111. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListWithLinkResult.html +0 -747
  112. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkConfiguration.html +0 -591
  113. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkProfile.html +0 -369
  114. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSDisk.html +0 -889
  115. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSProfile.html +0 -985
  116. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSku.html +0 -567
  117. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuCapacity.html +0 -669
  118. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuScaleType.html +0 -133
  119. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetStorageProfile.html +0 -459
  120. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVM.html +0 -1818
  121. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMExtensionsSummary.html +0 -475
  122. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceIDs.html +0 -367
  123. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceRequiredIDs.html +0 -367
  124. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceView.html +0 -1119
  125. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMListResult.html +0 -744
  126. data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMProfile.html +0 -667
  127. data/doc/Azure/ARM/Compute/Models/VirtualMachineSize.html +0 -863
  128. data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeListResult.html +0 -369
  129. data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeTypes.html +0 -438
  130. data/doc/Azure/ARM/Compute/Models/VirtualMachineStatusCodeCount.html +0 -460
  131. data/doc/Azure/ARM/Compute/Models/WinRMConfiguration.html +0 -369
  132. data/doc/Azure/ARM/Compute/Models/WinRMListener.html +0 -458
  133. data/doc/Azure/ARM/Compute/Models/WindowsConfiguration.html +0 -781
  134. data/doc/Azure/ARM/Compute/UsageOperations.html +0 -1425
  135. data/doc/Azure/ARM/Compute/VirtualMachineExtensionImages.html +0 -2116
  136. data/doc/Azure/ARM/Compute/VirtualMachineExtensions.html +0 -2862
  137. data/doc/Azure/ARM/Compute/VirtualMachineImages.html +0 -3218
  138. data/doc/Azure/ARM/Compute/VirtualMachineScaleSetVMs.html +0 -7957
  139. data/doc/Azure/ARM/Compute/VirtualMachineScaleSets.html +0 -12417
  140. data/doc/Azure/ARM/Compute/VirtualMachineSizes.html +0 -823
  141. data/doc/Azure/ARM/Compute/VirtualMachines.html +0 -10514
  142. data/doc/_index.html +0 -970
  143. data/doc/class_list.html +0 -51
  144. data/doc/css/common.css +0 -1
  145. data/doc/css/full_list.css +0 -58
  146. data/doc/css/style.css +0 -474
  147. data/doc/file.README.html +0 -199
  148. data/doc/file_list.html +0 -56
  149. data/doc/frames.html +0 -17
  150. data/doc/index.html +0 -199
  151. data/doc/js/app.js +0 -243
  152. data/doc/js/full_list.js +0 -216
  153. data/doc/js/jquery.js +0 -4
  154. data/doc/method_list.html +0 -5147
  155. data/doc/top-level-namespace.html +0 -112
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
+ # Defines values for ContainerServiceOchestratorTypes
10
+ #
11
+ module ContainerServiceOchestratorTypes
12
+ Swarm = "Swarm"
13
+ DCOS = "DCOS"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
+ # Profile for Orchestrator
10
+ #
11
+ class ContainerServiceOrchestratorProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ContainerServiceOchestratorTypes] Specifies what orchestrator
16
+ # will be used to manage container cluster resources. Possible values
17
+ # include: 'Swarm', 'DCOS'
18
+ attr_accessor :orchestrator_type
19
+
20
+
21
+ #
22
+ # Mapper for ContainerServiceOrchestratorProfile class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ContainerServiceOrchestratorProfile',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ContainerServiceOrchestratorProfile',
32
+ model_properties: {
33
+ orchestrator_type: {
34
+ required: false,
35
+ serialized_name: 'orchestratorType',
36
+ type: {
37
+ name: 'Enum',
38
+ module: 'ContainerServiceOchestratorTypes'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,53 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
+ # 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: false,
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 0.17.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
+ # 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 VM
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 0.17.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
+ # Describes VM Diagnostics.
10
+ #
11
+ class ContainerServiceVMDiagnostics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] whether VM Diagnostic Agent should be provisioned on
16
+ # the Virtual Machine.
17
+ attr_accessor :enabled
18
+
19
+ # @return [String] whether VM Diagnostic Agent should be provisioned on
20
+ # the Virtual Machine.
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: false,
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
@@ -0,0 +1,61 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
+ # 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,54 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
+ # Profile for Windows VMs
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
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ admin_password: {
42
+ required: true,
43
+ serialized_name: 'adminPassword',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  #
8
- # The Compute Management Client.
8
+ # Composite Swagger for Compute Client
9
9
  #
10
10
  class UsageOperations
11
11
  include Azure::ARM::Compute::Models
@@ -26,6 +26,7 @@ module Azure::ARM::Compute
26
26
  # Lists compute usages for a subscription.
27
27
  #
28
28
  # @param location [String] The location upon which resource usage is queried.
29
+ # @param api_version [String] Client Api Version.
29
30
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
31
  # will be added to the HTTP request.
31
32
  #
@@ -81,7 +82,7 @@ module Azure::ARM::Compute
81
82
  #
82
83
  def list_async(location, custom_headers = nil)
83
84
  fail ArgumentError, 'location is nil' if location.nil?
84
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
85
+ api_version = '2016-03-30'
85
86
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
86
87
 
87
88
 
@@ -94,7 +95,7 @@ module Azure::ARM::Compute
94
95
  options = {
95
96
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
96
97
  path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
97
- query_params: {'api-version' => @client.api_version},
98
+ query_params: {'api-version' => api_version},
98
99
  headers: request_headers.merge(custom_headers || {})
99
100
  }
100
101
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Compute
7
- VERSION = '0.5.0'
7
+ VERSION = '0.6.0'
8
8
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Compute
7
7
  #
8
- # The Compute Management Client.
8
+ # Composite Swagger for Compute Client
9
9
  #
10
10
  class VirtualMachineExtensionImages
11
11
  include Azure::ARM::Compute::Models
@@ -72,7 +72,7 @@ module Azure::ARM::Compute
72
72
  fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
73
73
  fail ArgumentError, 'type is nil' if type.nil?
74
74
  fail ArgumentError, 'version is nil' if version.nil?
75
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
75
+ api_version = '2016-03-30'
76
76
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
77
77
 
78
78
 
@@ -85,7 +85,7 @@ module Azure::ARM::Compute
85
85
  options = {
86
86
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
87
87
  path_params: {'location' => location,'publisherName' => publisher_name,'type' => type,'version' => version,'subscriptionId' => @client.subscription_id},
88
- query_params: {'api-version' => @client.api_version},
88
+ query_params: {'api-version' => api_version},
89
89
  headers: request_headers.merge(custom_headers || {})
90
90
  }
91
91
 
@@ -166,7 +166,7 @@ module Azure::ARM::Compute
166
166
  def list_types_async(location, publisher_name, custom_headers = nil)
167
167
  fail ArgumentError, 'location is nil' if location.nil?
168
168
  fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
169
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
169
+ api_version = '2016-03-30'
170
170
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
171
171
 
172
172
 
@@ -179,7 +179,7 @@ module Azure::ARM::Compute
179
179
  options = {
180
180
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
181
181
  path_params: {'location' => location,'publisherName' => publisher_name,'subscriptionId' => @client.subscription_id},
182
- query_params: {'api-version' => @client.api_version},
182
+ query_params: {'api-version' => api_version},
183
183
  headers: request_headers.merge(custom_headers || {})
184
184
  }
185
185
 
@@ -287,7 +287,7 @@ module Azure::ARM::Compute
287
287
  fail ArgumentError, 'location is nil' if location.nil?
288
288
  fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
289
289
  fail ArgumentError, 'type is nil' if type.nil?
290
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
290
+ api_version = '2016-03-30'
291
291
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
292
292
 
293
293
 
@@ -300,7 +300,7 @@ module Azure::ARM::Compute
300
300
  options = {
301
301
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
302
302
  path_params: {'location' => location,'publisherName' => publisher_name,'type' => type,'subscriptionId' => @client.subscription_id},
303
- query_params: {'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => @client.api_version},
303
+ query_params: {'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => api_version},
304
304
  headers: request_headers.merge(custom_headers || {})
305
305
  }
306
306