Documentation ¶
Overview ¶
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 ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type CapacitiesClient
- func (client CapacitiesClient) CheckNameAvailability(ctx context.Context, location string, ...) (result CheckCapacityNameAvailabilityResult, err error)
- func (client CapacitiesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, ...) (*http.Request, error)
- func (client CapacitiesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckCapacityNameAvailabilityResult, err error)
- func (client CapacitiesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) Create(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, ...) (result CapacitiesCreateFuture, err error)
- func (client CapacitiesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, ...) (*http.Request, error)
- func (client CapacitiesClient) CreateResponder(resp *http.Response) (result DedicatedCapacity, err error)
- func (client CapacitiesClient) CreateSender(req *http.Request) (future CapacitiesCreateFuture, err error)
- func (client CapacitiesClient) Delete(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesDeleteFuture, err error)
- func (client CapacitiesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
- func (client CapacitiesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CapacitiesClient) DeleteSender(req *http.Request) (future CapacitiesDeleteFuture, err error)
- func (client CapacitiesClient) GetDetails(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result DedicatedCapacity, err error)
- func (client CapacitiesClient) GetDetailsPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
- func (client CapacitiesClient) GetDetailsResponder(resp *http.Response) (result DedicatedCapacity, err error)
- func (client CapacitiesClient) GetDetailsSender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) List(ctx context.Context) (result DedicatedCapacities, err error)
- func (client CapacitiesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedCapacities, err error)
- func (client CapacitiesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client CapacitiesClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedCapacities, err error)
- func (client CapacitiesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client CapacitiesClient) ListResponder(resp *http.Response) (result DedicatedCapacities, err error)
- func (client CapacitiesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) ListSkus(ctx context.Context) (result SkuEnumerationForNewResourceResult, err error)
- func (client CapacitiesClient) ListSkusForCapacity(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result SkuEnumerationForExistingResourceResult, err error)
- func (client CapacitiesClient) ListSkusForCapacityPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
- func (client CapacitiesClient) ListSkusForCapacityResponder(resp *http.Response) (result SkuEnumerationForExistingResourceResult, err error)
- func (client CapacitiesClient) ListSkusForCapacitySender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)
- func (client CapacitiesClient) ListSkusResponder(resp *http.Response) (result SkuEnumerationForNewResourceResult, err error)
- func (client CapacitiesClient) ListSkusSender(req *http.Request) (*http.Response, error)
- func (client CapacitiesClient) Resume(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesResumeFuture, err error)
- func (client CapacitiesClient) ResumePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
- func (client CapacitiesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CapacitiesClient) ResumeSender(req *http.Request) (future CapacitiesResumeFuture, err error)
- func (client CapacitiesClient) Suspend(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (result CapacitiesSuspendFuture, err error)
- func (client CapacitiesClient) SuspendPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
- func (client CapacitiesClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CapacitiesClient) SuspendSender(req *http.Request) (future CapacitiesSuspendFuture, err error)
- func (client CapacitiesClient) Update(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, ...) (result CapacitiesUpdateFuture, err error)
- func (client CapacitiesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, ...) (*http.Request, error)
- func (client CapacitiesClient) UpdateResponder(resp *http.Response) (result DedicatedCapacity, err error)
- func (client CapacitiesClient) UpdateSender(req *http.Request) (future CapacitiesUpdateFuture, err error)
- type CapacitiesCreateFuture
- type CapacitiesDeleteFuture
- type CapacitiesResumeFuture
- type CapacitiesSuspendFuture
- type CapacitiesUpdateFuture
- type CheckCapacityNameAvailabilityParameters
- type CheckCapacityNameAvailabilityResult
- type DedicatedCapacities
- type DedicatedCapacity
- type DedicatedCapacityAdministrators
- type DedicatedCapacityMutableProperties
- type DedicatedCapacityProperties
- type DedicatedCapacityUpdateParameters
- type ErrorResponse
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ProvisioningState
- type Resource
- type ResourceSku
- type SkuDetailsForExistingResource
- type SkuEnumerationForExistingResourceResult
- type SkuEnumerationForNewResourceResult
- type SkuTier
- type State
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Powerbidedicated
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient ¶
BaseClient is the base client for Powerbidedicated.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type CapacitiesClient ¶
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 ¶
func NewCapacitiesClient(subscriptionID string) CapacitiesClient
NewCapacitiesClient creates an instance of the CapacitiesClient client.
func NewCapacitiesClientWithBaseURI ¶
func NewCapacitiesClientWithBaseURI(baseURI string, subscriptionID string) CapacitiesClient
NewCapacitiesClientWithBaseURI creates an instance of the CapacitiesClient client.
func (CapacitiesClient) CheckNameAvailability ¶
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 ¶
func (client CapacitiesClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, capacityParameters CheckCapacityNameAvailabilityParameters) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (CapacitiesClient) CheckNameAvailabilityResponder ¶
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 ¶
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 ¶
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 ¶
func (client CapacitiesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityParameters DedicatedCapacity) (*http.Request, error)
CreatePreparer prepares the Create request.
func (CapacitiesClient) CreateResponder ¶
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 ¶
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 ¶
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 ¶
func (client CapacitiesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (CapacitiesClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client CapacitiesClient) GetDetailsPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
GetDetailsPreparer prepares the GetDetails request.
func (CapacitiesClient) GetDetailsResponder ¶
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 ¶
GetDetailsSender sends the GetDetails request. The method will close the http.Response Body if it receives an error.
func (CapacitiesClient) List ¶
func (client CapacitiesClient) List(ctx context.Context) (result DedicatedCapacities, err error)
List lists all the Dedicated capacities for the given subscription.
func (CapacitiesClient) ListByResourceGroup ¶
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 ¶
func (client CapacitiesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (CapacitiesClient) ListByResourceGroupResponder ¶
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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (CapacitiesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (CapacitiesClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (CapacitiesClient) ListSkus ¶
func (client CapacitiesClient) ListSkus(ctx context.Context) (result SkuEnumerationForNewResourceResult, err error)
ListSkus lists eligible SKUs for PowerBI Dedicated resource provider.
func (CapacitiesClient) ListSkusForCapacity ¶
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 ¶
func (client CapacitiesClient) ListSkusForCapacityPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
ListSkusForCapacityPreparer prepares the ListSkusForCapacity request.
func (CapacitiesClient) ListSkusForCapacityResponder ¶
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 ¶
ListSkusForCapacitySender sends the ListSkusForCapacity request. The method will close the http.Response Body if it receives an error.
func (CapacitiesClient) ListSkusPreparer ¶
ListSkusPreparer prepares the ListSkus request.
func (CapacitiesClient) ListSkusResponder ¶
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 ¶
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
func (CapacitiesClient) Resume ¶
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 ¶
func (client CapacitiesClient) ResumePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (CapacitiesClient) ResumeResponder ¶
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 ¶
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 ¶
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 ¶
func (client CapacitiesClient) SuspendPreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
func (CapacitiesClient) SuspendResponder ¶
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 ¶
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 ¶
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 ¶
func (client CapacitiesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityUpdateParameters DedicatedCapacityUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (CapacitiesClient) UpdateResponder ¶
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 ¶
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 ¶
CapacitiesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CapacitiesCreateFuture) Result ¶
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 ¶
CapacitiesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CapacitiesDeleteFuture) Result ¶
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 ¶
CapacitiesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CapacitiesResumeFuture) Result ¶
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 ¶
CapacitiesSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CapacitiesSuspendFuture) Result ¶
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 ¶
CapacitiesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CapacitiesUpdateFuture) Result ¶
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 ¶
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 ¶
type CheckCapacityNameAvailabilityResult struct { autorest.Response `json:"-"` // NameAvailable - Indicator of availablity 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 availibility.
type DedicatedCapacities ¶
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 ¶
type DedicatedCapacity struct { autorest.Response `json:"-"` // DedicatedCapacityProperties - Properties of the provision operation request. *DedicatedCapacityProperties `json:"properties,omitempty"` // ID - An identifier that represents the PowerBI Dedicated resource. ID *string `json:"id,omitempty"` // Name - The name of the PowerBI Dedicated resource. Name *string `json:"name,omitempty"` // Type - 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 ¶
func (dc DedicatedCapacity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedCapacity.
func (*DedicatedCapacity) UnmarshalJSON ¶
func (dc *DedicatedCapacity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedCapacity struct.
type DedicatedCapacityAdministrators ¶
type DedicatedCapacityAdministrators struct { // Members - An array of administrator user identities. Members *[]string `json:"members,omitempty"` }
DedicatedCapacityAdministrators an array of administrator user identities
type DedicatedCapacityMutableProperties ¶
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 ¶
type DedicatedCapacityProperties struct { // State - 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 - The current deployment state of PowerBI Dedicatedresource. 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 ¶
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 ¶
func (dcup DedicatedCapacityUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedCapacityUpdateParameters.
func (*DedicatedCapacityUpdateParameters) UnmarshalJSON ¶
func (dcup *DedicatedCapacityUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedCapacityUpdateParameters struct.
type ErrorResponse ¶
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 ¶
type Operation struct { // Name - 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 ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft.PowerBIDedicated. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed: capacity, etc. Resource *string `json:"resource,omitempty"` // Operation - Operation type: create, update, delete, etc. Operation *string `json:"operation,omitempty"` }
OperationDisplay the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of capacities supported by the Microsoft.PowerBIDedicated resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - 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 ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
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 ¶
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 ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
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 ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
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 ¶
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 ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
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 ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available PowerBIDedicated REST API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ProvisioningState ¶
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 ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type Resource ¶
type Resource struct { // ID - An identifier that represents the PowerBI Dedicated resource. ID *string `json:"id,omitempty"` // Name - The name of the PowerBI Dedicated resource. Name *string `json:"name,omitempty"` // Type - 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 ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceSku ¶
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 ¶
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 ¶
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 ¶
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 ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
const ( // PBIEAzure ... PBIEAzure SkuTier = "PBIE_Azure" )
func PossibleSkuTierValues ¶
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
type State ¶
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 ¶
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.