azure_mgmt_batch 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +39 -37
  3. data/lib/2015-12-01/generated/azure_mgmt_batch/application_package_operations.rb +24 -22
  4. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +80 -75
  5. data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +4 -1
  6. data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +6 -5
  7. data/lib/2017-01-01/generated/azure_mgmt_batch.rb +52 -0
  8. data/lib/2017-01-01/generated/azure_mgmt_batch/application_operations.rb +657 -0
  9. data/lib/2017-01-01/generated/azure_mgmt_batch/application_package_operations.rb +445 -0
  10. data/lib/2017-01-01/generated/azure_mgmt_batch/batch_account_operations.rb +1281 -0
  11. data/lib/2017-01-01/generated/azure_mgmt_batch/batch_management_client.rb +143 -0
  12. data/lib/2017-01-01/generated/azure_mgmt_batch/location.rb +116 -0
  13. data/lib/2017-01-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  14. data/lib/2017-01-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +47 -0
  15. data/lib/2017-01-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +58 -0
  16. data/lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb +103 -0
  17. data/lib/2017-01-01/generated/azure_mgmt_batch/models/application_package.rb +125 -0
  18. data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
  19. data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +60 -0
  20. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb +196 -0
  21. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
  22. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +59 -0
  23. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
  24. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
  25. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
  26. data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
  27. data/lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
  28. data/lib/2017-01-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
  29. data/lib/2017-01-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
  30. data/lib/2017-01-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
  31. data/lib/2017-01-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  32. data/lib/2017-01-01/generated/azure_mgmt_batch/models/resource.rb +103 -0
  33. data/lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +70 -0
  34. data/lib/2017-01-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  35. data/lib/2017-05-01/generated/azure_mgmt_batch/application_operations.rb +39 -37
  36. data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +24 -22
  37. data/lib/2017-05-01/generated/azure_mgmt_batch/batch_account_operations.rb +80 -75
  38. data/lib/2017-05-01/generated/azure_mgmt_batch/batch_management_client.rb +4 -1
  39. data/lib/2017-05-01/generated/azure_mgmt_batch/location.rb +12 -12
  40. data/lib/2017-05-01/generated/azure_mgmt_batch/operations.rb +15 -13
  41. data/lib/2017-09-01/generated/azure_mgmt_batch.rb +113 -0
  42. data/lib/2017-09-01/generated/azure_mgmt_batch/application_operations.rb +655 -0
  43. data/lib/2017-09-01/generated/azure_mgmt_batch/application_package_operations.rb +441 -0
  44. data/lib/2017-09-01/generated/azure_mgmt_batch/batch_account_operations.rb +1273 -0
  45. data/lib/2017-09-01/generated/azure_mgmt_batch/batch_management_client.rb +155 -0
  46. data/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb +1009 -0
  47. data/lib/2017-09-01/generated/azure_mgmt_batch/location.rb +221 -0
  48. data/lib/2017-09-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
  49. data/lib/2017-09-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
  50. data/lib/2017-09-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
  51. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application.rb +103 -0
  52. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +58 -0
  53. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package.rb +125 -0
  54. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
  55. data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +70 -0
  56. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
  57. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
  58. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
  59. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
  60. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
  61. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
  62. data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +69 -0
  63. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account.rb +208 -0
  64. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
  65. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
  66. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
  67. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
  68. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
  69. data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
  70. data/lib/2017-09-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
  71. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate.rb +205 -0
  72. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
  73. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
  74. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
  75. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
  76. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_reference.rb +120 -0
  77. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
  78. data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
  79. data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
  80. data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
  81. data/lib/2017-09-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +83 -0
  82. data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
  83. data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
  84. data/lib/2017-09-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
  85. data/lib/2017-09-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
  86. data/lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
  87. data/lib/2017-09-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
  88. data/lib/2017-09-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
  89. data/lib/2017-09-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
  90. data/lib/2017-09-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
  91. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
  92. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
  93. data/lib/2017-09-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
  94. data/lib/2017-09-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
  95. data/lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
  96. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
  97. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
  98. data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
  99. data/lib/2017-09-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
  100. data/lib/2017-09-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
  101. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
  102. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
  103. data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
  104. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
  105. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
  106. data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
  107. data/lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb +52 -0
  108. data/lib/2017-09-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
  109. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool.rb +474 -0
  110. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
  111. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
  112. data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
  113. data/lib/2017-09-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
  114. data/lib/2017-09-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
  115. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
  116. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
  117. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource.rb +103 -0
  118. data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource_file.rb +79 -0
  119. data/lib/2017-09-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
  120. data/lib/2017-09-01/generated/azure_mgmt_batch/models/start_task.rb +151 -0
  121. data/lib/2017-09-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
  122. data/lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
  123. data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_account.rb +89 -0
  124. data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
  125. data/lib/2017-09-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +138 -0
  126. data/lib/2017-09-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
  127. data/lib/2017-09-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
  128. data/lib/2017-09-01/generated/azure_mgmt_batch/operations.rb +215 -0
  129. data/lib/2017-09-01/generated/azure_mgmt_batch/pool_operations.rb +1132 -0
  130. data/lib/azure_mgmt_batch.rb +2 -0
  131. data/lib/profiles/latest/batch_latest_profile_client.rb +28 -9
  132. data/lib/profiles/latest/batch_module_definition.rb +0 -1
  133. data/lib/profiles/latest/modules/batch_profile_module.rb +357 -126
  134. data/lib/version.rb +1 -1
  135. metadata +119 -2
@@ -0,0 +1,78 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # The CheckNameAvailability operation response.
10
+ #
11
+ class CheckNameAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Gets a boolean value that indicates whether the name
16
+ # is available for you to use. If true, the name is available. If false,
17
+ # the name has already been taken or invalid and cannot be used.
18
+ attr_accessor :name_available
19
+
20
+ # @return [NameAvailabilityReason] Gets the reason that a Batch account
21
+ # name could not be used. The Reason element is only returned if
22
+ # NameAvailable is false. Possible values include: 'Invalid',
23
+ # 'AlreadyExists'
24
+ attr_accessor :reason
25
+
26
+ # @return [String] Gets an error message explaining the Reason value in
27
+ # more detail.
28
+ attr_accessor :message
29
+
30
+
31
+ #
32
+ # Mapper for CheckNameAvailabilityResult class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'CheckNameAvailabilityResult',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'CheckNameAvailabilityResult',
43
+ model_properties: {
44
+ name_available: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'nameAvailable',
49
+ type: {
50
+ name: 'Boolean'
51
+ }
52
+ },
53
+ reason: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'reason',
58
+ type: {
59
+ name: 'Enum',
60
+ module: 'NameAvailabilityReason'
61
+ }
62
+ },
63
+ message: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'message',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,83 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # The configuration for nodes in a pool based on the Azure Cloud Services
10
+ # platform.
11
+ #
12
+ #
13
+ class CloudServiceConfiguration
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [String] The Azure Guest OS family to be installed on the
18
+ # virtual machines in the pool. Possible values are: 2 - OS Family 2,
19
+ # equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent
20
+ # to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server
21
+ # 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. For more
22
+ # information, see Azure Guest OS Releases
23
+ # (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases).
24
+ attr_accessor :os_family
25
+
26
+ # @return [String] The Azure Guest OS version to be installed on the
27
+ # virtual machines in the pool. The default value is * which specifies
28
+ # the latest operating system version for the specified OS family.
29
+ attr_accessor :target_osversion
30
+
31
+ # @return [String] The Azure Guest OS Version currently installed on the
32
+ # virtual machines in the pool. This may differ from targetOSVersion if
33
+ # the pool state is Upgrading. In this case some virtual machines may be
34
+ # on the targetOSVersion and some may be on the currentOSVersion during
35
+ # the upgrade process. Once all virtual machines have upgraded,
36
+ # currentOSVersion is updated to be the same as targetOSVersion.
37
+ attr_accessor :current_osversion
38
+
39
+
40
+ #
41
+ # Mapper for CloudServiceConfiguration class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'CloudServiceConfiguration',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'CloudServiceConfiguration',
52
+ model_properties: {
53
+ os_family: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'osFamily',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ target_osversion: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'targetOSVersion',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ current_osversion: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'currentOSVersion',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,18 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Defines values for ComputeNodeDeallocationOption
10
+ #
11
+ module ComputeNodeDeallocationOption
12
+ Requeue = "Requeue"
13
+ Terminate = "Terminate"
14
+ TaskCompletion = "TaskCompletion"
15
+ RetainedData = "RetainedData"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,16 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Defines values for ComputeNodeFillType
10
+ #
11
+ module ComputeNodeFillType
12
+ Spread = "Spread"
13
+ Pack = "Pack"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,101 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Data Disk settings which will be used by the data disks associated to
10
+ # Compute Nodes in the pool.
11
+ #
12
+ class DataDisk
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Integer] The logical unit number. The lun is used to uniquely
17
+ # identify each data disk. If attaching multiple disks, each should have
18
+ # a distinct lun.
19
+ attr_accessor :lun
20
+
21
+ # @return [CachingType] The type of caching to be enabled for the data
22
+ # disks. Values are:
23
+ #
24
+ # none - The caching mode for the disk is not enabled.
25
+ # readOnly - The caching mode for the disk is read only.
26
+ # readWrite - The caching mode for the disk is read and write.
27
+ #
28
+ # The default value for caching is none. For information about the
29
+ # caching options see:
30
+ # https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
31
+ # Possible values include: 'None', 'ReadOnly', 'ReadWrite'
32
+ attr_accessor :caching
33
+
34
+ # @return [Integer] The initial disk size in GB when creating new data
35
+ # disk.
36
+ attr_accessor :disk_size_gb
37
+
38
+ # @return [StorageAccountType] The storage account type to be used for
39
+ # the data disk. If omitted, the default is "Standard_LRS". Values are:
40
+ #
41
+ # Standard_LRS - The data disk should use standard locally redundant
42
+ # storage.
43
+ # Premium_LRS - The data disk should use premium locally redundant
44
+ # storage. Possible values include: 'Standard_LRS', 'Premium_LRS'
45
+ attr_accessor :storage_account_type
46
+
47
+
48
+ #
49
+ # Mapper for DataDisk class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'DataDisk',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'DataDisk',
60
+ model_properties: {
61
+ lun: {
62
+ client_side_validation: true,
63
+ required: true,
64
+ serialized_name: 'lun',
65
+ type: {
66
+ name: 'Number'
67
+ }
68
+ },
69
+ caching: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'caching',
73
+ type: {
74
+ name: 'Enum',
75
+ module: 'CachingType'
76
+ }
77
+ },
78
+ disk_size_gb: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'diskSizeGB',
82
+ type: {
83
+ name: 'Number'
84
+ }
85
+ },
86
+ storage_account_type: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'storageAccountType',
90
+ type: {
91
+ name: 'Enum',
92
+ module: 'StorageAccountType'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,92 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # An error response from the Batch service.
10
+ #
11
+ class DeleteCertificateError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] An identifier for the error. Codes are invariant and
16
+ # are intended to be consumed programmatically.
17
+ attr_accessor :code
18
+
19
+ # @return [String] A message describing the error, intended to be
20
+ # suitable for display in a user interface.
21
+ attr_accessor :message
22
+
23
+ # @return [String] The target of the particular error. For example, the
24
+ # name of the property in error.
25
+ attr_accessor :target
26
+
27
+ # @return [Array<DeleteCertificateError>] A list of additional details
28
+ # about the error.
29
+ attr_accessor :details
30
+
31
+
32
+ #
33
+ # Mapper for DeleteCertificateError class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'DeleteCertificateError',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'DeleteCertificateError',
44
+ model_properties: {
45
+ code: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'code',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ message: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'message',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ target: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'target',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ details: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'details',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'DeleteCertificateErrorElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'DeleteCertificateError'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,66 @@
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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Deployment configuration properties.
10
+ #
11
+ #
12
+ class DeploymentConfiguration
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [CloudServiceConfiguration] The cloud service configuration for
17
+ # the pool. This property and virtualMachineConfiguration are mutually
18
+ # exclusive and one of the properties must be specified. This property
19
+ # cannot be specified if the Batch account was created with its
20
+ # poolAllocationMode property set to 'UserSubscription'.
21
+ attr_accessor :cloud_service_configuration
22
+
23
+ # @return [VirtualMachineConfiguration] The virtual machine configuration
24
+ # for the pool. This property and cloudServiceConfiguration are mutually
25
+ # exclusive and one of the properties must be specified.
26
+ attr_accessor :virtual_machine_configuration
27
+
28
+
29
+ #
30
+ # Mapper for DeploymentConfiguration class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'DeploymentConfiguration',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'DeploymentConfiguration',
41
+ model_properties: {
42
+ cloud_service_configuration: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'cloudServiceConfiguration',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'CloudServiceConfiguration'
49
+ }
50
+ },
51
+ virtual_machine_configuration: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'virtualMachineConfiguration',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'VirtualMachineConfiguration'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end