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,75 @@
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
+ # Model object.
10
+ #
11
+ #
12
+ class CertificateBaseProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The algorithm of the certificate thumbprint. This must
17
+ # match the first portion of the certificate name. Currently required to
18
+ # be 'SHA1'.
19
+ attr_accessor :thumbprint_algorithm
20
+
21
+ # @return [String] The thumbprint of the certificate. This must match the
22
+ # thumbprint from the name.
23
+ attr_accessor :thumbprint
24
+
25
+ # @return [CertificateFormat] The format of the certificate - either Pfx
26
+ # or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx',
27
+ # 'Cer'
28
+ attr_accessor :format
29
+
30
+
31
+ #
32
+ # Mapper for CertificateBaseProperties 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: 'CertificateBaseProperties',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'CertificateBaseProperties',
43
+ model_properties: {
44
+ thumbprint_algorithm: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'thumbprintAlgorithm',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ thumbprint: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'thumbprint',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ format: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'format',
64
+ type: {
65
+ name: 'Enum',
66
+ module: 'CertificateFormat'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,135 @@
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
+ # Contains information about a certificate.
10
+ #
11
+ class CertificateCreateOrUpdateParameters < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The algorithm of the certificate thumbprint. This must
16
+ # match the first portion of the certificate name. Currently required to
17
+ # be 'SHA1'.
18
+ attr_accessor :thumbprint_algorithm
19
+
20
+ # @return [String] The thumbprint of the certificate. This must match the
21
+ # thumbprint from the name.
22
+ attr_accessor :thumbprint
23
+
24
+ # @return [CertificateFormat] The format of the certificate - either Pfx
25
+ # or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx',
26
+ # 'Cer'
27
+ attr_accessor :format
28
+
29
+ # @return [String] The base64-encoded contents of the certificate. The
30
+ # maximum size is 10KB.
31
+ attr_accessor :data
32
+
33
+ # @return [String] The password to access the certificate's private key.
34
+ # This is required if the certificate format is pfx and must be omitted
35
+ # if the certificate format is cer.
36
+ attr_accessor :password
37
+
38
+
39
+ #
40
+ # Mapper for CertificateCreateOrUpdateParameters class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'CertificateCreateOrUpdateParameters',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'CertificateCreateOrUpdateParameters',
51
+ model_properties: {
52
+ id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ name: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'type',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ etag: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'etag',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ thumbprint_algorithm: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'properties.thumbprintAlgorithm',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ thumbprint: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'properties.thumbprint',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ format: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'properties.format',
108
+ type: {
109
+ name: 'Enum',
110
+ module: 'CertificateFormat'
111
+ }
112
+ },
113
+ data: {
114
+ client_side_validation: true,
115
+ required: true,
116
+ serialized_name: 'properties.data',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ password: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ serialized_name: 'properties.password',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ end
133
+ end
134
+ end
135
+ 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 CertificateFormat
10
+ #
11
+ module CertificateFormat
12
+ Pfx = "Pfx"
13
+ Cer = "Cer"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
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 CertificateProvisioningState
10
+ #
11
+ module CertificateProvisioningState
12
+ Succeeded = "Succeeded"
13
+ Deleting = "Deleting"
14
+ Failed = "Failed"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,120 @@
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
+ # A reference to a certificate to be installed on compute nodes in a pool.
10
+ # This must exist inside the same account as the pool.
11
+ #
12
+ #
13
+ class CertificateReference
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [String] The fully qualified ID of the certificate to install
18
+ # on the pool. This must be inside the same batch account as the pool.
19
+ attr_accessor :id
20
+
21
+ # @return [CertificateStoreLocation] The location of the certificate
22
+ # store on the compute node into which to install the certificate. The
23
+ # default value is currentUser. This property is applicable only for
24
+ # pools configured with Windows nodes (that is, created with
25
+ # cloudServiceConfiguration, or with virtualMachineConfiguration using a
26
+ # Windows image reference). For Linux compute nodes, the certificates are
27
+ # stored in a directory inside the task working directory and an
28
+ # environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task
29
+ # to query for this location. For certificates with visibility of
30
+ # 'remoteUser', a 'certs' directory is created in the user's home
31
+ # directory (e.g., /home/{user-name}/certs) and certificates are placed
32
+ # in that directory. Possible values include: 'CurrentUser',
33
+ # 'LocalMachine'
34
+ attr_accessor :store_location
35
+
36
+ # @return [String] The name of the certificate store on the compute node
37
+ # into which to install the certificate. This property is applicable only
38
+ # for pools configured with Windows nodes (that is, created with
39
+ # cloudServiceConfiguration, or with virtualMachineConfiguration using a
40
+ # Windows image reference). Common store names include: My, Root, CA,
41
+ # Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot,
42
+ # AddressBook, but any custom store name can also be used. The default
43
+ # value is My.
44
+ attr_accessor :store_name
45
+
46
+ # @return [Array<CertificateVisibility>] Which user accounts on the
47
+ # compute node should have access to the private data of the certificate.
48
+ # Values are:
49
+ #
50
+ # starttask - The user account under which the start task is run.
51
+ # task - The accounts under which job tasks are run.
52
+ # remoteuser - The accounts under which users remotely access the node.
53
+ #
54
+ # You can specify more than one visibility in this collection. The
55
+ # default is all accounts.
56
+ attr_accessor :visibility
57
+
58
+
59
+ #
60
+ # Mapper for CertificateReference class as Ruby Hash.
61
+ # This will be used for serialization/deserialization.
62
+ #
63
+ def self.mapper()
64
+ {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'CertificateReference',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'CertificateReference',
71
+ model_properties: {
72
+ id: {
73
+ client_side_validation: true,
74
+ required: true,
75
+ serialized_name: 'id',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ store_location: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'storeLocation',
84
+ type: {
85
+ name: 'Enum',
86
+ module: 'CertificateStoreLocation'
87
+ }
88
+ },
89
+ store_name: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'storeName',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ visibility: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'visibility',
101
+ type: {
102
+ name: 'Sequence',
103
+ element: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'CertificateVisibilityElementType',
107
+ type: {
108
+ name: 'Enum',
109
+ module: 'CertificateVisibility'
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ end
118
+ end
119
+ end
120
+ 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 CertificateStoreLocation
10
+ #
11
+ module CertificateStoreLocation
12
+ CurrentUser = "CurrentUser"
13
+ LocalMachine = "LocalMachine"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
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 CertificateVisibility
10
+ #
11
+ module CertificateVisibility
12
+ StartTask = "StartTask"
13
+ Task = "Task"
14
+ RemoteUser = "RemoteUser"
15
+ end
16
+ end
17
+ end
@@ -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::Batch::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Parameters for a check name availability request.
10
+ #
11
+ class CheckNameAvailabilityParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name to check for availability
16
+ attr_accessor :name
17
+
18
+ # @return [String] The resource type. Must be set to
19
+ # Microsoft.Batch/batchAccounts. Default value:
20
+ # 'Microsoft.Batch/batchAccounts' .
21
+ attr_accessor :type
22
+
23
+
24
+ #
25
+ # Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'CheckNameAvailabilityParameters',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'CheckNameAvailabilityParameters',
36
+ model_properties: {
37
+ name: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ type: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ is_constant: true,
49
+ serialized_name: 'type',
50
+ default_value: 'Microsoft.Batch/batchAccounts',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end