azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/powerbidedicated/mgmt/2017-10-01/powerbidedicated Index | Files | Directories

package powerbidedicated

import "github.com/Azure/azure-sdk-for-go/services/powerbidedicated/mgmt/2017-10-01/powerbidedicated"

Package powerbidedicated implements the Azure ARM Powerbidedicated service API version 2017-10-01.

PowerBI Dedicated Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Power BI dedicated capacities

Index

Package Files

capacities.go client.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Powerbidedicated
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Powerbidedicated.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CapacitiesClient Uses

type CapacitiesClient struct {
    BaseClient
}

CapacitiesClient is the powerBI Dedicated Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Power BI dedicated capacities

func NewCapacitiesClient Uses

func NewCapacitiesClient(subscriptionID string) CapacitiesClient

NewCapacitiesClient creates an instance of the CapacitiesClient client.

func NewCapacitiesClientWithBaseURI Uses

func NewCapacitiesClientWithBaseURI(baseURI string, subscriptionID string) CapacitiesClient

NewCapacitiesClientWithBaseURI creates an instance of the CapacitiesClient client.

func (CapacitiesClient) CheckNameAvailability Uses

func (client CapacitiesClient) CheckNameAvailability(ctx context.Context, location string, capacityParameters CheckCapacityNameAvailabilityParameters) (result CheckCapacityNameAvailabilityResult, err error)

CheckNameAvailability check the name availability in the target location. Parameters: location - the region name which the operation will lookup into. capacityParameters - the name of the capacity.

func (CapacitiesClient) CheckNameAvailabilityPreparer Uses

func (client CapacitiesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, capacityParameters CheckCapacityNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (CapacitiesClient) CheckNameAvailabilityResponder Uses

func (client CapacitiesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckCapacityNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (CapacitiesClient) CheckNameAvailabilitySender Uses

func (client CapacitiesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) Create Uses

func (client CapacitiesClient) Create(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityParameters DedicatedCapacity) (result CapacitiesCreateFuture, err error)

Create provisions the specified Dedicated capacity based on the configuration specified in the request. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63. capacityParameters - contains the information used to provision the Dedicated capacity.

func (CapacitiesClient) CreatePreparer Uses

func (client CapacitiesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityParameters DedicatedCapacity) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CapacitiesClient) CreateResponder Uses

func (client CapacitiesClient) CreateResponder(resp *http.Response) (result DedicatedCapacity, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CapacitiesClient) CreateSender Uses

func (client CapacitiesClient) CreateSender(req *http.Request) (future CapacitiesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) Delete Uses

func (client CapacitiesClient) Delete(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesDeleteFuture, err error)

Delete deletes the specified Dedicated capacity. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.

func (CapacitiesClient) DeletePreparer Uses

func (client CapacitiesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CapacitiesClient) DeleteResponder Uses

func (client CapacitiesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CapacitiesClient) DeleteSender Uses

func (client CapacitiesClient) DeleteSender(req *http.Request) (future CapacitiesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) GetDetails Uses

func (client CapacitiesClient) GetDetails(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result DedicatedCapacity, err error)

GetDetails gets details about the specified dedicated capacity. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.

func (CapacitiesClient) GetDetailsPreparer Uses

func (client CapacitiesClient) GetDetailsPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)

GetDetailsPreparer prepares the GetDetails request.

func (CapacitiesClient) GetDetailsResponder Uses

func (client CapacitiesClient) GetDetailsResponder(resp *http.Response) (result DedicatedCapacity, err error)

GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.

func (CapacitiesClient) GetDetailsSender Uses

func (client CapacitiesClient) GetDetailsSender(req *http.Request) (*http.Response, error)

GetDetailsSender sends the GetDetails request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) List Uses

func (client CapacitiesClient) List(ctx context.Context) (result DedicatedCapacities, err error)

List lists all the Dedicated capacities for the given subscription.

func (CapacitiesClient) ListByResourceGroup Uses

func (client CapacitiesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedCapacities, err error)

ListByResourceGroup gets all the Dedicated capacities for the given resource group. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.

func (CapacitiesClient) ListByResourceGroupPreparer Uses

func (client CapacitiesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (CapacitiesClient) ListByResourceGroupResponder Uses

func (client CapacitiesClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedCapacities, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (CapacitiesClient) ListByResourceGroupSender Uses

func (client CapacitiesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) ListPreparer Uses

func (client CapacitiesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (CapacitiesClient) ListResponder Uses

func (client CapacitiesClient) ListResponder(resp *http.Response) (result DedicatedCapacities, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CapacitiesClient) ListSender Uses

func (client CapacitiesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) ListSkus Uses

func (client CapacitiesClient) ListSkus(ctx context.Context) (result SkuEnumerationForNewResourceResult, err error)

ListSkus lists eligible SKUs for PowerBI Dedicated resource provider.

func (CapacitiesClient) ListSkusForCapacity Uses

func (client CapacitiesClient) ListSkusForCapacity(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result SkuEnumerationForExistingResourceResult, err error)

ListSkusForCapacity lists eligible SKUs for a PowerBI Dedicated resource. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.

func (CapacitiesClient) ListSkusForCapacityPreparer Uses

func (client CapacitiesClient) ListSkusForCapacityPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)

ListSkusForCapacityPreparer prepares the ListSkusForCapacity request.

func (CapacitiesClient) ListSkusForCapacityResponder Uses

func (client CapacitiesClient) ListSkusForCapacityResponder(resp *http.Response) (result SkuEnumerationForExistingResourceResult, err error)

ListSkusForCapacityResponder handles the response to the ListSkusForCapacity request. The method always closes the http.Response Body.

func (CapacitiesClient) ListSkusForCapacitySender Uses

func (client CapacitiesClient) ListSkusForCapacitySender(req *http.Request) (*http.Response, error)

ListSkusForCapacitySender sends the ListSkusForCapacity request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) ListSkusPreparer Uses

func (client CapacitiesClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (CapacitiesClient) ListSkusResponder Uses

func (client CapacitiesClient) ListSkusResponder(resp *http.Response) (result SkuEnumerationForNewResourceResult, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (CapacitiesClient) ListSkusSender Uses

func (client CapacitiesClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) Resume Uses

func (client CapacitiesClient) Resume(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesResumeFuture, err error)

Resume resumes operation of the specified Dedicated capacity instance. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.

func (CapacitiesClient) ResumePreparer Uses

func (client CapacitiesClient) ResumePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (CapacitiesClient) ResumeResponder Uses

func (client CapacitiesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (CapacitiesClient) ResumeSender Uses

func (client CapacitiesClient) ResumeSender(req *http.Request) (future CapacitiesResumeFuture, err error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) Suspend Uses

func (client CapacitiesClient) Suspend(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesSuspendFuture, err error)

Suspend suspends operation of the specified dedicated capacity instance. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.

func (CapacitiesClient) SuspendPreparer Uses

func (client CapacitiesClient) SuspendPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (CapacitiesClient) SuspendResponder Uses

func (client CapacitiesClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)

SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.

func (CapacitiesClient) SuspendSender Uses

func (client CapacitiesClient) SuspendSender(req *http.Request) (future CapacitiesSuspendFuture, err error)

SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.

func (CapacitiesClient) Update Uses

func (client CapacitiesClient) Update(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityUpdateParameters DedicatedCapacityUpdateParameters) (result CapacitiesUpdateFuture, err error)

Update updates the current state of the specified Dedicated capacity. Parameters: resourceGroupName - the name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90. dedicatedCapacityName - the name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63. capacityUpdateParameters - request object that contains the updated information for the capacity.

func (CapacitiesClient) UpdatePreparer Uses

func (client CapacitiesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityUpdateParameters DedicatedCapacityUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CapacitiesClient) UpdateResponder Uses

func (client CapacitiesClient) UpdateResponder(resp *http.Response) (result DedicatedCapacity, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CapacitiesClient) UpdateSender Uses

func (client CapacitiesClient) UpdateSender(req *http.Request) (future CapacitiesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CapacitiesCreateFuture Uses

type CapacitiesCreateFuture struct {
    azure.Future
}

CapacitiesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CapacitiesCreateFuture) Result Uses

func (future *CapacitiesCreateFuture) Result(client CapacitiesClient) (dc DedicatedCapacity, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CapacitiesDeleteFuture Uses

type CapacitiesDeleteFuture struct {
    azure.Future
}

CapacitiesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CapacitiesDeleteFuture) Result Uses

func (future *CapacitiesDeleteFuture) Result(client CapacitiesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CapacitiesResumeFuture Uses

type CapacitiesResumeFuture struct {
    azure.Future
}

CapacitiesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CapacitiesResumeFuture) Result Uses

func (future *CapacitiesResumeFuture) Result(client CapacitiesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CapacitiesSuspendFuture Uses

type CapacitiesSuspendFuture struct {
    azure.Future
}

CapacitiesSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CapacitiesSuspendFuture) Result Uses

func (future *CapacitiesSuspendFuture) Result(client CapacitiesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CapacitiesUpdateFuture Uses

type CapacitiesUpdateFuture struct {
    azure.Future
}

CapacitiesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CapacitiesUpdateFuture) Result Uses

func (future *CapacitiesUpdateFuture) Result(client CapacitiesClient) (dc DedicatedCapacity, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CheckCapacityNameAvailabilityParameters Uses

type CheckCapacityNameAvailabilityParameters struct {
    // Name - Name for checking availability.
    Name *string `json:"name,omitempty"`
    // Type - The resource type of PowerBI dedicated.
    Type *string `json:"type,omitempty"`
}

CheckCapacityNameAvailabilityParameters details of capacity name request body.

type CheckCapacityNameAvailabilityResult Uses

type CheckCapacityNameAvailabilityResult struct {
    autorest.Response `json:"-"`
    // NameAvailable - Indicator of availability of the capacity name.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - The reason of unavailability.
    Reason *string `json:"reason,omitempty"`
    // Message - The detailed message of the request unavailability.
    Message *string `json:"message,omitempty"`
}

CheckCapacityNameAvailabilityResult the checking result of capacity name availability.

type DedicatedCapacities Uses

type DedicatedCapacities struct {
    autorest.Response `json:"-"`
    // Value - An array of Dedicated capacities resources.
    Value *[]DedicatedCapacity `json:"value,omitempty"`
}

DedicatedCapacities an array of Dedicated capacities resources.

type DedicatedCapacity Uses

type DedicatedCapacity struct {
    autorest.Response `json:"-"`
    // DedicatedCapacityProperties - Properties of the provision operation request.
    *DedicatedCapacityProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; An identifier that represents the PowerBI Dedicated resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the PowerBI Dedicated resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the PowerBI Dedicated resource.
    Type *string `json:"type,omitempty"`
    // Location - Location of the PowerBI Dedicated resource.
    Location *string `json:"location,omitempty"`
    // Sku - The SKU of the PowerBI Dedicated resource.
    Sku *ResourceSku `json:"sku,omitempty"`
    // Tags - Key-value pairs of additional resource provisioning properties.
    Tags map[string]*string `json:"tags"`
}

DedicatedCapacity represents an instance of a Dedicated Capacity resource.

func (DedicatedCapacity) MarshalJSON Uses

func (dc DedicatedCapacity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCapacity.

func (*DedicatedCapacity) UnmarshalJSON Uses

func (dc *DedicatedCapacity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedCapacity struct.

type DedicatedCapacityAdministrators Uses

type DedicatedCapacityAdministrators struct {
    // Members - An array of administrator user identities.
    Members *[]string `json:"members,omitempty"`
}

DedicatedCapacityAdministrators an array of administrator user identities

type DedicatedCapacityMutableProperties Uses

type DedicatedCapacityMutableProperties struct {
    // Administration - A collection of Dedicated capacity administrators
    Administration *DedicatedCapacityAdministrators `json:"administration,omitempty"`
}

DedicatedCapacityMutableProperties an object that represents a set of mutable Dedicated capacity resource properties.

type DedicatedCapacityProperties Uses

type DedicatedCapacityProperties struct {
    // State - READ-ONLY; The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning. Possible values include: 'StateDeleting', 'StateSucceeded', 'StateFailed', 'StatePaused', 'StateSuspended', 'StateProvisioning', 'StateUpdating', 'StateSuspending', 'StatePausing', 'StateResuming', 'StatePreparing', 'StateScaling'
    State State `json:"state,omitempty"`
    // ProvisioningState - READ-ONLY; The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Administration - A collection of Dedicated capacity administrators
    Administration *DedicatedCapacityAdministrators `json:"administration,omitempty"`
}

DedicatedCapacityProperties properties of Dedicated Capacity resource.

type DedicatedCapacityUpdateParameters Uses

type DedicatedCapacityUpdateParameters struct {
    // Sku - The SKU of the Dedicated capacity resource.
    Sku *ResourceSku `json:"sku,omitempty"`
    // Tags - Key-value pairs of additional provisioning properties.
    Tags map[string]*string `json:"tags"`
    // DedicatedCapacityMutableProperties - Properties of the provision operation request.
    *DedicatedCapacityMutableProperties `json:"properties,omitempty"`
}

DedicatedCapacityUpdateParameters provision request specification

func (DedicatedCapacityUpdateParameters) MarshalJSON Uses

func (dcup DedicatedCapacityUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCapacityUpdateParameters.

func (*DedicatedCapacityUpdateParameters) UnmarshalJSON Uses

func (dcup *DedicatedCapacityUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedCapacityUpdateParameters struct.

type ErrorResponse Uses

type ErrorResponse struct {
    // Code - Error code
    Code *string `json:"code,omitempty"`
    // Message - Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

ErrorResponse describes the format of Error response.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation capacities REST API operation.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Service provider: Microsoft.PowerBIDedicated.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; Resource on which the operation is performed: capacity, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; Operation type: create, update, delete, etc.
    Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of capacities supported by the Microsoft.PowerBIDedicated resource provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result listing capacities. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the powerBI Dedicated Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Power BI dedicated capacities

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available PowerBIDedicated REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Paused ...
    Paused ProvisioningState = "Paused"
    // Pausing ...
    Pausing ProvisioningState = "Pausing"
    // Preparing ...
    Preparing ProvisioningState = "Preparing"
    // Provisioning ...
    Provisioning ProvisioningState = "Provisioning"
    // Resuming ...
    Resuming ProvisioningState = "Resuming"
    // Scaling ...
    Scaling ProvisioningState = "Scaling"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Suspended ...
    Suspended ProvisioningState = "Suspended"
    // Suspending ...
    Suspending ProvisioningState = "Suspending"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; An identifier that represents the PowerBI Dedicated resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the PowerBI Dedicated resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the PowerBI Dedicated resource.
    Type *string `json:"type,omitempty"`
    // Location - Location of the PowerBI Dedicated resource.
    Location *string `json:"location,omitempty"`
    // Sku - The SKU of the PowerBI Dedicated resource.
    Sku *ResourceSku `json:"sku,omitempty"`
    // Tags - Key-value pairs of additional resource provisioning properties.
    Tags map[string]*string `json:"tags"`
}

Resource represents an instance of an PowerBI Dedicated resource.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceSku Uses

type ResourceSku struct {
    // Name - Name of the SKU level.
    Name *string `json:"name,omitempty"`
    // Tier - The name of the Azure pricing tier to which the SKU applies. Possible values include: 'PBIEAzure'
    Tier SkuTier `json:"tier,omitempty"`
}

ResourceSku represents the SKU name and Azure pricing tier for PowerBI Dedicated resource.

type SkuDetailsForExistingResource Uses

type SkuDetailsForExistingResource struct {
    // Sku - The SKU in SKU details for existing resources.
    Sku *ResourceSku `json:"sku,omitempty"`
}

SkuDetailsForExistingResource an object that represents SKU details for existing resources

type SkuEnumerationForExistingResourceResult Uses

type SkuEnumerationForExistingResourceResult struct {
    autorest.Response `json:"-"`
    // Value - The collection of available SKUs for existing resources
    Value *[]SkuDetailsForExistingResource `json:"value,omitempty"`
}

SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing resources

type SkuEnumerationForNewResourceResult Uses

type SkuEnumerationForNewResourceResult struct {
    autorest.Response `json:"-"`
    // Value - The collection of available SKUs for new resources
    Value *[]ResourceSku `json:"value,omitempty"`
}

SkuEnumerationForNewResourceResult an object that represents enumerating SKUs for new resources

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
    // PBIEAzure ...
    PBIEAzure SkuTier = "PBIE_Azure"
)

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type State Uses

type State string

State enumerates the values for state.

const (
    // StateDeleting ...
    StateDeleting State = "Deleting"
    // StateFailed ...
    StateFailed State = "Failed"
    // StatePaused ...
    StatePaused State = "Paused"
    // StatePausing ...
    StatePausing State = "Pausing"
    // StatePreparing ...
    StatePreparing State = "Preparing"
    // StateProvisioning ...
    StateProvisioning State = "Provisioning"
    // StateResuming ...
    StateResuming State = "Resuming"
    // StateScaling ...
    StateScaling State = "Scaling"
    // StateSucceeded ...
    StateSucceeded State = "Succeeded"
    // StateSuspended ...
    StateSuspended State = "Suspended"
    // StateSuspending ...
    StateSuspending State = "Suspending"
    // StateUpdating ...
    StateUpdating State = "Updating"
)

func PossibleStateValues Uses

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

Directories

PathSynopsis
powerbidedicatedapi

Package powerbidedicated imports 9 packages (graph) and is imported by 4 packages. Updated 2019-08-02. Refresh now. Tools for package owners.