armpowerbiembedded

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 14 Imported by: 0

README

Azure Power BI Embedded Module for Go

PkgGoDev

The armpowerbiembedded module provides operations for working with Azure Power BI Embedded.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Power BI Embedded module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/powerbiembedded/armpowerbiembedded

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Power BI Embedded. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Clients

Azure Power BI Embedded modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.

client := armpowerbiembedded.NewWorkspaceCollectionsClient(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options = arm.ClientOptions{
    Host: arm.AzureChina,
}
client := armpowerbiembedded.NewWorkspaceCollectionsClient(<subscription ID>, cred, &options)

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Power BI Embedded label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKeyName

type AccessKeyName string

AccessKeyName - Key name

const (
	AccessKeyNameKey1 AccessKeyName = "key1"
	AccessKeyNameKey2 AccessKeyName = "key2"
)

func PossibleAccessKeyNameValues

func PossibleAccessKeyNameValues() []AccessKeyName

PossibleAccessKeyNameValues returns the possible values for the AccessKeyName const type.

func (AccessKeyName) ToPtr

func (c AccessKeyName) ToPtr() *AccessKeyName

ToPtr returns a *AccessKeyName pointing to the current value.

type AzureSKU

type AzureSKU struct {
	// REQUIRED; SKU name
	Name *AzureSKUName `json:"name,omitempty"`

	// REQUIRED; SKU tier
	Tier *AzureSKUTier `json:"tier,omitempty"`
}

type AzureSKUName

type AzureSKUName string

AzureSKUName - SKU name

const (
	AzureSKUNameS1 AzureSKUName = "S1"
)

func PossibleAzureSKUNameValues

func PossibleAzureSKUNameValues() []AzureSKUName

PossibleAzureSKUNameValues returns the possible values for the AzureSKUName const type.

func (AzureSKUName) ToPtr

func (c AzureSKUName) ToPtr() *AzureSKUName

ToPtr returns a *AzureSKUName pointing to the current value.

type AzureSKUTier

type AzureSKUTier string

AzureSKUTier - SKU tier

const (
	AzureSKUTierStandard AzureSKUTier = "Standard"
)

func PossibleAzureSKUTierValues

func PossibleAzureSKUTierValues() []AzureSKUTier

PossibleAzureSKUTierValues returns the possible values for the AzureSKUTier const type.

func (AzureSKUTier) ToPtr

func (c AzureSKUTier) ToPtr() *AzureSKUTier

ToPtr returns a *AzureSKUTier pointing to the current value.

type CheckNameReason

type CheckNameReason string

CheckNameReason - Reason why the workspace collection name cannot be used.

const (
	CheckNameReasonInvalid     CheckNameReason = "Invalid"
	CheckNameReasonUnavailable CheckNameReason = "Unavailable"
)

func PossibleCheckNameReasonValues

func PossibleCheckNameReasonValues() []CheckNameReason

PossibleCheckNameReasonValues returns the possible values for the CheckNameReason const type.

func (CheckNameReason) ToPtr

func (c CheckNameReason) ToPtr() *CheckNameReason

ToPtr returns a *CheckNameReason pointing to the current value.

type CheckNameRequest

type CheckNameRequest struct {
	// Workspace collection name
	Name *string `json:"name,omitempty"`

	// Resource type
	Type *string `json:"type,omitempty"`
}

type CheckNameResponse

type CheckNameResponse struct {
	// Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
	Message *string `json:"message,omitempty"`

	// Specifies a Boolean value that indicates whether the specified Power BI Workspace Collection name is available to use.
	NameAvailable *bool `json:"nameAvailable,omitempty"`

	// Reason why the workspace collection name cannot be used.
	Reason *CheckNameReason `json:"reason,omitempty"`
}

type CreateWorkspaceCollectionRequest

type CreateWorkspaceCollectionRequest struct {
	// Azure location
	Location *string   `json:"location,omitempty"`
	SKU      *AzureSKU `json:"sku,omitempty"`

	// Dictionary of
	Tags map[string]*string `json:"tags,omitempty"`
}

func (CreateWorkspaceCollectionRequest) MarshalJSON

func (c CreateWorkspaceCollectionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CreateWorkspaceCollectionRequest.

type Display

type Display struct {
	// The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. It will be used in tool-tips
	// and detailed views.
	Description *string `json:"description,omitempty"`

	// The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), but clear (self-documenting).
	// Use Title Casing and include the entity/resource
	// to which it applies.
	Operation *string `json:"operation,omitempty"`

	// The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is 'user,system'
	Origin *string `json:"origin,omitempty"`

	// The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing.
	// Begin with "Microsoft" for 1st party services.
	Provider *string `json:"provider,omitempty"`

	// The localized friendly form of the resource type related to this action/operation. This form should match the public documentation for the resource provider.
	// Use Title Casing. For examples, refer to
	// the "name" section.
	Resource *string `json:"resource,omitempty"`
}

type Error

type Error struct {
	Code    *string        `json:"code,omitempty"`
	Details []*ErrorDetail `json:"details,omitempty"`
	Message *string        `json:"message,omitempty"`
	Target  *string        `json:"target,omitempty"`
	// contains filtered or unexported fields
}

Implements the error and azcore.HTTPResponse interfaces.

func (Error) Error

func (e Error) Error() string

Error implements the error interface for type Error. The contents of the error text are not contractual and subject to change.

type ErrorDetail

type ErrorDetail struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

type MigrateWorkspaceCollectionRequest

type MigrateWorkspaceCollectionRequest struct {
	Resources []*string `json:"resources,omitempty"`

	// Name of the resource group the Power BI workspace collections will be migrated to.
	TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
}

func (MigrateWorkspaceCollectionRequest) MarshalJSON

func (m MigrateWorkspaceCollectionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrateWorkspaceCollectionRequest.

type Operation

type Operation struct {
	Display *Display `json:"display,omitempty"`

	// The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service.
	Name *string `json:"name,omitempty"`
}

type OperationList

type OperationList struct {
	Value []*Operation `json:"value,omitempty"`
}

func (OperationList) MarshalJSON

func (o OperationList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationList.

type PowerBIEmbeddedManagementClient

type PowerBIEmbeddedManagementClient struct {
	// contains filtered or unexported fields
}

PowerBIEmbeddedManagementClient contains the methods for the PowerBIEmbeddedManagementClient group. Don't use this type directly, use NewPowerBIEmbeddedManagementClient() instead.

func NewPowerBIEmbeddedManagementClient

func NewPowerBIEmbeddedManagementClient(credential azcore.TokenCredential, options *arm.ClientOptions) *PowerBIEmbeddedManagementClient

NewPowerBIEmbeddedManagementClient creates a new instance of PowerBIEmbeddedManagementClient with the specified values.

func (*PowerBIEmbeddedManagementClient) GetAvailableOperations

GetAvailableOperations - Indicates which operations can be performed by the Power BI Resource Provider. If the operation fails it returns the *Error error type.

type PowerBIEmbeddedManagementClientGetAvailableOperationsOptions

type PowerBIEmbeddedManagementClientGetAvailableOperationsOptions struct {
}

PowerBIEmbeddedManagementClientGetAvailableOperationsOptions contains the optional parameters for the PowerBIEmbeddedManagementClient.GetAvailableOperations method.

type PowerBIEmbeddedManagementClientGetAvailableOperationsResponse

type PowerBIEmbeddedManagementClientGetAvailableOperationsResponse struct {
	PowerBIEmbeddedManagementClientGetAvailableOperationsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PowerBIEmbeddedManagementClientGetAvailableOperationsResponse contains the response from method PowerBIEmbeddedManagementClient.GetAvailableOperations.

type PowerBIEmbeddedManagementClientGetAvailableOperationsResult

type PowerBIEmbeddedManagementClientGetAvailableOperationsResult struct {
	OperationList
}

PowerBIEmbeddedManagementClientGetAvailableOperationsResult contains the result from method PowerBIEmbeddedManagementClient.GetAvailableOperations.

type UpdateWorkspaceCollectionRequest

type UpdateWorkspaceCollectionRequest struct {
	SKU *AzureSKU `json:"sku,omitempty"`

	// Dictionary of
	Tags map[string]*string `json:"tags,omitempty"`
}

func (UpdateWorkspaceCollectionRequest) MarshalJSON

func (u UpdateWorkspaceCollectionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UpdateWorkspaceCollectionRequest.

type Workspace

type Workspace struct {
	// Workspace id
	ID *string `json:"id,omitempty"`

	// Workspace name
	Name *string `json:"name,omitempty"`

	// Property bag
	Properties map[string]interface{} `json:"properties,omitempty"`

	// Resource type
	Type *string `json:"type,omitempty"`
}

type WorkspaceCollection

type WorkspaceCollection struct {
	// Resource id
	ID *string `json:"id,omitempty"`

	// Azure location
	Location *string `json:"location,omitempty"`

	// Workspace collection name
	Name *string `json:"name,omitempty"`

	// Properties
	Properties map[string]interface{} `json:"properties,omitempty"`
	SKU        *AzureSKU              `json:"sku,omitempty"`

	// Dictionary of
	Tags map[string]*string `json:"tags,omitempty"`

	// Resource type
	Type *string `json:"type,omitempty"`
}

func (WorkspaceCollection) MarshalJSON

func (w WorkspaceCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkspaceCollection.

type WorkspaceCollectionAccessKey

type WorkspaceCollectionAccessKey struct {
	// Key name
	KeyName *AccessKeyName `json:"keyName,omitempty"`
}

type WorkspaceCollectionAccessKeys

type WorkspaceCollectionAccessKeys struct {
	// Access key 1
	Key1 *string `json:"key1,omitempty"`

	// Access key 2
	Key2 *string `json:"key2,omitempty"`
}

type WorkspaceCollectionList

type WorkspaceCollectionList struct {
	Value []*WorkspaceCollection `json:"value,omitempty"`
}

func (WorkspaceCollectionList) MarshalJSON

func (w WorkspaceCollectionList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkspaceCollectionList.

type WorkspaceCollectionsBeginDeleteOptions

type WorkspaceCollectionsBeginDeleteOptions struct {
}

WorkspaceCollectionsBeginDeleteOptions contains the optional parameters for the WorkspaceCollections.BeginDelete method.

type WorkspaceCollectionsCheckNameAvailabilityOptions

type WorkspaceCollectionsCheckNameAvailabilityOptions struct {
}

WorkspaceCollectionsCheckNameAvailabilityOptions contains the optional parameters for the WorkspaceCollections.CheckNameAvailability method.

type WorkspaceCollectionsCheckNameAvailabilityResponse

type WorkspaceCollectionsCheckNameAvailabilityResponse struct {
	WorkspaceCollectionsCheckNameAvailabilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsCheckNameAvailabilityResponse contains the response from method WorkspaceCollections.CheckNameAvailability.

type WorkspaceCollectionsCheckNameAvailabilityResult

type WorkspaceCollectionsCheckNameAvailabilityResult struct {
	CheckNameResponse
}

WorkspaceCollectionsCheckNameAvailabilityResult contains the result from method WorkspaceCollections.CheckNameAvailability.

type WorkspaceCollectionsClient

type WorkspaceCollectionsClient struct {
	// contains filtered or unexported fields
}

WorkspaceCollectionsClient contains the methods for the WorkspaceCollections group. Don't use this type directly, use NewWorkspaceCollectionsClient() instead.

func NewWorkspaceCollectionsClient

func NewWorkspaceCollectionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *WorkspaceCollectionsClient

NewWorkspaceCollectionsClient creates a new instance of WorkspaceCollectionsClient with the specified values.

func (*WorkspaceCollectionsClient) BeginDelete

func (client *WorkspaceCollectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, workspaceCollectionName string, options *WorkspaceCollectionsBeginDeleteOptions) (WorkspaceCollectionsDeletePollerResponse, error)

BeginDelete - Delete a Power BI Workspace Collection. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) CheckNameAvailability

CheckNameAvailability - Verify the specified Power BI Workspace Collection name is valid and not already in use. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) Create

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. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) GetAccessKeys

func (client *WorkspaceCollectionsClient) GetAccessKeys(ctx context.Context, resourceGroupName string, workspaceCollectionName string, options *WorkspaceCollectionsGetAccessKeysOptions) (WorkspaceCollectionsGetAccessKeysResponse, error)

GetAccessKeys - Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) GetByName

func (client *WorkspaceCollectionsClient) GetByName(ctx context.Context, resourceGroupName string, workspaceCollectionName string, options *WorkspaceCollectionsGetByNameOptions) (WorkspaceCollectionsGetByNameResponse, error)

GetByName - Retrieves an existing Power BI Workspace Collection. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) ListByResourceGroup

ListByResourceGroup - Retrieves all existing Power BI workspace collections in the specified resource group. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) ListBySubscription

ListBySubscription - Retrieves all existing Power BI workspace collections in the specified subscription. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) Migrate

Migrate - Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) RegenerateKey

RegenerateKey - Regenerates the primary or secondary access key for the specified Power BI Workspace Collection. If the operation fails it returns the *Error error type.

func (*WorkspaceCollectionsClient) Update

Update - Update an existing Power BI Workspace Collection with the specified properties. If the operation fails it returns the *Error error type.

type WorkspaceCollectionsCreateOptions

type WorkspaceCollectionsCreateOptions struct {
}

WorkspaceCollectionsCreateOptions contains the optional parameters for the WorkspaceCollections.Create method.

type WorkspaceCollectionsCreateResponse

type WorkspaceCollectionsCreateResponse struct {
	WorkspaceCollectionsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsCreateResponse contains the response from method WorkspaceCollections.Create.

type WorkspaceCollectionsCreateResult

type WorkspaceCollectionsCreateResult struct {
	WorkspaceCollection
}

WorkspaceCollectionsCreateResult contains the result from method WorkspaceCollections.Create.

type WorkspaceCollectionsDeletePoller

type WorkspaceCollectionsDeletePoller struct {
	// contains filtered or unexported fields
}

WorkspaceCollectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*WorkspaceCollectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*WorkspaceCollectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final WorkspaceCollectionsDeleteResponse will be returned.

func (*WorkspaceCollectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*WorkspaceCollectionsDeletePoller) ResumeToken

func (p *WorkspaceCollectionsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type WorkspaceCollectionsDeletePollerResponse

type WorkspaceCollectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *WorkspaceCollectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsDeletePollerResponse contains the response from method WorkspaceCollections.Delete.

func (WorkspaceCollectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*WorkspaceCollectionsDeletePollerResponse) Resume

Resume rehydrates a WorkspaceCollectionsDeletePollerResponse from the provided client and resume token.

type WorkspaceCollectionsDeleteResponse

type WorkspaceCollectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsDeleteResponse contains the response from method WorkspaceCollections.Delete.

type WorkspaceCollectionsGetAccessKeysOptions

type WorkspaceCollectionsGetAccessKeysOptions struct {
}

WorkspaceCollectionsGetAccessKeysOptions contains the optional parameters for the WorkspaceCollections.GetAccessKeys method.

type WorkspaceCollectionsGetAccessKeysResponse

type WorkspaceCollectionsGetAccessKeysResponse struct {
	WorkspaceCollectionsGetAccessKeysResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsGetAccessKeysResponse contains the response from method WorkspaceCollections.GetAccessKeys.

type WorkspaceCollectionsGetAccessKeysResult

type WorkspaceCollectionsGetAccessKeysResult struct {
	WorkspaceCollectionAccessKeys
}

WorkspaceCollectionsGetAccessKeysResult contains the result from method WorkspaceCollections.GetAccessKeys.

type WorkspaceCollectionsGetByNameOptions

type WorkspaceCollectionsGetByNameOptions struct {
}

WorkspaceCollectionsGetByNameOptions contains the optional parameters for the WorkspaceCollections.GetByName method.

type WorkspaceCollectionsGetByNameResponse

type WorkspaceCollectionsGetByNameResponse struct {
	WorkspaceCollectionsGetByNameResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsGetByNameResponse contains the response from method WorkspaceCollections.GetByName.

type WorkspaceCollectionsGetByNameResult

type WorkspaceCollectionsGetByNameResult struct {
	WorkspaceCollection
}

WorkspaceCollectionsGetByNameResult contains the result from method WorkspaceCollections.GetByName.

type WorkspaceCollectionsListByResourceGroupOptions

type WorkspaceCollectionsListByResourceGroupOptions struct {
}

WorkspaceCollectionsListByResourceGroupOptions contains the optional parameters for the WorkspaceCollections.ListByResourceGroup method.

type WorkspaceCollectionsListByResourceGroupResponse

type WorkspaceCollectionsListByResourceGroupResponse struct {
	WorkspaceCollectionsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsListByResourceGroupResponse contains the response from method WorkspaceCollections.ListByResourceGroup.

type WorkspaceCollectionsListByResourceGroupResult

type WorkspaceCollectionsListByResourceGroupResult struct {
	WorkspaceCollectionList
}

WorkspaceCollectionsListByResourceGroupResult contains the result from method WorkspaceCollections.ListByResourceGroup.

type WorkspaceCollectionsListBySubscriptionOptions

type WorkspaceCollectionsListBySubscriptionOptions struct {
}

WorkspaceCollectionsListBySubscriptionOptions contains the optional parameters for the WorkspaceCollections.ListBySubscription method.

type WorkspaceCollectionsListBySubscriptionResponse

type WorkspaceCollectionsListBySubscriptionResponse struct {
	WorkspaceCollectionsListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsListBySubscriptionResponse contains the response from method WorkspaceCollections.ListBySubscription.

type WorkspaceCollectionsListBySubscriptionResult

type WorkspaceCollectionsListBySubscriptionResult struct {
	WorkspaceCollectionList
}

WorkspaceCollectionsListBySubscriptionResult contains the result from method WorkspaceCollections.ListBySubscription.

type WorkspaceCollectionsMigrateOptions

type WorkspaceCollectionsMigrateOptions struct {
}

WorkspaceCollectionsMigrateOptions contains the optional parameters for the WorkspaceCollections.Migrate method.

type WorkspaceCollectionsMigrateResponse

type WorkspaceCollectionsMigrateResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsMigrateResponse contains the response from method WorkspaceCollections.Migrate.

type WorkspaceCollectionsRegenerateKeyOptions

type WorkspaceCollectionsRegenerateKeyOptions struct {
}

WorkspaceCollectionsRegenerateKeyOptions contains the optional parameters for the WorkspaceCollections.RegenerateKey method.

type WorkspaceCollectionsRegenerateKeyResponse

type WorkspaceCollectionsRegenerateKeyResponse struct {
	WorkspaceCollectionsRegenerateKeyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsRegenerateKeyResponse contains the response from method WorkspaceCollections.RegenerateKey.

type WorkspaceCollectionsRegenerateKeyResult

type WorkspaceCollectionsRegenerateKeyResult struct {
	WorkspaceCollectionAccessKeys
}

WorkspaceCollectionsRegenerateKeyResult contains the result from method WorkspaceCollections.RegenerateKey.

type WorkspaceCollectionsUpdateOptions

type WorkspaceCollectionsUpdateOptions struct {
}

WorkspaceCollectionsUpdateOptions contains the optional parameters for the WorkspaceCollections.Update method.

type WorkspaceCollectionsUpdateResponse

type WorkspaceCollectionsUpdateResponse struct {
	WorkspaceCollectionsUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspaceCollectionsUpdateResponse contains the response from method WorkspaceCollections.Update.

type WorkspaceCollectionsUpdateResult

type WorkspaceCollectionsUpdateResult struct {
	WorkspaceCollection
}

WorkspaceCollectionsUpdateResult contains the result from method WorkspaceCollections.Update.

type WorkspaceList

type WorkspaceList struct {
	Value []*Workspace `json:"value,omitempty"`
}

func (WorkspaceList) MarshalJSON

func (w WorkspaceList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkspaceList.

type WorkspacesClient

type WorkspacesClient struct {
	// contains filtered or unexported fields
}

WorkspacesClient contains the methods for the Workspaces group. Don't use this type directly, use NewWorkspacesClient() instead.

func NewWorkspacesClient

func NewWorkspacesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *WorkspacesClient

NewWorkspacesClient creates a new instance of WorkspacesClient with the specified values.

func (*WorkspacesClient) List

func (client *WorkspacesClient) List(ctx context.Context, resourceGroupName string, workspaceCollectionName string, options *WorkspacesListOptions) (WorkspacesListResponse, error)

List - Retrieves all existing Power BI workspaces in the specified workspace collection. If the operation fails it returns the *Error error type.

type WorkspacesListOptions

type WorkspacesListOptions struct {
}

WorkspacesListOptions contains the optional parameters for the Workspaces.List method.

type WorkspacesListResponse

type WorkspacesListResponse struct {
	WorkspacesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WorkspacesListResponse contains the response from method Workspaces.List.

type WorkspacesListResult

type WorkspacesListResult struct {
	WorkspaceList
}

WorkspacesListResult contains the result from method Workspaces.List.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL