azure_mgmt_resources 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_resources.gemspec +4 -4
  3. data/lib/azure_mgmt_resources.rb +3 -73
  4. data/lib/generated/azure_mgmt_resources.rb +77 -0
  5. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployment_operations.rb +39 -15
  6. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployments.rb +113 -60
  7. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +61 -0
  8. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +62 -0
  9. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +64 -0
  10. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +44 -0
  11. data/lib/generated/azure_mgmt_resources/models/dependency.rb +82 -0
  12. data/lib/generated/azure_mgmt_resources/models/deployment.rb +45 -0
  13. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +44 -0
  14. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +65 -0
  15. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +44 -0
  16. data/lib/generated/azure_mgmt_resources/models/deployment_list_result.rb +93 -0
  17. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/models/deployment_mode.rb +0 -0
  18. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +65 -0
  19. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +117 -0
  20. data/lib/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +93 -0
  21. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +103 -0
  22. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +179 -0
  23. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +57 -0
  24. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +65 -0
  25. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +142 -0
  26. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +64 -0
  27. data/lib/generated/azure_mgmt_resources/models/http_message.rb +44 -0
  28. data/lib/generated/azure_mgmt_resources/models/identity.rb +68 -0
  29. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +55 -0
  30. data/lib/generated/azure_mgmt_resources/models/plan.rb +74 -0
  31. data/lib/generated/azure_mgmt_resources/models/provider.rb +83 -0
  32. data/lib/generated/azure_mgmt_resources/models/provider_list_result.rb +93 -0
  33. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +115 -0
  34. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +97 -0
  35. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +55 -0
  36. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +54 -0
  37. data/lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb +93 -0
  38. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +45 -0
  39. data/lib/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  40. data/lib/generated/azure_mgmt_resources/models/resource_list_result.rb +93 -0
  41. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +82 -0
  42. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +85 -0
  43. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +61 -0
  44. data/lib/generated/azure_mgmt_resources/models/sku.rb +94 -0
  45. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +54 -0
  46. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +83 -0
  47. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +65 -0
  48. data/lib/generated/azure_mgmt_resources/models/tags_list_result.rb +93 -0
  49. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +64 -0
  50. data/lib/generated/azure_mgmt_resources/models/template_link.rb +55 -0
  51. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/module_definition.rb +0 -0
  52. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/providers.rb +70 -34
  53. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_groups.rb +136 -68
  54. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_management_client.rb +8 -12
  55. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resources.rb +88 -43
  56. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/tags.rb +46 -27
  57. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/version.rb +1 -1
  58. metadata +76 -78
  59. data/lib/azure_mgmt_resources/models/basic_dependency.rb +0 -74
  60. data/lib/azure_mgmt_resources/models/debug_setting.rb +0 -56
  61. data/lib/azure_mgmt_resources/models/dependency.rb +0 -103
  62. data/lib/azure_mgmt_resources/models/deployment.rb +0 -62
  63. data/lib/azure_mgmt_resources/models/deployment_export_result.rb +0 -56
  64. data/lib/azure_mgmt_resources/models/deployment_extended.rb +0 -82
  65. data/lib/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -56
  66. data/lib/azure_mgmt_resources/models/deployment_list_result.rb +0 -86
  67. data/lib/azure_mgmt_resources/models/deployment_operation.rb +0 -81
  68. data/lib/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -141
  69. data/lib/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -86
  70. data/lib/azure_mgmt_resources/models/deployment_properties.rb +0 -131
  71. data/lib/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -231
  72. data/lib/azure_mgmt_resources/models/deployment_validate_result.rb +0 -80
  73. data/lib/azure_mgmt_resources/models/export_template_request.rb +0 -69
  74. data/lib/azure_mgmt_resources/models/generic_resource.rb +0 -101
  75. data/lib/azure_mgmt_resources/models/generic_resource_filter.rb +0 -74
  76. data/lib/azure_mgmt_resources/models/http_message.rb +0 -56
  77. data/lib/azure_mgmt_resources/models/parameters_link.rb +0 -66
  78. data/lib/azure_mgmt_resources/models/plan.rb +0 -83
  79. data/lib/azure_mgmt_resources/models/provider.rb +0 -104
  80. data/lib/azure_mgmt_resources/models/provider_list_result.rb +0 -85
  81. data/lib/azure_mgmt_resources/models/provider_resource_type.rb +0 -86
  82. data/lib/azure_mgmt_resources/models/resource_group.rb +0 -104
  83. data/lib/azure_mgmt_resources/models/resource_group_export_result.rb +0 -71
  84. data/lib/azure_mgmt_resources/models/resource_group_filter.rb +0 -65
  85. data/lib/azure_mgmt_resources/models/resource_group_list_result.rb +0 -87
  86. data/lib/azure_mgmt_resources/models/resource_group_properties.rb +0 -56
  87. data/lib/azure_mgmt_resources/models/resource_list_result.rb +0 -87
  88. data/lib/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -107
  89. data/lib/azure_mgmt_resources/models/resource_provider_operation_definition.rb +0 -72
  90. data/lib/azure_mgmt_resources/models/resource_provider_operation_detail_list_result.rb +0 -78
  91. data/lib/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -93
  92. data/lib/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  93. data/lib/azure_mgmt_resources/models/tag_count.rb +0 -65
  94. data/lib/azure_mgmt_resources/models/tag_details.rb +0 -110
  95. data/lib/azure_mgmt_resources/models/tag_value.rb +0 -80
  96. data/lib/azure_mgmt_resources/models/tags_list_result.rb +0 -86
  97. data/lib/azure_mgmt_resources/models/target_resource.rb +0 -74
  98. data/lib/azure_mgmt_resources/models/template_link.rb +0 -66
  99. data/lib/azure_mgmt_resources/resource_provider_operation_details.rb +0 -233
@@ -1,74 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment dependency information.
10
- #
11
- class BasicDependency
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the ID of the dependency.
16
- attr_accessor :id
17
-
18
- # @return [String] Gets or sets the dependency resource type.
19
- attr_accessor :resource_type
20
-
21
- # @return [String] Gets or sets the dependency resource name.
22
- attr_accessor :resource_name
23
-
24
- #
25
- # Validate the object. Throws ValidationError if validation fails.
26
- #
27
- def validate
28
- # Nothing to validate
29
- end
30
-
31
- #
32
- # Serializes given Model object into Ruby Hash.
33
- # @param object Model object to serialize.
34
- # @return [Hash] Serialized object in form of Ruby Hash.
35
- #
36
- def self.serialize_object(object)
37
- object.validate
38
- output_object = {}
39
-
40
- serialized_property = object.id
41
- output_object['id'] = serialized_property unless serialized_property.nil?
42
-
43
- serialized_property = object.resource_type
44
- output_object['resourceType'] = serialized_property unless serialized_property.nil?
45
-
46
- serialized_property = object.resource_name
47
- output_object['resourceName'] = serialized_property unless serialized_property.nil?
48
-
49
- output_object
50
- end
51
-
52
- #
53
- # Deserializes given Ruby Hash into Model object.
54
- # @param object [Hash] Ruby Hash object to deserialize.
55
- # @return [BasicDependency] Deserialized object.
56
- #
57
- def self.deserialize_object(object)
58
- return if object.nil?
59
- output_object = BasicDependency.new
60
-
61
- deserialized_property = object['id']
62
- output_object.id = deserialized_property
63
-
64
- deserialized_property = object['resourceType']
65
- output_object.resource_type = deserialized_property
66
-
67
- deserialized_property = object['resourceName']
68
- output_object.resource_name = deserialized_property
69
-
70
- output_object
71
- end
72
- end
73
- end
74
- end
@@ -1,56 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Model object.
10
- #
11
- class DebugSetting
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the debug detail level.
16
- attr_accessor :detail_level
17
-
18
- #
19
- # Validate the object. Throws ValidationError if validation fails.
20
- #
21
- def validate
22
- # Nothing to validate
23
- end
24
-
25
- #
26
- # Serializes given Model object into Ruby Hash.
27
- # @param object Model object to serialize.
28
- # @return [Hash] Serialized object in form of Ruby Hash.
29
- #
30
- def self.serialize_object(object)
31
- object.validate
32
- output_object = {}
33
-
34
- serialized_property = object.detail_level
35
- output_object['detailLevel'] = serialized_property unless serialized_property.nil?
36
-
37
- output_object
38
- end
39
-
40
- #
41
- # Deserializes given Ruby Hash into Model object.
42
- # @param object [Hash] Ruby Hash object to deserialize.
43
- # @return [DebugSetting] Deserialized object.
44
- #
45
- def self.deserialize_object(object)
46
- return if object.nil?
47
- output_object = DebugSetting.new
48
-
49
- deserialized_property = object['detailLevel']
50
- output_object.detail_level = deserialized_property
51
-
52
- output_object
53
- end
54
- end
55
- end
56
- end
@@ -1,103 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment dependency information.
10
- #
11
- class Dependency
12
-
13
- include MsRestAzure
14
-
15
- # @return [Array<BasicDependency>] Gets the list of dependencies.
16
- attr_accessor :depends_on
17
-
18
- # @return [String] Gets or sets the ID of the dependency.
19
- attr_accessor :id
20
-
21
- # @return [String] Gets or sets the dependency resource type.
22
- attr_accessor :resource_type
23
-
24
- # @return [String] Gets or sets the dependency resource name.
25
- attr_accessor :resource_name
26
-
27
- #
28
- # Validate the object. Throws ValidationError if validation fails.
29
- #
30
- def validate
31
- @depends_on.each{ |e| e.validate if e.respond_to?(:validate) } unless @depends_on.nil?
32
- end
33
-
34
- #
35
- # Serializes given Model object into Ruby Hash.
36
- # @param object Model object to serialize.
37
- # @return [Hash] Serialized object in form of Ruby Hash.
38
- #
39
- def self.serialize_object(object)
40
- object.validate
41
- output_object = {}
42
-
43
- serialized_property = object.depends_on
44
- unless serialized_property.nil?
45
- serializedArray = []
46
- serialized_property.each do |element|
47
- unless element.nil?
48
- element = BasicDependency.serialize_object(element)
49
- end
50
- serializedArray.push(element)
51
- end
52
- serialized_property = serializedArray
53
- end
54
- output_object['dependsOn'] = serialized_property unless serialized_property.nil?
55
-
56
- serialized_property = object.id
57
- output_object['id'] = serialized_property unless serialized_property.nil?
58
-
59
- serialized_property = object.resource_type
60
- output_object['resourceType'] = serialized_property unless serialized_property.nil?
61
-
62
- serialized_property = object.resource_name
63
- output_object['resourceName'] = serialized_property unless serialized_property.nil?
64
-
65
- output_object
66
- end
67
-
68
- #
69
- # Deserializes given Ruby Hash into Model object.
70
- # @param object [Hash] Ruby Hash object to deserialize.
71
- # @return [Dependency] Deserialized object.
72
- #
73
- def self.deserialize_object(object)
74
- return if object.nil?
75
- output_object = Dependency.new
76
-
77
- deserialized_property = object['dependsOn']
78
- unless deserialized_property.nil?
79
- deserialized_array = []
80
- deserialized_property.each do |element1|
81
- unless element1.nil?
82
- element1 = BasicDependency.deserialize_object(element1)
83
- end
84
- deserialized_array.push(element1)
85
- end
86
- deserialized_property = deserialized_array
87
- end
88
- output_object.depends_on = deserialized_property
89
-
90
- deserialized_property = object['id']
91
- output_object.id = deserialized_property
92
-
93
- deserialized_property = object['resourceType']
94
- output_object.resource_type = deserialized_property
95
-
96
- deserialized_property = object['resourceName']
97
- output_object.resource_name = deserialized_property
98
-
99
- output_object
100
- end
101
- end
102
- end
103
- end
@@ -1,62 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment operation parameters.
10
- #
11
- class Deployment
12
-
13
- include MsRestAzure
14
-
15
- # @return [DeploymentProperties] Gets or sets the deployment properties.
16
- attr_accessor :properties
17
-
18
- #
19
- # Validate the object. Throws ValidationError if validation fails.
20
- #
21
- def validate
22
- @properties.validate unless @properties.nil?
23
- end
24
-
25
- #
26
- # Serializes given Model object into Ruby Hash.
27
- # @param object Model object to serialize.
28
- # @return [Hash] Serialized object in form of Ruby Hash.
29
- #
30
- def self.serialize_object(object)
31
- object.validate
32
- output_object = {}
33
-
34
- serialized_property = object.properties
35
- unless serialized_property.nil?
36
- serialized_property = DeploymentProperties.serialize_object(serialized_property)
37
- end
38
- output_object['properties'] = serialized_property unless serialized_property.nil?
39
-
40
- output_object
41
- end
42
-
43
- #
44
- # Deserializes given Ruby Hash into Model object.
45
- # @param object [Hash] Ruby Hash object to deserialize.
46
- # @return [Deployment] Deserialized object.
47
- #
48
- def self.deserialize_object(object)
49
- return if object.nil?
50
- output_object = Deployment.new
51
-
52
- deserialized_property = object['properties']
53
- unless deserialized_property.nil?
54
- deserialized_property = DeploymentProperties.deserialize_object(deserialized_property)
55
- end
56
- output_object.properties = deserialized_property
57
-
58
- output_object
59
- end
60
- end
61
- end
62
- end
@@ -1,56 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Model object.
10
- #
11
- class DeploymentExportResult
12
-
13
- include MsRestAzure
14
-
15
- # @return Gets or sets the template content.
16
- attr_accessor :template
17
-
18
- #
19
- # Validate the object. Throws ValidationError if validation fails.
20
- #
21
- def validate
22
- # Nothing to validate
23
- end
24
-
25
- #
26
- # Serializes given Model object into Ruby Hash.
27
- # @param object Model object to serialize.
28
- # @return [Hash] Serialized object in form of Ruby Hash.
29
- #
30
- def self.serialize_object(object)
31
- object.validate
32
- output_object = {}
33
-
34
- serialized_property = object.template
35
- output_object['template'] = serialized_property unless serialized_property.nil?
36
-
37
- output_object
38
- end
39
-
40
- #
41
- # Deserializes given Ruby Hash into Model object.
42
- # @param object [Hash] Ruby Hash object to deserialize.
43
- # @return [DeploymentExportResult] Deserialized object.
44
- #
45
- def self.deserialize_object(object)
46
- return if object.nil?
47
- output_object = DeploymentExportResult.new
48
-
49
- deserialized_property = object['template']
50
- output_object.template = deserialized_property
51
-
52
- output_object
53
- end
54
- end
55
- end
56
- end
@@ -1,82 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment information.
10
- #
11
- class DeploymentExtended
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the ID of the deployment.
16
- attr_accessor :id
17
-
18
- # @return [String] Gets or sets the name of the deployment.
19
- attr_accessor :name
20
-
21
- # @return [DeploymentPropertiesExtended] Gets or sets deployment
22
- # properties.
23
- attr_accessor :properties
24
-
25
- #
26
- # Validate the object. Throws ValidationError if validation fails.
27
- #
28
- def validate
29
- fail MsRest::ValidationError, 'property name is nil' if @name.nil?
30
- @properties.validate unless @properties.nil?
31
- end
32
-
33
- #
34
- # Serializes given Model object into Ruby Hash.
35
- # @param object Model object to serialize.
36
- # @return [Hash] Serialized object in form of Ruby Hash.
37
- #
38
- def self.serialize_object(object)
39
- object.validate
40
- output_object = {}
41
-
42
- serialized_property = object.name
43
- output_object['name'] = serialized_property unless serialized_property.nil?
44
-
45
- serialized_property = object.id
46
- output_object['id'] = serialized_property unless serialized_property.nil?
47
-
48
- serialized_property = object.properties
49
- unless serialized_property.nil?
50
- serialized_property = DeploymentPropertiesExtended.serialize_object(serialized_property)
51
- end
52
- output_object['properties'] = serialized_property unless serialized_property.nil?
53
-
54
- output_object
55
- end
56
-
57
- #
58
- # Deserializes given Ruby Hash into Model object.
59
- # @param object [Hash] Ruby Hash object to deserialize.
60
- # @return [DeploymentExtended] Deserialized object.
61
- #
62
- def self.deserialize_object(object)
63
- return if object.nil?
64
- output_object = DeploymentExtended.new
65
-
66
- deserialized_property = object['name']
67
- output_object.name = deserialized_property
68
-
69
- deserialized_property = object['id']
70
- output_object.id = deserialized_property
71
-
72
- deserialized_property = object['properties']
73
- unless deserialized_property.nil?
74
- deserialized_property = DeploymentPropertiesExtended.deserialize_object(deserialized_property)
75
- end
76
- output_object.properties = deserialized_property
77
-
78
- output_object
79
- end
80
- end
81
- end
82
- end
@@ -1,56 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment filter.
10
- #
11
- class DeploymentExtendedFilter
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the provisioning state.
16
- attr_accessor :provisioning_state
17
-
18
- #
19
- # Validate the object. Throws ValidationError if validation fails.
20
- #
21
- def validate
22
- # Nothing to validate
23
- end
24
-
25
- #
26
- # Serializes given Model object into Ruby Hash.
27
- # @param object Model object to serialize.
28
- # @return [Hash] Serialized object in form of Ruby Hash.
29
- #
30
- def self.serialize_object(object)
31
- object.validate
32
- output_object = {}
33
-
34
- serialized_property = object.provisioning_state
35
- output_object['provisioningState'] = serialized_property unless serialized_property.nil?
36
-
37
- output_object
38
- end
39
-
40
- #
41
- # Deserializes given Ruby Hash into Model object.
42
- # @param object [Hash] Ruby Hash object to deserialize.
43
- # @return [DeploymentExtendedFilter] Deserialized object.
44
- #
45
- def self.deserialize_object(object)
46
- return if object.nil?
47
- output_object = DeploymentExtendedFilter.new
48
-
49
- deserialized_property = object['provisioningState']
50
- output_object.provisioning_state = deserialized_property
51
-
52
- output_object
53
- end
54
- end
55
- end
56
- end