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
@@ -0,0 +1,82 @@
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 ResourceManagementErrorWithDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The error code returned from the server.
16
+ attr_accessor :code
17
+
18
+ # @return [String] The error message returned from the server.
19
+ attr_accessor :message
20
+
21
+ # @return [String] The target of the error.
22
+ attr_accessor :target
23
+
24
+ # @return [Array<ResourceManagementErrorWithDetails>] Validation error.
25
+ attr_accessor :details
26
+
27
+
28
+ #
29
+ # Mapper for ResourceManagementErrorWithDetails class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'ResourceManagementErrorWithDetails',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ResourceManagementErrorWithDetails',
39
+ model_properties: {
40
+ code: {
41
+ required: true,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ message: {
48
+ required: true,
49
+ serialized_name: 'message',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ target: {
55
+ required: false,
56
+ serialized_name: 'target',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ details: {
62
+ required: false,
63
+ serialized_name: 'details',
64
+ type: {
65
+ name: 'Sequence',
66
+ element: {
67
+ required: false,
68
+ serialized_name: 'ResourceManagementErrorWithDetailsElementType',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ResourceManagementErrorWithDetails'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,85 @@
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
+ # Resource provider operation's display properties.
10
+ #
11
+ class ResourceProviderOperationDisplayProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation description.
16
+ attr_accessor :publisher
17
+
18
+ # @return [String] Operation provider.
19
+ attr_accessor :provider
20
+
21
+ # @return [String] Operation resource.
22
+ attr_accessor :resource
23
+
24
+ # @return [String] Operation.
25
+ attr_accessor :operation
26
+
27
+ # @return [String] Operation description.
28
+ attr_accessor :description
29
+
30
+
31
+ #
32
+ # Mapper for ResourceProviderOperationDisplayProperties class as Ruby
33
+ # Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'ResourceProviderOperationDisplayProperties',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ResourceProviderOperationDisplayProperties',
43
+ model_properties: {
44
+ publisher: {
45
+ required: false,
46
+ serialized_name: 'publisher',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ provider: {
52
+ required: false,
53
+ serialized_name: 'provider',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ resource: {
59
+ required: false,
60
+ serialized_name: 'resource',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ operation: {
66
+ required: false,
67
+ serialized_name: 'operation',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ description: {
73
+ required: false,
74
+ serialized_name: 'description',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,61 @@
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
+ # Parameters of move resources.
10
+ #
11
+ class ResourcesMoveInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] The ids of the resources.
16
+ attr_accessor :resources
17
+
18
+ # @return [String] The target resource group.
19
+ attr_accessor :target_resource_group
20
+
21
+
22
+ #
23
+ # Mapper for ResourcesMoveInfo class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ResourcesMoveInfo',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ResourcesMoveInfo',
33
+ model_properties: {
34
+ resources: {
35
+ required: false,
36
+ serialized_name: 'resources',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ },
48
+ target_resource_group: {
49
+ required: false,
50
+ serialized_name: 'targetResourceGroup',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,94 @@
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
+ # Sku for the resource.
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The sku name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The sku tier.
19
+ attr_accessor :tier
20
+
21
+ # @return [String] The sku size.
22
+ attr_accessor :size
23
+
24
+ # @return [String] The sku family.
25
+ attr_accessor :family
26
+
27
+ # @return [String] The sku model.
28
+ attr_accessor :model
29
+
30
+ # @return [Integer] The sku capacity.
31
+ attr_accessor :capacity
32
+
33
+
34
+ #
35
+ # Mapper for Sku class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'Sku',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Sku',
45
+ model_properties: {
46
+ name: {
47
+ required: false,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ tier: {
54
+ required: false,
55
+ serialized_name: 'tier',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ size: {
61
+ required: false,
62
+ serialized_name: 'size',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ family: {
68
+ required: false,
69
+ serialized_name: 'family',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ model: {
75
+ required: false,
76
+ serialized_name: 'model',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ capacity: {
82
+ required: false,
83
+ serialized_name: 'capacity',
84
+ type: {
85
+ name: 'Number'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,54 @@
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
+ # Tag count.
10
+ #
11
+ class TagCount
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Type of count.
16
+ attr_accessor :type
17
+
18
+ # @return [String] Value of count.
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for TagCount class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'TagCount',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'TagCount',
33
+ model_properties: {
34
+ type: {
35
+ required: false,
36
+ serialized_name: 'type',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ value: {
42
+ required: false,
43
+ serialized_name: 'value',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,83 @@
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
+ # Tag details.
10
+ #
11
+ class TagDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The tag ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The tag name.
19
+ attr_accessor :tag_name
20
+
21
+ # @return [TagCount] The tag count.
22
+ attr_accessor :count
23
+
24
+ # @return [Array<TagValue>] The list of tag values.
25
+ attr_accessor :values
26
+
27
+
28
+ #
29
+ # Mapper for TagDetails class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'TagDetails',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'TagDetails',
39
+ model_properties: {
40
+ id: {
41
+ required: false,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ tag_name: {
48
+ required: false,
49
+ serialized_name: 'tagName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ count: {
55
+ required: false,
56
+ serialized_name: 'count',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'TagCount'
60
+ }
61
+ },
62
+ values: {
63
+ required: false,
64
+ serialized_name: 'values',
65
+ type: {
66
+ name: 'Sequence',
67
+ element: {
68
+ required: false,
69
+ serialized_name: 'TagValueElementType',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'TagValue'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end