azure_mgmt_resourcegraph 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph.rb +47 -0
  4. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/column.rb +59 -0
  5. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/column_data_type.rb +19 -0
  6. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/error.rb +79 -0
  7. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/error_details.rb +77 -0
  8. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/error_response.rb +49 -0
  9. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb +60 -0
  10. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_error.rb +79 -0
  11. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request.rb +59 -0
  12. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request_options.rb +91 -0
  13. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_result.rb +94 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_sort_order.rb +16 -0
  15. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/operation.rb +70 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/operation_display.rb +79 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/operation_list_result.rb +57 -0
  18. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request.rb +99 -0
  19. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request_options.rb +80 -0
  20. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_response.rb +119 -0
  21. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/result_truncated.rb +16 -0
  22. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/table.rb +82 -0
  23. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/module_definition.rb +9 -0
  24. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/operations.rb +107 -0
  25. data/lib/2019-04-01/generated/azure_mgmt_resourcegraph/resource_graph_client.rb +224 -0
  26. data/lib/azure_mgmt_resourcegraph.rb +6 -0
  27. data/lib/module_definition.rb +7 -0
  28. data/lib/profiles/latest/modules/resourcegraph_profile_module.rb +137 -0
  29. data/lib/profiles/latest/resourcegraph_latest_profile_client.rb +40 -0
  30. data/lib/profiles/latest/resourcegraph_module_definition.rb +8 -0
  31. data/lib/version.rb +7 -0
  32. metadata +148 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f8e3f6e27105b0ba998a5188e1ddfe6cd0cc194159592fcbea268bfe34626c67
4
+ data.tar.gz: e89aed36c7467387e84e04c3807a87adcf7dd43cb4212783856554f804e52dda
5
+ SHA512:
6
+ metadata.gz: 2fa3d378dea5fbceccbfba7e73f7c8f429bdcc6e1c0f72ff3f6ed8d7fa3fdc016c66d148e9e502f9f9cfbdaeb20714dec1ee3f660d6393e163bfe22b1710bfbb
7
+ data.tar.gz: 5506c6074ea292ee62062fb1c85cd8159766edecb531fa62c18e56d287b676cb40a83e43119c999af21278dbcbd4eaf3aa598857d6139b202002f6824f57418f
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,47 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-04-01/generated/azure_mgmt_resourcegraph/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ResourceGraph::Mgmt::V2019_04_01
23
+ autoload :Operations, '2019-04-01/generated/azure_mgmt_resourcegraph/operations.rb'
24
+ autoload :ResourceGraphClient, '2019-04-01/generated/azure_mgmt_resourcegraph/resource_graph_client.rb'
25
+
26
+ module Models
27
+ autoload :QueryResponse, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_response.rb'
28
+ autoload :QueryRequestOptions, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request_options.rb'
29
+ autoload :FacetRequest, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request.rb'
30
+ autoload :ErrorDetails, '2019-04-01/generated/azure_mgmt_resourcegraph/models/error_details.rb'
31
+ autoload :Column, '2019-04-01/generated/azure_mgmt_resourcegraph/models/column.rb'
32
+ autoload :OperationListResult, '2019-04-01/generated/azure_mgmt_resourcegraph/models/operation_list_result.rb'
33
+ autoload :Facet, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb'
34
+ autoload :Error, '2019-04-01/generated/azure_mgmt_resourcegraph/models/error.rb'
35
+ autoload :QueryRequest, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request.rb'
36
+ autoload :ErrorResponse, '2019-04-01/generated/azure_mgmt_resourcegraph/models/error_response.rb'
37
+ autoload :FacetRequestOptions, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request_options.rb'
38
+ autoload :OperationDisplay, '2019-04-01/generated/azure_mgmt_resourcegraph/models/operation_display.rb'
39
+ autoload :Table, '2019-04-01/generated/azure_mgmt_resourcegraph/models/table.rb'
40
+ autoload :Operation, '2019-04-01/generated/azure_mgmt_resourcegraph/models/operation.rb'
41
+ autoload :FacetResult, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_result.rb'
42
+ autoload :FacetError, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_error.rb'
43
+ autoload :FacetSortOrder, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_sort_order.rb'
44
+ autoload :ResultTruncated, '2019-04-01/generated/azure_mgmt_resourcegraph/models/result_truncated.rb'
45
+ autoload :ColumnDataType, '2019-04-01/generated/azure_mgmt_resourcegraph/models/column_data_type.rb'
46
+ end
47
+ end
@@ -0,0 +1,59 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Query result column descriptor.
10
+ #
11
+ class Column
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Column name.
16
+ attr_accessor :name
17
+
18
+ # @return [ColumnDataType] Column data type. Possible values include:
19
+ # 'string', 'integer', 'number', 'boolean', 'object'
20
+ attr_accessor :type
21
+
22
+
23
+ #
24
+ # Mapper for Column class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'Column',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'Column',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ type: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'type',
48
+ type: {
49
+ name: 'Enum',
50
+ module: 'ColumnDataType'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,19 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Defines values for ColumnDataType
10
+ #
11
+ module ColumnDataType
12
+ String = "string"
13
+ Integer = "integer"
14
+ Number = "number"
15
+ Boolean = "boolean"
16
+ Object = "object"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,79 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Error info.
10
+
11
+ # Error details.
12
+ #
13
+ class Error
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [String] Error code identifying the specific error.
18
+ attr_accessor :code
19
+
20
+ # @return [String] A human readable error message.
21
+ attr_accessor :message
22
+
23
+ # @return [Array<ErrorDetails>] Error details
24
+ attr_accessor :details
25
+
26
+
27
+ #
28
+ # Mapper for Error class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'Error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'Error',
39
+ model_properties: {
40
+ code: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'code',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ message: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'message',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ details: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'details',
60
+ type: {
61
+ name: 'Sequence',
62
+ element: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'ErrorDetailsElementType',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'ErrorDetails'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,77 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Error details.
10
+ #
11
+ #
12
+ class ErrorDetails
13
+
14
+ include MsRestAzure
15
+
16
+ # @return Unmatched properties from the message are deserialized this
17
+ # collection
18
+ attr_accessor :additional_properties
19
+
20
+ # @return [String] Error code identifying the specific error.
21
+ attr_accessor :code
22
+
23
+ # @return [String] A human readable error message.
24
+ attr_accessor :message
25
+
26
+
27
+ #
28
+ # Mapper for ErrorDetails class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ErrorDetails',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorDetails',
39
+ model_properties: {
40
+ additional_properties: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ type: {
44
+ name: 'Dictionary',
45
+ value: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'ObjectElementType',
49
+ type: {
50
+ name: 'Object'
51
+ }
52
+ }
53
+ }
54
+ },
55
+ code: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'code',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ message: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'message',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,49 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Error response.
10
+
11
+ # An error response from the API.
12
+ #
13
+ class ErrorResponse
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Error] Error information.
18
+ attr_accessor :error
19
+
20
+
21
+ #
22
+ # Mapper for ErrorResponse class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'ErrorResponse',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ErrorResponse',
33
+ model_properties: {
34
+ error: {
35
+ client_side_validation: true,
36
+ required: true,
37
+ serialized_name: 'error',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'Error'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,60 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # A facet containing additional statistics on the response of a query. Can
10
+ # be either FacetResult or FacetError.
11
+ #
12
+ class Facet
13
+
14
+ include MsRestAzure
15
+
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["FacetResult"] = "FacetResult"
18
+ @@discriminatorMap["FacetError"] = "FacetError"
19
+
20
+ def initialize
21
+ @resultType = "Facet"
22
+ end
23
+
24
+ attr_accessor :resultType
25
+
26
+ # @return [String] Facet expression, same as in the corresponding facet
27
+ # request.
28
+ attr_accessor :expression
29
+
30
+
31
+ #
32
+ # Mapper for Facet 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: 'Facet',
40
+ type: {
41
+ name: 'Composite',
42
+ polymorphic_discriminator: 'resultType',
43
+ uber_parent: 'Facet',
44
+ class_name: 'Facet',
45
+ model_properties: {
46
+ expression: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'expression',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,79 @@
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::ResourceGraph::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # A facet whose execution resulted in an error.
10
+ #
11
+ class FacetError < Facet
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @resultType = "FacetError"
18
+ end
19
+
20
+ attr_accessor :resultType
21
+
22
+ # @return [Array<ErrorDetails>] An array containing detected facet errors
23
+ # with details.
24
+ attr_accessor :errors
25
+
26
+
27
+ #
28
+ # Mapper for FacetError class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'FacetError',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'FacetError',
39
+ model_properties: {
40
+ expression: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'expression',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ resultType: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'resultType',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ errors: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ serialized_name: 'errors',
60
+ type: {
61
+ name: 'Sequence',
62
+ element: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'ErrorDetailsElementType',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'ErrorDetails'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end