azure_mgmt_resources 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_resources.rb +2 -0
  3. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -1
  4. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +0 -1
  5. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -1
  6. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +0 -1
  7. data/lib/generated/azure_mgmt_resources/models/dependency.rb +0 -1
  8. data/lib/generated/azure_mgmt_resources/models/deployment.rb +0 -1
  9. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -1
  10. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -1
  11. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -1
  12. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -1
  13. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -1
  14. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -1
  15. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -1
  16. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -1
  17. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +0 -1
  18. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +1 -2
  19. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -1
  20. data/lib/generated/azure_mgmt_resources/models/http_message.rb +0 -1
  21. data/lib/generated/azure_mgmt_resources/models/identity.rb +0 -1
  22. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +0 -1
  23. data/lib/generated/azure_mgmt_resources/models/plan.rb +0 -1
  24. data/lib/generated/azure_mgmt_resources/models/provider.rb +0 -1
  25. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -1
  26. data/lib/generated/azure_mgmt_resources/models/resource.rb +94 -0
  27. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +0 -1
  28. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -1
  29. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -1
  30. data/lib/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -1
  31. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -1
  32. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -1
  33. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -1
  34. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -1
  35. data/lib/generated/azure_mgmt_resources/models/sku.rb +0 -1
  36. data/lib/generated/azure_mgmt_resources/models/sub_resource.rb +44 -0
  37. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +0 -1
  38. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +0 -1
  39. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +0 -1
  40. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +0 -1
  41. data/lib/generated/azure_mgmt_resources/models/template_link.rb +0 -1
  42. data/lib/generated/azure_mgmt_resources/version.rb +1 -1
  43. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4cdef4de6e467311c8732dbb5e6626213559b3f
4
- data.tar.gz: fe4dd06db4eeff6fa1fe979a5e2003360867f11b
3
+ metadata.gz: 1b03ccd5c14a0dd4960b01ba000d457c94da4fe2
4
+ data.tar.gz: 10f7729f9780a5011fdd00caf97d411c617abea9
5
5
  SHA512:
6
- metadata.gz: dfee6089416256b594383b4903b8ecd6f41691a32ee598052d0bab9bdb579626492181482f163d30d32a2da7ef26875c39414e72351b38f0b9aa563ee7836330
7
- data.tar.gz: 4ee43816350c74ffa59f4c235ed5a8a13b0034f00e212952ead0b40c70269692a01f5f1458d19f0fc26bd9fb3aa2abaded201c84493b7b3543c965828453a39b
6
+ metadata.gz: c85f5abaa99790ec4852784206d1aed7e05b63c6d8aec9d21ee2ad6b8e1f3bbfb5f048ed8249b151e8dacab359b80ef8f0f800bbff3e00aa79cdc6646bde0ea2
7
+ data.tar.gz: ea68a3e88df0a6013692a1fb7b41b1571b5198d7430ae76e30c6fffa75d2b16a90cbbf50d803db3f11dc0a48146192d158d57f82ab44ff39f53120ea1bc071ff
@@ -68,7 +68,9 @@ module Azure::ARM::Resources
68
68
  autoload :Dependency, 'generated/azure_mgmt_resources/models/dependency.rb'
69
69
  autoload :ResourceProviderOperationDisplayProperties, 'generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb'
70
70
  autoload :TemplateLink, 'generated/azure_mgmt_resources/models/template_link.rb'
71
+ autoload :Resource, 'generated/azure_mgmt_resources/models/resource.rb'
71
72
  autoload :DeploymentListResult, 'generated/azure_mgmt_resources/models/deployment_list_result.rb'
73
+ autoload :SubResource, 'generated/azure_mgmt_resources/models/sub_resource.rb'
72
74
  autoload :AliasType, 'generated/azure_mgmt_resources/models/alias_type.rb'
73
75
  autoload :ResourceGroupExportResult, 'generated/azure_mgmt_resources/models/resource_group_export_result.rb'
74
76
  autoload :GenericResource, 'generated/azure_mgmt_resources/models/generic_resource.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The path of an alias.
17
16
  attr_accessor :path
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The alias name.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The ID of the dependency.
17
16
  attr_accessor :id
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Resources
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Specifies the type of information to log for
18
17
  # debugging. The permitted values are none, requestContent,
19
18
  # responseContent, or both requestContent and responseContent separated
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<BasicDependency>] The list of dependencies.
17
16
  attr_accessor :depends_on
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [DeploymentProperties] The deployment properties.
17
16
  attr_accessor :properties
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return The template content.
17
16
  attr_accessor :template
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The ID of the deployment.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The provisioning state.
17
16
  attr_accessor :provisioning_state
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Full deployment operation ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The state of the provisioning.
17
16
  attr_accessor :provisioning_state
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return The template content. You use this element when you want to
17
16
  # pass the template syntax directly in the request rather than link to an
18
17
  # existing template. It can be a JObject or well-formed JSON string. Use
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The state of the provisioning.
17
16
  attr_accessor :provisioning_state
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [ResourceManagementErrorWithDetails] Validation error.
17
16
  attr_accessor :error
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] The IDs of the resources. The only supported
17
16
  # string currently is '*' (all resources). Future updates will support
18
17
  # exporting specific resources.
@@ -8,11 +8,10 @@ module Azure::ARM::Resources
8
8
  #
9
9
  # Resource information.
10
10
  #
11
- class GenericResource < MsRestAzure::Resource
11
+ class GenericResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Plan] The plan of the resource.
17
16
  attr_accessor :plan
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource type.
17
16
  attr_accessor :resource_type
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return HTTP message content.
17
16
  attr_accessor :content
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The principal ID of resource identity.
17
16
  attr_accessor :principal_id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The URI of the parameters file.
17
16
  attr_accessor :uri
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The plan ID.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The provider ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource type.
17
16
  attr_accessor :resource_type
18
17
 
@@ -0,0 +1,94 @@
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::Resources
7
+ module Models
8
+ #
9
+ # Resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags
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
+ serialized_name: 'location',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ tags: {
75
+ required: false,
76
+ serialized_name: 'tags',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ required: false,
81
+ serialized_name: 'StringElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The ID of the resource group.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return The template content.
17
16
  attr_accessor :template
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The tag name.
17
16
  attr_accessor :tag_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the resource group.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The provisioning state.
17
16
  attr_accessor :provisioning_state
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The error code returned when exporting the template.
17
16
  attr_accessor :code
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation description.
17
16
  attr_accessor :publisher
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] The IDs of the resources.
17
16
  attr_accessor :resources
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The SKU name.
17
16
  attr_accessor :name
18
17
 
@@ -0,0 +1,44 @@
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::Resources
7
+ module Models
8
+ #
9
+ # Sub-resource.
10
+ #
11
+ class SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for SubResource class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'SubResource',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'SubResource',
30
+ model_properties: {
31
+ id: {
32
+ required: false,
33
+ serialized_name: 'id',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Type of count.
17
16
  attr_accessor :type
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The tag ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The tag ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The ID of the resource.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The URI of the template to deploy.
17
16
  attr_accessor :uri
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Resources
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_resources
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
@@ -119,6 +119,7 @@ files:
119
119
  - lib/generated/azure_mgmt_resources/models/provider.rb
120
120
  - lib/generated/azure_mgmt_resources/models/provider_list_result.rb
121
121
  - lib/generated/azure_mgmt_resources/models/provider_resource_type.rb
122
+ - lib/generated/azure_mgmt_resources/models/resource.rb
122
123
  - lib/generated/azure_mgmt_resources/models/resource_group.rb
123
124
  - lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb
124
125
  - lib/generated/azure_mgmt_resources/models/resource_group_filter.rb
@@ -131,6 +132,7 @@ files:
131
132
  - lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb
132
133
  - lib/generated/azure_mgmt_resources/models/resources_move_info.rb
133
134
  - lib/generated/azure_mgmt_resources/models/sku.rb
135
+ - lib/generated/azure_mgmt_resources/models/sub_resource.rb
134
136
  - lib/generated/azure_mgmt_resources/models/tag_count.rb
135
137
  - lib/generated/azure_mgmt_resources/models/tag_details.rb
136
138
  - lib/generated/azure_mgmt_resources/models/tag_value.rb