azure_mgmt_batch 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_batch.rb +1 -0
  3. data/lib/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -1
  4. data/lib/generated/azure_mgmt_batch/models/application.rb +0 -1
  5. data/lib/generated/azure_mgmt_batch/models/application_create_parameters.rb +0 -1
  6. data/lib/generated/azure_mgmt_batch/models/application_package.rb +0 -1
  7. data/lib/generated/azure_mgmt_batch/models/application_update_parameters.rb +0 -1
  8. data/lib/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -1
  9. data/lib/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -1
  10. data/lib/generated/azure_mgmt_batch/models/batch_account.rb +1 -2
  11. data/lib/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -1
  12. data/lib/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -1
  13. data/lib/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -1
  14. data/lib/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -1
  15. data/lib/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -1
  16. data/lib/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +0 -1
  17. data/lib/generated/azure_mgmt_batch/models/check_name_availability_result.rb +0 -1
  18. data/lib/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -1
  19. data/lib/generated/azure_mgmt_batch/models/operation.rb +0 -1
  20. data/lib/generated/azure_mgmt_batch/models/operation_display.rb +0 -1
  21. data/lib/generated/azure_mgmt_batch/models/resource.rb +96 -0
  22. data/lib/generated/azure_mgmt_batch/version.rb +1 -1
  23. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 503f3a4e960064aafe097052ab621e3a2d80e0f4
4
- data.tar.gz: 1ac402b85319d637c5111c54985ab606899e01b7
3
+ metadata.gz: ecf3843ed6b219f1dd8ee1c298a39b42fbb526c0
4
+ data.tar.gz: 07c2551586e70140a0f298f0a5e528c3758c126a
5
5
  SHA512:
6
- metadata.gz: d6994b08becfc32d7a36bce21e14ddf6518ab9ac6bbe0a8a43f7a29c22d059530cf96746474a346079816309c7f855a187f4b06ed14c28f495ec45de72c43c5a
7
- data.tar.gz: 4b5ba17ef9eca122c6ea98d02ac91ed5ed271bc3c41a1fae10fba1c89ffbe12bd0ee2df821ec850ace157fee7459554270383072fea25b834937a8c49958178a
6
+ metadata.gz: 0d2d2f4496c42520f1f1da6a3c42ad061fdf4c1383e0c90602b430e9261050cfa0c8b3b76dce96bbb86e878c6c9eeafebacfe71891d09b662e3812288a63c120
7
+ data.tar.gz: 5e22c3f1fdf3c5bbcccb12c45833f49ca94b9d3f079fd29cd20e8e232f51c5b0b4a73d94af5a52a181142c5797be6608118e874a6bbf7f7bcaf3d477c08e6210
@@ -39,6 +39,7 @@ module Azure::ARM::Batch
39
39
  autoload :BatchAccountRegenerateKeyParameters, 'generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb'
40
40
  autoload :BatchLocationQuota, 'generated/azure_mgmt_batch/models/batch_location_quota.rb'
41
41
  autoload :ActivateApplicationPackageParameters, 'generated/azure_mgmt_batch/models/activate_application_package_parameters.rb'
42
+ autoload :Resource, 'generated/azure_mgmt_batch/models/resource.rb'
42
43
  autoload :AutoStorageBaseProperties, 'generated/azure_mgmt_batch/models/auto_storage_base_properties.rb'
43
44
  autoload :BatchAccountListResult, 'generated/azure_mgmt_batch/models/batch_account_list_result.rb'
44
45
  autoload :ApplicationCreateParameters, 'generated/azure_mgmt_batch/models/application_create_parameters.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The format of the application package binary file.
17
16
  attr_accessor :format
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] A string that uniquely identifies the application
17
16
  # within the account.
18
17
  attr_accessor :id
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] A value indicating whether packages within the
17
16
  # application may be overwritten using the same version string.
18
17
  attr_accessor :allow_updates
@@ -13,7 +13,6 @@ module Azure::ARM::Batch
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The ID of the application.
18
17
  attr_accessor :id
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] A value indicating whether packages within the
17
16
  # application may be overwritten using the same version string.
18
17
  attr_accessor :allow_updates
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource ID of the storage account to be used for
17
16
  # auto-storage account.
18
17
  attr_accessor :storage_account_id
@@ -13,7 +13,6 @@ module Azure::ARM::Batch
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [DateTime] The UTC time at which storage keys were last
18
17
  # synchronized with the Batch account.
19
18
  attr_accessor :last_key_sync
@@ -8,11 +8,10 @@ module Azure::ARM::Batch
8
8
  #
9
9
  # Contains information about an Azure Batch account.
10
10
  #
11
- class BatchAccount < MsRestAzure::Resource
11
+ class BatchAccount < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The account endpoint used to interact with the Batch
17
16
  # service.
18
17
  attr_accessor :account_endpoint
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The region in which to create the account.
17
16
  attr_accessor :location
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The Batch account name.
17
16
  attr_accessor :account_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [AccountKeyType] The type of account key to regenerate.
17
16
  # Possible values include: 'Primary', 'Secondary'
18
17
  attr_accessor :key_name
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The user-specified tags associated
17
16
  # with the account.
18
17
  attr_accessor :tags
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The number of Batch accounts that may be created
17
16
  # under the subscription in the specified region.
18
17
  attr_accessor :account_quota
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name to check for availability
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Gets a boolean value that indicates whether the name
17
16
  # is available for you to use. If true, the name is available. If false,
18
17
  # the name has already been taken or invalid and cannot be used.
@@ -12,7 +12,6 @@ module Azure::ARM::Batch
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource ID of the Azure key vault associated with
17
16
  # the Batch account.
18
17
  attr_accessor :id
@@ -13,7 +13,6 @@ module Azure::ARM::Batch
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The operation name. This is of the format
18
17
  # {provider}/{resource}/{operation}
19
18
  attr_accessor :name
@@ -13,7 +13,6 @@ module Azure::ARM::Batch
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Friendly name of the resource provider.
18
17
  attr_accessor :provider
19
18
 
@@ -0,0 +1,96 @@
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::ARM::Batch
7
+ module Models
8
+ #
9
+ # A definition of an Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ID of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The type of the resource.
22
+ attr_accessor :type
23
+
24
+ # @return [String] The location of the resource.
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] The tags of the resource.
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Resource',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Resource',
42
+ model_properties: {
43
+ id: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'type',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ location: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'location',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ tags: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'tags',
79
+ type: {
80
+ name: 'Dictionary',
81
+ value: {
82
+ required: false,
83
+ serialized_name: 'StringElementType',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Batch
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,6 +120,7 @@ files:
120
120
  - lib/generated/azure_mgmt_batch/models/package_state.rb
121
121
  - lib/generated/azure_mgmt_batch/models/pool_allocation_mode.rb
122
122
  - lib/generated/azure_mgmt_batch/models/provisioning_state.rb
123
+ - lib/generated/azure_mgmt_batch/models/resource.rb
123
124
  - lib/generated/azure_mgmt_batch/module_definition.rb
124
125
  - lib/generated/azure_mgmt_batch/operations.rb
125
126
  - lib/generated/azure_mgmt_batch/version.rb