azure_mgmt_powerbi_embedded 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_powerbi_embedded.rb +1 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/access_key_name.rb +1 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/azure_sku.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/check_name_reason.rb +1 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/check_name_request.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/check_name_response.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/create_workspace_collection_request.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/display.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/error.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/error_detail.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/migrate_workspace_collection_request.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/operation.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/operation_list.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/update_workspace_collection_request.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_collection.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_key.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_keys.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_list.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_list.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb +4 -4
- data/lib/generated/azure_mgmt_powerbi_embedded/version.rb +2 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb +37 -38
- data/lib/generated/azure_mgmt_powerbi_embedded/workspaces.rb +4 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a71b03a734aba0da1c29ece69459107cdcb947e
|
4
|
+
data.tar.gz: 4c4794c859ed062e796a726215aa9d3543ae0e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a429703cb2f997b590c0ebacd57d233f6e3682e872f643c0558435e502e5cfa39ae7dff7d7501535fdec9bc443ef657ceae572e3020545b2758d6c926dcd24
|
7
|
+
data.tar.gz: b2902e322257a0f94c1454d322f098c5faeed9f01eba8bd638e0eee9233f99b1957afed88e6ab089de3cc01c39c28e8a2de4204c13a036ab8e1f5755241b4f6a
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] SKU name. Default value: 'S1' .
|
17
18
|
attr_accessor :name
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Workspace collection name
|
17
18
|
attr_accessor :name
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Boolean] Specifies a Boolean value that indicates whether the
|
17
18
|
# specified Power BI Workspace Collection name is available to use.
|
18
19
|
attr_accessor :name_available
|
data/lib/generated/azure_mgmt_powerbi_embedded/models/create_workspace_collection_request.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Azure location
|
17
18
|
attr_accessor :location
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] The localized friendly form of the resource provider
|
17
18
|
# name. This form is also expected to include the publisher/company
|
18
19
|
# responsible. Use Title Casing. Begin with “Microsoft” for 1st party
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String]
|
17
18
|
attr_accessor :code
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String]
|
17
18
|
attr_accessor :code
|
18
19
|
|
data/lib/generated/azure_mgmt_powerbi_embedded/models/migrate_workspace_collection_request.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Name of the resource group the Power BI workspace
|
17
18
|
# collections will be migrated to.
|
18
19
|
attr_accessor :target_resource_group
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] The name of the operation being performed on this
|
17
18
|
# particular object. This name should match the action name that appears
|
18
19
|
# in RBAC / the event service.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Array<Operation>]
|
17
18
|
attr_accessor :value
|
18
19
|
|
data/lib/generated/azure_mgmt_powerbi_embedded/models/update_workspace_collection_request.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Hash{String => String}]
|
17
18
|
attr_accessor :tags
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Workspace id
|
17
18
|
attr_accessor :id
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Resource id
|
17
18
|
attr_accessor :id
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [AccessKeyName] Key name. Possible values include: 'key1',
|
17
18
|
# 'key2'
|
18
19
|
attr_accessor :key_name
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Access key 1
|
17
18
|
attr_accessor :key1
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Array<WorkspaceCollection>]
|
17
18
|
attr_accessor :value
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Array<Workspace>]
|
17
18
|
attr_accessor :value
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -164,7 +164,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
164
164
|
# Set Headers
|
165
165
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
166
166
|
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
167
|
-
path_template = '
|
167
|
+
path_template = 'providers/Microsoft.PowerBI/operations'
|
168
168
|
|
169
169
|
request_url = @base_url || self.base_url
|
170
170
|
|
@@ -190,8 +190,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
190
190
|
if status_code == 200
|
191
191
|
begin
|
192
192
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
193
|
-
result_mapper = OperationList.mapper()
|
194
|
-
result.body = self.deserialize(result_mapper, parsed_response
|
193
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::OperationList.mapper()
|
194
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
195
195
|
rescue Exception => e
|
196
196
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
197
197
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::PowerBiEmbedded
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.11.0'
|
8
8
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -9,7 +9,6 @@ module Azure::ARM::PowerBiEmbedded
|
|
9
9
|
# workspaces.
|
10
10
|
#
|
11
11
|
class WorkspaceCollections
|
12
|
-
include Azure::ARM::PowerBiEmbedded::Models
|
13
12
|
include MsRestAzure
|
14
13
|
|
15
14
|
#
|
@@ -77,7 +76,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
77
76
|
# Set Headers
|
78
77
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
79
78
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
80
|
-
path_template = '
|
79
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
81
80
|
|
82
81
|
request_url = @base_url || @client.base_url
|
83
82
|
|
@@ -104,8 +103,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
104
103
|
if status_code == 200
|
105
104
|
begin
|
106
105
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
107
|
-
result_mapper = WorkspaceCollection.mapper()
|
108
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
106
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollection.mapper()
|
107
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
109
108
|
rescue Exception => e
|
110
109
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
111
110
|
end
|
@@ -188,11 +187,11 @@ module Azure::ARM::PowerBiEmbedded
|
|
188
187
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
189
188
|
|
190
189
|
# Serialize Request
|
191
|
-
request_mapper = CreateWorkspaceCollectionRequest.mapper()
|
192
|
-
request_content = @client.serialize(request_mapper, body
|
190
|
+
request_mapper = Azure::ARM::PowerBiEmbedded::Models::CreateWorkspaceCollectionRequest.mapper()
|
191
|
+
request_content = @client.serialize(request_mapper, body)
|
193
192
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
194
193
|
|
195
|
-
path_template = '
|
194
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
196
195
|
|
197
196
|
request_url = @base_url || @client.base_url
|
198
197
|
|
@@ -220,8 +219,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
220
219
|
if status_code == 200
|
221
220
|
begin
|
222
221
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
223
|
-
result_mapper = WorkspaceCollection.mapper()
|
224
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
222
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollection.mapper()
|
223
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
225
224
|
rescue Exception => e
|
226
225
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
227
226
|
end
|
@@ -301,11 +300,11 @@ module Azure::ARM::PowerBiEmbedded
|
|
301
300
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
302
301
|
|
303
302
|
# Serialize Request
|
304
|
-
request_mapper = UpdateWorkspaceCollectionRequest.mapper()
|
305
|
-
request_content = @client.serialize(request_mapper, body
|
303
|
+
request_mapper = Azure::ARM::PowerBiEmbedded::Models::UpdateWorkspaceCollectionRequest.mapper()
|
304
|
+
request_content = @client.serialize(request_mapper, body)
|
306
305
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
307
306
|
|
308
|
-
path_template = '
|
307
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
309
308
|
|
310
309
|
request_url = @base_url || @client.base_url
|
311
310
|
|
@@ -333,8 +332,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
333
332
|
if status_code == 200
|
334
333
|
begin
|
335
334
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
336
|
-
result_mapper = WorkspaceCollection.mapper()
|
337
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
335
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollection.mapper()
|
336
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
338
337
|
rescue Exception => e
|
339
338
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
340
339
|
end
|
@@ -444,11 +443,11 @@ module Azure::ARM::PowerBiEmbedded
|
|
444
443
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
445
444
|
|
446
445
|
# Serialize Request
|
447
|
-
request_mapper = CheckNameRequest.mapper()
|
448
|
-
request_content = @client.serialize(request_mapper, body
|
446
|
+
request_mapper = Azure::ARM::PowerBiEmbedded::Models::CheckNameRequest.mapper()
|
447
|
+
request_content = @client.serialize(request_mapper, body)
|
449
448
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
450
449
|
|
451
|
-
path_template = '
|
450
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability'
|
452
451
|
|
453
452
|
request_url = @base_url || @client.base_url
|
454
453
|
|
@@ -476,8 +475,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
476
475
|
if status_code == 200
|
477
476
|
begin
|
478
477
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
479
|
-
result_mapper = CheckNameResponse.mapper()
|
480
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
478
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::CheckNameResponse.mapper()
|
479
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
481
480
|
rescue Exception => e
|
482
481
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
483
482
|
end
|
@@ -539,7 +538,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
539
538
|
# Set Headers
|
540
539
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
541
540
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
542
|
-
path_template = '
|
541
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections'
|
543
542
|
|
544
543
|
request_url = @base_url || @client.base_url
|
545
544
|
|
@@ -566,8 +565,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
566
565
|
if status_code == 200
|
567
566
|
begin
|
568
567
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
569
|
-
result_mapper = WorkspaceCollectionList.mapper()
|
570
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
568
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollectionList.mapper()
|
569
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
571
570
|
rescue Exception => e
|
572
571
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
573
572
|
end
|
@@ -625,7 +624,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
625
624
|
# Set Headers
|
626
625
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
627
626
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
628
|
-
path_template = '
|
627
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/workspaceCollections'
|
629
628
|
|
630
629
|
request_url = @base_url || @client.base_url
|
631
630
|
|
@@ -652,8 +651,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
652
651
|
if status_code == 200
|
653
652
|
begin
|
654
653
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
655
|
-
result_mapper = WorkspaceCollectionList.mapper()
|
656
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
654
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollectionList.mapper()
|
655
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
657
656
|
rescue Exception => e
|
658
657
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
659
658
|
end
|
@@ -722,7 +721,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
722
721
|
# Set Headers
|
723
722
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
724
723
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
725
|
-
path_template = '
|
724
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys'
|
726
725
|
|
727
726
|
request_url = @base_url || @client.base_url
|
728
727
|
|
@@ -749,8 +748,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
749
748
|
if status_code == 200
|
750
749
|
begin
|
751
750
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
752
|
-
result_mapper = WorkspaceCollectionAccessKeys.mapper()
|
753
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
751
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollectionAccessKeys.mapper()
|
752
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
754
753
|
rescue Exception => e
|
755
754
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
756
755
|
end
|
@@ -827,11 +826,11 @@ module Azure::ARM::PowerBiEmbedded
|
|
827
826
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
828
827
|
|
829
828
|
# Serialize Request
|
830
|
-
request_mapper = WorkspaceCollectionAccessKey.mapper()
|
831
|
-
request_content = @client.serialize(request_mapper, body
|
829
|
+
request_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollectionAccessKey.mapper()
|
830
|
+
request_content = @client.serialize(request_mapper, body)
|
832
831
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
833
832
|
|
834
|
-
path_template = '
|
833
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/regenerateKey'
|
835
834
|
|
836
835
|
request_url = @base_url || @client.base_url
|
837
836
|
|
@@ -859,8 +858,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
859
858
|
if status_code == 200
|
860
859
|
begin
|
861
860
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
862
|
-
result_mapper = WorkspaceCollectionAccessKeys.mapper()
|
863
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
861
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceCollectionAccessKeys.mapper()
|
862
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
864
863
|
rescue Exception => e
|
865
864
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
866
865
|
end
|
@@ -929,11 +928,11 @@ module Azure::ARM::PowerBiEmbedded
|
|
929
928
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
930
929
|
|
931
930
|
# Serialize Request
|
932
|
-
request_mapper = MigrateWorkspaceCollectionRequest.mapper()
|
933
|
-
request_content = @client.serialize(request_mapper, body
|
931
|
+
request_mapper = Azure::ARM::PowerBiEmbedded::Models::MigrateWorkspaceCollectionRequest.mapper()
|
932
|
+
request_content = @client.serialize(request_mapper, body)
|
934
933
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
935
934
|
|
936
|
-
path_template = '
|
935
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources'
|
937
936
|
|
938
937
|
request_url = @base_url || @client.base_url
|
939
938
|
|
@@ -1017,7 +1016,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
1017
1016
|
# Set Headers
|
1018
1017
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1019
1018
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1020
|
-
path_template = '
|
1019
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
1021
1020
|
|
1022
1021
|
request_url = @base_url || @client.base_url
|
1023
1022
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -9,7 +9,6 @@ module Azure::ARM::PowerBiEmbedded
|
|
9
9
|
# workspaces.
|
10
10
|
#
|
11
11
|
class Workspaces
|
12
|
-
include Azure::ARM::PowerBiEmbedded::Models
|
13
12
|
include MsRestAzure
|
14
13
|
|
15
14
|
#
|
@@ -80,7 +79,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
80
79
|
# Set Headers
|
81
80
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
82
81
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
83
|
-
path_template = '
|
82
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces'
|
84
83
|
|
85
84
|
request_url = @base_url || @client.base_url
|
86
85
|
|
@@ -107,8 +106,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
107
106
|
if status_code == 200
|
108
107
|
begin
|
109
108
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
110
|
-
result_mapper = WorkspaceList.mapper()
|
111
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
109
|
+
result_mapper = Azure::ARM::PowerBiEmbedded::Models::WorkspaceList.mapper()
|
110
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
112
111
|
rescue Exception => e
|
113
112
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
114
113
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_powerbi_embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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-
|
11
|
+
date: 2017-07-19 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.
|
75
|
+
version: 0.8.0
|
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.
|
82
|
+
version: 0.8.0
|
83
83
|
description: Microsoft Azure Power BI Embedded Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|