WorkspaceCollectionsOperations Class
WorkspaceCollectionsOperations operations.
- Inheritance
-
builtins.objectWorkspaceCollectionsOperations
Constructor
WorkspaceCollectionsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
Client Api Version. Constant value: "2016-01-29".
Methods
| check_name_availability |
Verify the specified Power BI Workspace Collection name is valid and not already in use. |
| create |
Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces. |
| delete |
Delete a Power BI Workspace Collection. |
| get_access_keys |
Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection. |
| get_by_name |
Retrieves an existing Power BI Workspace Collection. |
| list_by_resource_group |
Retrieves all existing Power BI workspace collections in the specified resource group. |
| list_by_subscription |
Retrieves all existing Power BI workspace collections in the specified subscription. |
| migrate |
Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription. |
| regenerate_key |
Regenerates the primary or secondary access key for the specified Power BI Workspace Collection. |
| update |
Update an existing Power BI Workspace Collection with the specified properties. |
check_name_availability
Verify the specified Power BI Workspace Collection name is valid and not already in use.
check_name_availability(location, name=None, type='Microsoft.PowerBI/workspaceCollections', custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
CheckNameResponse or ClientRawResponse if raw=true
Return type
Exceptions
create
Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces.
create(resource_group_name, workspace_collection_name, location=None, tags=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
WorkspaceCollection or ClientRawResponse if raw=true
Return type
Exceptions
delete
Delete a Power BI Workspace Collection.
delete(resource_group_name, workspace_collection_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
get_access_keys
Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.
get_access_keys(resource_group_name, workspace_collection_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
WorkspaceCollectionAccessKeys or ClientRawResponse if raw=true
Return type
Exceptions
get_by_name
Retrieves an existing Power BI Workspace Collection.
get_by_name(resource_group_name, workspace_collection_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
WorkspaceCollection or ClientRawResponse if raw=true
Return type
Exceptions
list_by_resource_group
Retrieves all existing Power BI workspace collections in the specified resource group.
list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of WorkspaceCollection
Return type
Exceptions
list_by_subscription
Retrieves all existing Power BI workspace collections in the specified subscription.
list_by_subscription(custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of WorkspaceCollection
Return type
Exceptions
migrate
Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription.
migrate(resource_group_name, target_resource_group=None, resources=None, custom_headers=None, raw=False, **operation_config)
Parameters
- target_resource_group
- str
Name of the resource group the Power BI workspace collections will be migrated to.
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
regenerate_key
Regenerates the primary or secondary access key for the specified Power BI Workspace Collection.
regenerate_key(resource_group_name, workspace_collection_name, key_name=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
WorkspaceCollectionAccessKeys or ClientRawResponse if raw=true
Return type
Exceptions
update
Update an existing Power BI Workspace Collection with the specified properties.
update(resource_group_name, workspace_collection_name, tags=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
WorkspaceCollection or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.powerbiembedded.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\powerbiembedded\\models\\__init__.py'>
Feedback
Submit and view feedback for