azure_mgmt_resourcegraph 0.17.0 → 0.17.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8e3f6e27105b0ba998a5188e1ddfe6cd0cc194159592fcbea268bfe34626c67
4
- data.tar.gz: e89aed36c7467387e84e04c3807a87adcf7dd43cb4212783856554f804e52dda
3
+ metadata.gz: 51ee0b9498d83f5a38f0f8ad0bc068d12358c06b6ec8e3556e65c84fecf05605
4
+ data.tar.gz: 4ac0537d571d8d7db713290924a6f0f0a0c8d1529475dd37efa6c7fb63385382
5
5
  SHA512:
6
- metadata.gz: 2fa3d378dea5fbceccbfba7e73f7c8f429bdcc6e1c0f72ff3f6ed8d7fa3fdc016c66d148e9e502f9f9cfbdaeb20714dec1ee3f660d6393e163bfe22b1710bfbb
7
- data.tar.gz: 5506c6074ea292ee62062fb1c85cd8159766edecb531fa62c18e56d287b676cb40a83e43119c999af21278dbcbd4eaf3aa598857d6139b202002f6824f57418f
6
+ metadata.gz: d9f009baff29c759028f18dbbb140f1b2ba59ce41fc7a1c2c75cd1852632c46a39864ed691cb2188e56f4c27430841d769ec0171ab6beb52dda51c97d33e6f34
7
+ data.tar.gz: c827ec592f9eb79fac94e5c741696a8d9b08279ce8d585cd83ee50e15a6576c8b5cc5396e0f05f1a2d7a87509f70d6a1709a522cddad37a7078d4e3dbd5e1e19
@@ -24,22 +24,23 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
24
24
  autoload :ResourceGraphClient, '2019-04-01/generated/azure_mgmt_resourcegraph/resource_graph_client.rb'
25
25
 
26
26
  module Models
27
- autoload :QueryResponse, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_response.rb'
27
+ autoload :Table, '2019-04-01/generated/azure_mgmt_resourcegraph/models/table.rb'
28
28
  autoload :QueryRequestOptions, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request_options.rb'
29
29
  autoload :FacetRequest, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request.rb'
30
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
31
  autoload :Facet, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb'
32
+ autoload :OperationListResult, '2019-04-01/generated/azure_mgmt_resourcegraph/models/operation_list_result.rb'
33
+ autoload :Column, '2019-04-01/generated/azure_mgmt_resourcegraph/models/column.rb'
34
34
  autoload :Error, '2019-04-01/generated/azure_mgmt_resourcegraph/models/error.rb'
35
35
  autoload :QueryRequest, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request.rb'
36
36
  autoload :ErrorResponse, '2019-04-01/generated/azure_mgmt_resourcegraph/models/error_response.rb'
37
37
  autoload :FacetRequestOptions, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_request_options.rb'
38
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'
39
+ autoload :QueryResponse, '2019-04-01/generated/azure_mgmt_resourcegraph/models/query_response.rb'
40
40
  autoload :Operation, '2019-04-01/generated/azure_mgmt_resourcegraph/models/operation.rb'
41
41
  autoload :FacetResult, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_result.rb'
42
42
  autoload :FacetError, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_error.rb'
43
+ autoload :ResultFormat, '2019-04-01/generated/azure_mgmt_resourcegraph/models/result_format.rb'
43
44
  autoload :FacetSortOrder, '2019-04-01/generated/azure_mgmt_resourcegraph/models/facet_sort_order.rb'
44
45
  autoload :ResultTruncated, '2019-04-01/generated/azure_mgmt_resourcegraph/models/result_truncated.rb'
45
46
  autoload :ColumnDataType, '2019-04-01/generated/azure_mgmt_resourcegraph/models/column_data_type.rb'
@@ -26,8 +26,8 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
26
26
  # @return [Integer] Number of records returned in the facet response.
27
27
  attr_accessor :count
28
28
 
29
- # @return [Table] A table containing the desired facets. Only present if
30
- # the facet is valid.
29
+ # @return A table containing the desired facets. Only present if the
30
+ # facet is valid.
31
31
  attr_accessor :data
32
32
 
33
33
 
@@ -81,8 +81,7 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
81
81
  required: true,
82
82
  serialized_name: 'data',
83
83
  type: {
84
- name: 'Composite',
85
- class_name: 'Table'
84
+ name: 'Object'
86
85
  }
87
86
  }
88
87
  }
@@ -26,6 +26,10 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
26
26
  # is present.
27
27
  attr_accessor :skip
28
28
 
29
+ # @return [ResultFormat] Defines in which format query result returned.
30
+ # Possible values include: 'table', 'objectArray'
31
+ attr_accessor :result_format
32
+
29
33
 
30
34
  #
31
35
  # Mapper for QueryRequestOptions class as Ruby Hash.
@@ -70,6 +74,15 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
70
74
  type: {
71
75
  name: 'Number'
72
76
  }
77
+ },
78
+ result_format: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'resultFormat',
82
+ type: {
83
+ name: 'Enum',
84
+ module: 'ResultFormat'
85
+ }
73
86
  }
74
87
  }
75
88
  }
@@ -29,7 +29,7 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
29
29
  # current request) to retrieve the next page of data.
30
30
  attr_accessor :skip_token
31
31
 
32
- # @return [Table] Query output in tabular format.
32
+ # @return Query output in tabular format.
33
33
  attr_accessor :data
34
34
 
35
35
  # @return [Array<Facet>] Query facets.
@@ -87,8 +87,7 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
87
87
  required: true,
88
88
  serialized_name: 'data',
89
89
  type: {
90
- name: 'Composite',
91
- class_name: 'Table'
90
+ name: 'Object'
92
91
  }
93
92
  },
94
93
  facets: {
@@ -0,0 +1,16 @@
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 ResultFormat
10
+ #
11
+ module ResultFormat
12
+ Table = "table"
13
+ ObjectArray = "objectArray"
14
+ end
15
+ end
16
+ end
@@ -86,6 +86,8 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -193,6 +193,8 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
193
193
  end
194
194
 
195
195
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
196
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
197
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
196
198
  # Deserialize Response
197
199
  if status_code == 200
198
200
  begin
@@ -217,7 +219,7 @@ module Azure::ResourceGraph::Mgmt::V2019_04_01
217
219
  #
218
220
  def add_telemetry
219
221
  sdk_information = 'azure_mgmt_resourcegraph'
220
- sdk_information = "#{sdk_information}/0.17.0"
222
+ sdk_information = "#{sdk_information}/0.17.1"
221
223
  add_user_agent_information(sdk_information)
222
224
  end
223
225
  end
@@ -9,22 +9,23 @@ module Azure::ResourceGraph::Profiles::Latest
9
9
  Operations = Azure::ResourceGraph::Mgmt::V2019_04_01::Operations
10
10
 
11
11
  module Models
12
- QueryResponse = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
12
+ Table = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
13
13
  QueryRequestOptions = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequestOptions
14
14
  FacetRequest = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequest
15
15
  ErrorDetails = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorDetails
16
- Column = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
17
- OperationListResult = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationListResult
18
16
  Facet = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
17
+ OperationListResult = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationListResult
18
+ Column = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
19
19
  Error = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Error
20
20
  QueryRequest = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequest
21
21
  ErrorResponse = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorResponse
22
22
  FacetRequestOptions = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetRequestOptions
23
23
  OperationDisplay = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationDisplay
24
- Table = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
24
+ QueryResponse = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
25
25
  Operation = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Operation
26
26
  FacetResult = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetResult
27
27
  FacetError = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetError
28
+ ResultFormat = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultFormat
28
29
  FacetSortOrder = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetSortOrder
29
30
  ResultTruncated = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultTruncated
30
31
  ColumnDataType = Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ColumnDataType
@@ -75,8 +76,8 @@ module Azure::ResourceGraph::Profiles::Latest
75
76
  end
76
77
 
77
78
  class ModelClasses
78
- def query_response
79
- Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
79
+ def table
80
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
80
81
  end
81
82
  def query_request_options
82
83
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequestOptions
@@ -87,14 +88,14 @@ module Azure::ResourceGraph::Profiles::Latest
87
88
  def error_details
88
89
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ErrorDetails
89
90
  end
90
- def column
91
- Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
91
+ def facet
92
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
92
93
  end
93
94
  def operation_list_result
94
95
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationListResult
95
96
  end
96
- def facet
97
- Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
97
+ def column
98
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Column
98
99
  end
99
100
  def error
100
101
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Error
@@ -111,8 +112,8 @@ module Azure::ResourceGraph::Profiles::Latest
111
112
  def operation_display
112
113
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::OperationDisplay
113
114
  end
114
- def table
115
- Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Table
115
+ def query_response
116
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryResponse
116
117
  end
117
118
  def operation
118
119
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Operation
@@ -123,6 +124,9 @@ module Azure::ResourceGraph::Profiles::Latest
123
124
  def facet_error
124
125
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetError
125
126
  end
127
+ def result_format
128
+ Azure::ResourceGraph::Mgmt::V2019_04_01::Models::ResultFormat
129
+ end
126
130
  def facet_sort_order
127
131
  Azure::ResourceGraph::Mgmt::V2019_04_01::Models::FacetSortOrder
128
132
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::ResourceGraph::Mgmt
6
- VERSION = '0.17.0'
6
+ VERSION = '0.17.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_resourcegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.11.0
75
+ version: 0.11.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure Resource Graph Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -105,6 +105,7 @@ files:
105
105
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request.rb
106
106
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request_options.rb
107
107
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_response.rb
108
+ - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/result_format.rb
108
109
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/result_truncated.rb
109
110
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/table.rb
110
111
  - lib/2019-04-01/generated/azure_mgmt_resourcegraph/module_definition.rb
@@ -122,7 +123,7 @@ licenses:
122
123
  metadata:
123
124
  bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
124
125
  changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
125
- documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
126
+ documentation_uri: https://docs.microsoft.com/azure/governance/resource-graph
126
127
  homepage_uri: https://aka.ms/azure-sdk-for-ruby
127
128
  source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_resourcegraph
128
129
  post_install_message: