azure_mgmt_powerbi_embedded 0.7.0 → 0.8.0
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 +4 -4
- data/lib/generated/azure_mgmt_powerbi_embedded.rb +9 -9
- 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 +3 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/models/create_workspace_collection_request.rb +3 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/models/display.rb +17 -16
- 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 +4 -3
- data/lib/generated/azure_mgmt_powerbi_embedded/models/operation.rb +4 -3
- 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 +3 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace.rb +2 -1
- data/lib/generated/azure_mgmt_powerbi_embedded/models/workspace_collection.rb +3 -2
- 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 +15 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/version.rb +2 -2
- data/lib/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb +137 -140
- data/lib/generated/azure_mgmt_powerbi_embedded/workspaces.rb +14 -14
- 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: 75b5fa625e7e4c8a30db51e07b252e974913282b
|
|
4
|
+
data.tar.gz: 41acf50d8b38e147eb4d8f47f24840c4f6b25a6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df7aab29087d3d1e5c3c84c96e8354ce0ab8acf6d002d60104a8d1779d6d951ccd335a9fcddd689e43246011dac3b1f7a467ba343bd1da7a5ef96b58ce92e294
|
|
7
|
+
data.tar.gz: 317111207322c7f8dbca637dfd6f8a60393075f41bd81df25a7338d5f86a83539ad113da4309a87e99f85b5c3658f90aca64394bac13bef28070796bc9e57eee
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -25,23 +25,23 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
25
25
|
autoload :PowerBIEmbeddedManagementClient, 'generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb'
|
|
26
26
|
|
|
27
27
|
module Models
|
|
28
|
-
autoload :Error, 'generated/azure_mgmt_powerbi_embedded/models/error.rb'
|
|
29
|
-
autoload :ErrorDetail, 'generated/azure_mgmt_powerbi_embedded/models/error_detail.rb'
|
|
30
|
-
autoload :WorkspaceCollectionList, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection_list.rb'
|
|
31
|
-
autoload :WorkspaceCollection, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection.rb'
|
|
32
|
-
autoload :AzureSku, 'generated/azure_mgmt_powerbi_embedded/models/azure_sku.rb'
|
|
33
|
-
autoload :WorkspaceList, 'generated/azure_mgmt_powerbi_embedded/models/workspace_list.rb'
|
|
34
|
-
autoload :Workspace, 'generated/azure_mgmt_powerbi_embedded/models/workspace.rb'
|
|
35
|
-
autoload :OperationList, 'generated/azure_mgmt_powerbi_embedded/models/operation_list.rb'
|
|
36
28
|
autoload :Operation, 'generated/azure_mgmt_powerbi_embedded/models/operation.rb'
|
|
37
29
|
autoload :Display, 'generated/azure_mgmt_powerbi_embedded/models/display.rb'
|
|
30
|
+
autoload :ErrorDetail, 'generated/azure_mgmt_powerbi_embedded/models/error_detail.rb'
|
|
38
31
|
autoload :WorkspaceCollectionAccessKeys, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_keys.rb'
|
|
32
|
+
autoload :WorkspaceCollection, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection.rb'
|
|
39
33
|
autoload :WorkspaceCollectionAccessKey, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_key.rb'
|
|
34
|
+
autoload :WorkspaceList, 'generated/azure_mgmt_powerbi_embedded/models/workspace_list.rb'
|
|
40
35
|
autoload :CreateWorkspaceCollectionRequest, 'generated/azure_mgmt_powerbi_embedded/models/create_workspace_collection_request.rb'
|
|
36
|
+
autoload :OperationList, 'generated/azure_mgmt_powerbi_embedded/models/operation_list.rb'
|
|
41
37
|
autoload :UpdateWorkspaceCollectionRequest, 'generated/azure_mgmt_powerbi_embedded/models/update_workspace_collection_request.rb'
|
|
38
|
+
autoload :WorkspaceCollectionList, 'generated/azure_mgmt_powerbi_embedded/models/workspace_collection_list.rb'
|
|
42
39
|
autoload :CheckNameRequest, 'generated/azure_mgmt_powerbi_embedded/models/check_name_request.rb'
|
|
40
|
+
autoload :Workspace, 'generated/azure_mgmt_powerbi_embedded/models/workspace.rb'
|
|
43
41
|
autoload :CheckNameResponse, 'generated/azure_mgmt_powerbi_embedded/models/check_name_response.rb'
|
|
42
|
+
autoload :AzureSku, 'generated/azure_mgmt_powerbi_embedded/models/azure_sku.rb'
|
|
44
43
|
autoload :MigrateWorkspaceCollectionRequest, 'generated/azure_mgmt_powerbi_embedded/models/migrate_workspace_collection_request.rb'
|
|
44
|
+
autoload :Error, 'generated/azure_mgmt_powerbi_embedded/models/error.rb'
|
|
45
45
|
autoload :AccessKeyName, 'generated/azure_mgmt_powerbi_embedded/models/access_key_name.rb'
|
|
46
46
|
autoload :CheckNameReason, 'generated/azure_mgmt_powerbi_embedded/models/check_name_reason.rb'
|
|
47
47
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class AzureSku
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class CheckNameRequest
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class CheckNameResponse
|
|
12
13
|
|
|
@@ -21,7 +22,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
21
22
|
attr_accessor :reason
|
|
22
23
|
|
|
23
24
|
# @return [String] Message indicating an unavailable name due to a
|
|
24
|
-
# conflict or a description of the naming rules that are violated.
|
|
25
|
+
# conflict, or a description of the naming rules that are violated.
|
|
25
26
|
attr_accessor :message
|
|
26
27
|
|
|
27
28
|
|
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 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class CreateWorkspaceCollectionRequest
|
|
12
13
|
|
|
@@ -18,7 +19,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
18
19
|
# @return [Hash{String => String}]
|
|
19
20
|
attr_accessor :tags
|
|
20
21
|
|
|
21
|
-
# @return [AzureSku]
|
|
22
|
+
# @return [AzureSku] . Default value: {} .
|
|
22
23
|
attr_accessor :sku
|
|
23
24
|
|
|
24
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,37 +7,38 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class Display
|
|
12
13
|
|
|
13
14
|
include MsRestAzure
|
|
14
15
|
|
|
15
16
|
# @return [String] The localized friendly form of the resource provider
|
|
16
|
-
# name
|
|
17
|
-
# responsible.
|
|
18
|
-
#
|
|
17
|
+
# name. This form is also expected to include the publisher/company
|
|
18
|
+
# responsible. Use Title Casing. Begin with “Microsoft” for 1st party
|
|
19
|
+
# services.
|
|
19
20
|
attr_accessor :provider
|
|
20
21
|
|
|
21
22
|
# @return [String] The localized friendly form of the resource type
|
|
22
|
-
# related to this action/operation
|
|
23
|
-
# documentation for the resource provider.
|
|
24
|
-
#
|
|
23
|
+
# related to this action/operation. This form should match the public
|
|
24
|
+
# documentation for the resource provider. Use Title Casing. For
|
|
25
|
+
# examples, refer to the “name” section.
|
|
25
26
|
attr_accessor :resource
|
|
26
27
|
|
|
27
|
-
# @return [String] The localized friendly name for the operation
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
28
|
+
# @return [String] The localized friendly name for the operation as shown
|
|
29
|
+
# to the user. This name should be concise (to fit in drop downs), but
|
|
30
|
+
# clear (self-documenting). Use Title Casing and include the
|
|
31
|
+
# entity/resource to which it applies.
|
|
31
32
|
attr_accessor :operation
|
|
32
33
|
|
|
33
|
-
# @return [String] The localized friendly description for the operation
|
|
34
|
-
# as
|
|
35
|
-
#
|
|
34
|
+
# @return [String] The localized friendly description for the operation
|
|
35
|
+
# as shown to the user. This description should be thorough, yet concise.
|
|
36
|
+
# It will be used in tool-tips and detailed views.
|
|
36
37
|
attr_accessor :description
|
|
37
38
|
|
|
38
39
|
# @return [String] The intended executor of the operation; governs the
|
|
39
|
-
# display of the operation in the RBAC UX and the audit logs UX.
|
|
40
|
-
#
|
|
40
|
+
# display of the operation in the RBAC UX and the audit logs UX. Default
|
|
41
|
+
# value is 'user,system'
|
|
41
42
|
attr_accessor :origin
|
|
42
43
|
|
|
43
44
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class Error
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class ErrorDetail
|
|
12
13
|
|
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 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,13 +7,14 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class MigrateWorkspaceCollectionRequest
|
|
12
13
|
|
|
13
14
|
include MsRestAzure
|
|
14
15
|
|
|
15
|
-
# @return [String] Name of the resource group
|
|
16
|
-
#
|
|
16
|
+
# @return [String] Name of the resource group the Power BI workspace
|
|
17
|
+
# collections will be migrated to.
|
|
17
18
|
attr_accessor :target_resource_group
|
|
18
19
|
|
|
19
20
|
# @return [Array<String>]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,14 +7,15 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class Operation
|
|
12
13
|
|
|
13
14
|
include MsRestAzure
|
|
14
15
|
|
|
15
16
|
# @return [String] The name of the operation being performed on this
|
|
16
|
-
# particular object.
|
|
17
|
-
# RBAC / the event service.
|
|
17
|
+
# particular object. This name should match the action name that appears
|
|
18
|
+
# in RBAC / the event service.
|
|
18
19
|
attr_accessor :name
|
|
19
20
|
|
|
20
21
|
# @return [Display]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class OperationList
|
|
12
13
|
|
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 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class UpdateWorkspaceCollectionRequest
|
|
12
13
|
|
|
@@ -15,7 +16,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
15
16
|
# @return [Hash{String => String}]
|
|
16
17
|
attr_accessor :tags
|
|
17
18
|
|
|
18
|
-
# @return [AzureSku]
|
|
19
|
+
# @return [AzureSku] . Default value: {} .
|
|
19
20
|
attr_accessor :sku
|
|
20
21
|
|
|
21
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class Workspace
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class WorkspaceCollection
|
|
12
13
|
|
|
@@ -27,7 +28,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
27
28
|
# @return [Hash{String => String}]
|
|
28
29
|
attr_accessor :tags
|
|
29
30
|
|
|
30
|
-
# @return [AzureSku]
|
|
31
|
+
# @return [AzureSku] . Default value: {} .
|
|
31
32
|
attr_accessor :sku
|
|
32
33
|
|
|
33
34
|
# @return Properties
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class WorkspaceCollectionAccessKey
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class WorkspaceCollectionAccessKeys
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class WorkspaceCollectionList
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -7,6 +7,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Model object.
|
|
10
|
+
#
|
|
10
11
|
#
|
|
11
12
|
class WorkspaceList
|
|
12
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
17
17
|
# @return Credentials needed for the client to connect to Azure.
|
|
18
18
|
attr_reader :credentials
|
|
19
19
|
|
|
20
|
-
# @return [String] Gets subscription credentials which uniquely identify
|
|
20
|
+
# @return [String] Gets subscription credentials which uniquely identify a
|
|
21
21
|
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
|
22
22
|
# for every service call.
|
|
23
23
|
attr_accessor :subscription_id
|
|
@@ -62,6 +62,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
62
62
|
@accept_language = 'en-US'
|
|
63
63
|
@long_running_operation_retry_timeout = 30
|
|
64
64
|
@generate_client_request_id = true
|
|
65
|
+
add_telemetry
|
|
65
66
|
end
|
|
66
67
|
|
|
67
68
|
#
|
|
@@ -203,5 +204,17 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
203
204
|
promise.execute
|
|
204
205
|
end
|
|
205
206
|
|
|
207
|
+
|
|
208
|
+
private
|
|
209
|
+
#
|
|
210
|
+
# Adds telemetry information.
|
|
211
|
+
#
|
|
212
|
+
def add_telemetry
|
|
213
|
+
sdk_information = 'azure_mgmt_powerbi_embedded'
|
|
214
|
+
if defined? Azure::ARM::PowerBiEmbedded::VERSION
|
|
215
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::PowerBiEmbedded::VERSION}"
|
|
216
|
+
end
|
|
217
|
+
add_user_agent_information(sdk_information)
|
|
218
|
+
end
|
|
206
219
|
end
|
|
207
220
|
end
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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.8.0'
|
|
8
8
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
7
|
#
|
|
8
|
-
# Client to manage your Power BI
|
|
8
|
+
# Client to manage your Power BI Embedded workspace collections and retrieve
|
|
9
9
|
# workspaces.
|
|
10
10
|
#
|
|
11
11
|
class WorkspaceCollections
|
|
@@ -27,8 +27,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
27
27
|
# Retrieves an existing Power BI Workspace Collection.
|
|
28
28
|
#
|
|
29
29
|
# @param resource_group_name [String] Azure resource group
|
|
30
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
31
|
-
#
|
|
30
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
31
|
+
# Collection name
|
|
32
32
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
33
33
|
# will be added to the HTTP request.
|
|
34
34
|
#
|
|
@@ -43,8 +43,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
43
43
|
# Retrieves an existing Power BI Workspace Collection.
|
|
44
44
|
#
|
|
45
45
|
# @param resource_group_name [String] Azure resource group
|
|
46
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
47
|
-
#
|
|
46
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
47
|
+
# Collection name
|
|
48
48
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
49
49
|
# will be added to the HTTP request.
|
|
50
50
|
#
|
|
@@ -58,8 +58,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
58
58
|
# Retrieves an existing Power BI Workspace Collection.
|
|
59
59
|
#
|
|
60
60
|
# @param resource_group_name [String] Azure resource group
|
|
61
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
62
|
-
#
|
|
61
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
62
|
+
# Collection name
|
|
63
63
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
64
64
|
# to the HTTP request.
|
|
65
65
|
#
|
|
@@ -119,13 +119,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
119
119
|
|
|
120
120
|
#
|
|
121
121
|
# Creates a new Power BI Workspace Collection with the specified properties. A
|
|
122
|
-
# Power BI Workspace Collection contains one or more
|
|
123
|
-
#
|
|
124
|
-
# Workspaces.
|
|
122
|
+
# Power BI Workspace Collection contains one or more workspaces, and can be
|
|
123
|
+
# used to provision keys that provide API access to those workspaces.
|
|
125
124
|
#
|
|
126
125
|
# @param resource_group_name [String] Azure resource group
|
|
127
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
128
|
-
#
|
|
126
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
127
|
+
# Collection name
|
|
129
128
|
# @param body [CreateWorkspaceCollectionRequest] Create workspace collection
|
|
130
129
|
# request
|
|
131
130
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -140,13 +139,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
140
139
|
|
|
141
140
|
#
|
|
142
141
|
# Creates a new Power BI Workspace Collection with the specified properties. A
|
|
143
|
-
# Power BI Workspace Collection contains one or more
|
|
144
|
-
#
|
|
145
|
-
# Workspaces.
|
|
142
|
+
# Power BI Workspace Collection contains one or more workspaces, and can be
|
|
143
|
+
# used to provision keys that provide API access to those workspaces.
|
|
146
144
|
#
|
|
147
145
|
# @param resource_group_name [String] Azure resource group
|
|
148
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
149
|
-
#
|
|
146
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
147
|
+
# Collection name
|
|
150
148
|
# @param body [CreateWorkspaceCollectionRequest] Create workspace collection
|
|
151
149
|
# request
|
|
152
150
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -160,13 +158,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
160
158
|
|
|
161
159
|
#
|
|
162
160
|
# Creates a new Power BI Workspace Collection with the specified properties. A
|
|
163
|
-
# Power BI Workspace Collection contains one or more
|
|
164
|
-
#
|
|
165
|
-
# Workspaces.
|
|
161
|
+
# Power BI Workspace Collection contains one or more workspaces, and can be
|
|
162
|
+
# used to provision keys that provide API access to those workspaces.
|
|
166
163
|
#
|
|
167
164
|
# @param resource_group_name [String] Azure resource group
|
|
168
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
169
|
-
#
|
|
165
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
166
|
+
# Collection name
|
|
170
167
|
# @param body [CreateWorkspaceCollectionRequest] Create workspace collection
|
|
171
168
|
# request
|
|
172
169
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -241,8 +238,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
241
238
|
# properties.
|
|
242
239
|
#
|
|
243
240
|
# @param resource_group_name [String] Azure resource group
|
|
244
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
245
|
-
#
|
|
241
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
242
|
+
# Collection name
|
|
246
243
|
# @param body [UpdateWorkspaceCollectionRequest] Update workspace collection
|
|
247
244
|
# request
|
|
248
245
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -260,8 +257,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
260
257
|
# properties.
|
|
261
258
|
#
|
|
262
259
|
# @param resource_group_name [String] Azure resource group
|
|
263
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
264
|
-
#
|
|
260
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
261
|
+
# Collection name
|
|
265
262
|
# @param body [UpdateWorkspaceCollectionRequest] Update workspace collection
|
|
266
263
|
# request
|
|
267
264
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -278,8 +275,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
278
275
|
# properties.
|
|
279
276
|
#
|
|
280
277
|
# @param resource_group_name [String] Azure resource group
|
|
281
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
282
|
-
#
|
|
278
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
279
|
+
# Collection name
|
|
283
280
|
# @param body [UpdateWorkspaceCollectionRequest] Update workspace collection
|
|
284
281
|
# request
|
|
285
282
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -353,8 +350,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
353
350
|
# Delete a Power BI Workspace Collection.
|
|
354
351
|
#
|
|
355
352
|
# @param resource_group_name [String] Azure resource group
|
|
356
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
357
|
-
#
|
|
353
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
354
|
+
# Collection name
|
|
358
355
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
359
356
|
# will be added to the HTTP request.
|
|
360
357
|
#
|
|
@@ -365,8 +362,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
365
362
|
|
|
366
363
|
#
|
|
367
364
|
# @param resource_group_name [String] Azure resource group
|
|
368
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
369
|
-
#
|
|
365
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
366
|
+
# Collection name
|
|
370
367
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
371
368
|
# will be added to the HTTP request.
|
|
372
369
|
#
|
|
@@ -390,91 +387,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
390
387
|
end
|
|
391
388
|
|
|
392
389
|
#
|
|
393
|
-
#
|
|
394
|
-
#
|
|
395
|
-
# @param resource_group_name [String] Azure resource group
|
|
396
|
-
# @param workspace_collection_name [String] Power BI Embedded workspace
|
|
397
|
-
# collection name
|
|
398
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
399
|
-
# will be added to the HTTP request.
|
|
400
|
-
#
|
|
401
|
-
#
|
|
402
|
-
def begin_delete(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
403
|
-
response = begin_delete_async(resource_group_name, workspace_collection_name, custom_headers).value!
|
|
404
|
-
nil
|
|
405
|
-
end
|
|
406
|
-
|
|
407
|
-
#
|
|
408
|
-
# Delete a Power BI Workspace Collection.
|
|
409
|
-
#
|
|
410
|
-
# @param resource_group_name [String] Azure resource group
|
|
411
|
-
# @param workspace_collection_name [String] Power BI Embedded workspace
|
|
412
|
-
# collection name
|
|
413
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
414
|
-
# will be added to the HTTP request.
|
|
415
|
-
#
|
|
416
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
417
|
-
#
|
|
418
|
-
def begin_delete_with_http_info(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
419
|
-
begin_delete_async(resource_group_name, workspace_collection_name, custom_headers).value!
|
|
420
|
-
end
|
|
421
|
-
|
|
422
|
-
#
|
|
423
|
-
# Delete a Power BI Workspace Collection.
|
|
424
|
-
#
|
|
425
|
-
# @param resource_group_name [String] Azure resource group
|
|
426
|
-
# @param workspace_collection_name [String] Power BI Embedded workspace
|
|
427
|
-
# collection name
|
|
428
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
429
|
-
# to the HTTP request.
|
|
430
|
-
#
|
|
431
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
432
|
-
#
|
|
433
|
-
def begin_delete_async(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
434
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
435
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
|
436
|
-
fail ArgumentError, 'workspace_collection_name is nil' if workspace_collection_name.nil?
|
|
437
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
request_headers = {}
|
|
441
|
-
|
|
442
|
-
# Set Headers
|
|
443
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
444
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
445
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
|
446
|
-
|
|
447
|
-
request_url = @base_url || @client.base_url
|
|
448
|
-
|
|
449
|
-
options = {
|
|
450
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
451
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceCollectionName' => workspace_collection_name},
|
|
452
|
-
query_params: {'api-version' => @client.api_version},
|
|
453
|
-
headers: request_headers.merge(custom_headers || {}),
|
|
454
|
-
base_url: request_url
|
|
455
|
-
}
|
|
456
|
-
promise = @client.make_request_async(:delete, path_template, options)
|
|
457
|
-
|
|
458
|
-
promise = promise.then do |result|
|
|
459
|
-
http_response = result.response
|
|
460
|
-
status_code = http_response.status
|
|
461
|
-
response_content = http_response.body
|
|
462
|
-
unless status_code == 202
|
|
463
|
-
error_model = JSON.load(response_content)
|
|
464
|
-
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
|
465
|
-
end
|
|
466
|
-
|
|
467
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
468
|
-
|
|
469
|
-
result
|
|
470
|
-
end
|
|
471
|
-
|
|
472
|
-
promise.execute
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
#
|
|
476
|
-
# Check that the specified Power BI Workspace Collection name is valid and not
|
|
477
|
-
# in use.
|
|
390
|
+
# Verify the specified Power BI Workspace Collection name is valid and not
|
|
391
|
+
# already in use.
|
|
478
392
|
#
|
|
479
393
|
# @param location [String] Azure location
|
|
480
394
|
# @param body [CheckNameRequest] Check name availability request
|
|
@@ -489,8 +403,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
489
403
|
end
|
|
490
404
|
|
|
491
405
|
#
|
|
492
|
-
#
|
|
493
|
-
# in use.
|
|
406
|
+
# Verify the specified Power BI Workspace Collection name is valid and not
|
|
407
|
+
# already in use.
|
|
494
408
|
#
|
|
495
409
|
# @param location [String] Azure location
|
|
496
410
|
# @param body [CheckNameRequest] Check name availability request
|
|
@@ -504,8 +418,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
504
418
|
end
|
|
505
419
|
|
|
506
420
|
#
|
|
507
|
-
#
|
|
508
|
-
# in use.
|
|
421
|
+
# Verify the specified Power BI Workspace Collection name is valid and not
|
|
422
|
+
# already in use.
|
|
509
423
|
#
|
|
510
424
|
# @param location [String] Azure location
|
|
511
425
|
# @param body [CheckNameRequest] Check name availability request
|
|
@@ -576,7 +490,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
576
490
|
end
|
|
577
491
|
|
|
578
492
|
#
|
|
579
|
-
# Retrieves all existing Power BI
|
|
493
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
580
494
|
# resource group.
|
|
581
495
|
#
|
|
582
496
|
# @param resource_group_name [String] Azure resource group
|
|
@@ -591,7 +505,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
591
505
|
end
|
|
592
506
|
|
|
593
507
|
#
|
|
594
|
-
# Retrieves all existing Power BI
|
|
508
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
595
509
|
# resource group.
|
|
596
510
|
#
|
|
597
511
|
# @param resource_group_name [String] Azure resource group
|
|
@@ -605,7 +519,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
605
519
|
end
|
|
606
520
|
|
|
607
521
|
#
|
|
608
|
-
# Retrieves all existing Power BI
|
|
522
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
609
523
|
# resource group.
|
|
610
524
|
#
|
|
611
525
|
# @param resource_group_name [String] Azure resource group
|
|
@@ -666,7 +580,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
666
580
|
end
|
|
667
581
|
|
|
668
582
|
#
|
|
669
|
-
# Retrieves all existing Power BI
|
|
583
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
670
584
|
# subscription.
|
|
671
585
|
#
|
|
672
586
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -680,7 +594,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
680
594
|
end
|
|
681
595
|
|
|
682
596
|
#
|
|
683
|
-
# Retrieves all existing Power BI
|
|
597
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
684
598
|
# subscription.
|
|
685
599
|
#
|
|
686
600
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -693,7 +607,7 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
693
607
|
end
|
|
694
608
|
|
|
695
609
|
#
|
|
696
|
-
# Retrieves all existing Power BI
|
|
610
|
+
# Retrieves all existing Power BI workspace collections in the specified
|
|
697
611
|
# subscription.
|
|
698
612
|
#
|
|
699
613
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -756,8 +670,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
756
670
|
# Workspace Collection.
|
|
757
671
|
#
|
|
758
672
|
# @param resource_group_name [String] Azure resource group
|
|
759
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
760
|
-
#
|
|
673
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
674
|
+
# Collection name
|
|
761
675
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
762
676
|
# will be added to the HTTP request.
|
|
763
677
|
#
|
|
@@ -773,8 +687,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
773
687
|
# Workspace Collection.
|
|
774
688
|
#
|
|
775
689
|
# @param resource_group_name [String] Azure resource group
|
|
776
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
777
|
-
#
|
|
690
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
691
|
+
# Collection name
|
|
778
692
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
779
693
|
# will be added to the HTTP request.
|
|
780
694
|
#
|
|
@@ -789,8 +703,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
789
703
|
# Workspace Collection.
|
|
790
704
|
#
|
|
791
705
|
# @param resource_group_name [String] Azure resource group
|
|
792
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
793
|
-
#
|
|
706
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
707
|
+
# Collection name
|
|
794
708
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
795
709
|
# to the HTTP request.
|
|
796
710
|
#
|
|
@@ -853,8 +767,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
853
767
|
# Workspace Collection.
|
|
854
768
|
#
|
|
855
769
|
# @param resource_group_name [String] Azure resource group
|
|
856
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
857
|
-
#
|
|
770
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
771
|
+
# Collection name
|
|
858
772
|
# @param body [WorkspaceCollectionAccessKey] Access key to regenerate
|
|
859
773
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
860
774
|
# will be added to the HTTP request.
|
|
@@ -871,8 +785,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
871
785
|
# Workspace Collection.
|
|
872
786
|
#
|
|
873
787
|
# @param resource_group_name [String] Azure resource group
|
|
874
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
875
|
-
#
|
|
788
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
789
|
+
# Collection name
|
|
876
790
|
# @param body [WorkspaceCollectionAccessKey] Access key to regenerate
|
|
877
791
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
878
792
|
# will be added to the HTTP request.
|
|
@@ -888,8 +802,8 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
888
802
|
# Workspace Collection.
|
|
889
803
|
#
|
|
890
804
|
# @param resource_group_name [String] Azure resource group
|
|
891
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
892
|
-
#
|
|
805
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
806
|
+
# Collection name
|
|
893
807
|
# @param body [WorkspaceCollectionAccessKey] Access key to regenerate
|
|
894
808
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
895
809
|
# to the HTTP request.
|
|
@@ -1050,5 +964,88 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
1050
964
|
promise.execute
|
|
1051
965
|
end
|
|
1052
966
|
|
|
967
|
+
#
|
|
968
|
+
# Delete a Power BI Workspace Collection.
|
|
969
|
+
#
|
|
970
|
+
# @param resource_group_name [String] Azure resource group
|
|
971
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
972
|
+
# Collection name
|
|
973
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
974
|
+
# will be added to the HTTP request.
|
|
975
|
+
#
|
|
976
|
+
#
|
|
977
|
+
def begin_delete(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
978
|
+
response = begin_delete_async(resource_group_name, workspace_collection_name, custom_headers).value!
|
|
979
|
+
nil
|
|
980
|
+
end
|
|
981
|
+
|
|
982
|
+
#
|
|
983
|
+
# Delete a Power BI Workspace Collection.
|
|
984
|
+
#
|
|
985
|
+
# @param resource_group_name [String] Azure resource group
|
|
986
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
987
|
+
# Collection name
|
|
988
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
989
|
+
# will be added to the HTTP request.
|
|
990
|
+
#
|
|
991
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
992
|
+
#
|
|
993
|
+
def begin_delete_with_http_info(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
994
|
+
begin_delete_async(resource_group_name, workspace_collection_name, custom_headers).value!
|
|
995
|
+
end
|
|
996
|
+
|
|
997
|
+
#
|
|
998
|
+
# Delete a Power BI Workspace Collection.
|
|
999
|
+
#
|
|
1000
|
+
# @param resource_group_name [String] Azure resource group
|
|
1001
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
1002
|
+
# Collection name
|
|
1003
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
1004
|
+
# to the HTTP request.
|
|
1005
|
+
#
|
|
1006
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
1007
|
+
#
|
|
1008
|
+
def begin_delete_async(resource_group_name, workspace_collection_name, custom_headers = nil)
|
|
1009
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
1010
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
|
1011
|
+
fail ArgumentError, 'workspace_collection_name is nil' if workspace_collection_name.nil?
|
|
1012
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
request_headers = {}
|
|
1016
|
+
|
|
1017
|
+
# Set Headers
|
|
1018
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
1019
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
1020
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}'
|
|
1021
|
+
|
|
1022
|
+
request_url = @base_url || @client.base_url
|
|
1023
|
+
|
|
1024
|
+
options = {
|
|
1025
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
1026
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceCollectionName' => workspace_collection_name},
|
|
1027
|
+
query_params: {'api-version' => @client.api_version},
|
|
1028
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
1029
|
+
base_url: request_url
|
|
1030
|
+
}
|
|
1031
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
|
1032
|
+
|
|
1033
|
+
promise = promise.then do |result|
|
|
1034
|
+
http_response = result.response
|
|
1035
|
+
status_code = http_response.status
|
|
1036
|
+
response_content = http_response.body
|
|
1037
|
+
unless status_code == 202
|
|
1038
|
+
error_model = JSON.load(response_content)
|
|
1039
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
1043
|
+
|
|
1044
|
+
result
|
|
1045
|
+
end
|
|
1046
|
+
|
|
1047
|
+
promise.execute
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1053
1050
|
end
|
|
1054
1051
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
7
|
#
|
|
8
|
-
# Client to manage your Power BI
|
|
8
|
+
# Client to manage your Power BI Embedded workspace collections and retrieve
|
|
9
9
|
# workspaces.
|
|
10
10
|
#
|
|
11
11
|
class Workspaces
|
|
@@ -24,12 +24,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
24
24
|
attr_reader :client
|
|
25
25
|
|
|
26
26
|
#
|
|
27
|
-
# Retrieves all existing Power BI
|
|
28
|
-
#
|
|
27
|
+
# Retrieves all existing Power BI workspaces in the specified workspace
|
|
28
|
+
# collection.
|
|
29
29
|
#
|
|
30
30
|
# @param resource_group_name [String] Azure resource group
|
|
31
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
32
|
-
#
|
|
31
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
32
|
+
# Collection name
|
|
33
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
34
34
|
# will be added to the HTTP request.
|
|
35
35
|
#
|
|
@@ -41,12 +41,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
#
|
|
44
|
-
# Retrieves all existing Power BI
|
|
45
|
-
#
|
|
44
|
+
# Retrieves all existing Power BI workspaces in the specified workspace
|
|
45
|
+
# collection.
|
|
46
46
|
#
|
|
47
47
|
# @param resource_group_name [String] Azure resource group
|
|
48
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
49
|
-
#
|
|
48
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
49
|
+
# Collection name
|
|
50
50
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
51
51
|
# will be added to the HTTP request.
|
|
52
52
|
#
|
|
@@ -57,12 +57,12 @@ module Azure::ARM::PowerBiEmbedded
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
#
|
|
60
|
-
# Retrieves all existing Power BI
|
|
61
|
-
#
|
|
60
|
+
# Retrieves all existing Power BI workspaces in the specified workspace
|
|
61
|
+
# collection.
|
|
62
62
|
#
|
|
63
63
|
# @param resource_group_name [String] Azure resource group
|
|
64
|
-
# @param workspace_collection_name [String] Power BI Embedded
|
|
65
|
-
#
|
|
64
|
+
# @param workspace_collection_name [String] Power BI Embedded Workspace
|
|
65
|
+
# Collection name
|
|
66
66
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
67
67
|
# to the HTTP request.
|
|
68
68
|
#
|
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.8.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: 2016-
|
|
11
|
+
date: 2016-11-16 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.6.
|
|
75
|
+
version: 0.6.2
|
|
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.6.
|
|
82
|
+
version: 0.6.2
|
|
83
83
|
description: Microsoft Azure Power BI Embedded Management Client Library for Ruby
|
|
84
84
|
email: azrubyteam@microsoft.com
|
|
85
85
|
executables: []
|