def regenerate_key(resource_group_name, workspace_collection_name, body, custom_headers:nil)
      response = regenerate_key_async(resource_group_name, workspace_collection_name, body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def regenerate_key(resource_group_name, workspace_collection_name, body, custom_headers:nil)
      response = regenerate_key_async(resource_group_name, workspace_collection_name, body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Regenerates the primary or secondary access key for the specified Power BI
 Workspace Collection.

 @param resource_group_name [String] Azure resource group
 @param workspace_collection_name [String] Power BI Embedded Workspace
 Collection name
 @param body [WorkspaceCollectionAccessKey] Access key to regenerate
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [WorkspaceCollectionAccessKeys] operation results.