powerbidedicated

package
v59.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package powerbidedicated implements the Azure ARM Powerbidedicated service API version 2021-01-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

View Source
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 AutoScaleVCore

type AutoScaleVCore struct {
	autorest.Response `json:"-"`
	// Sku - The SKU of the auto scale v-core resource.
	Sku *AutoScaleVCoreSku `json:"sku,omitempty"`
	// AutoScaleVCoreProperties - Properties of an auto scale v-core resource.
	*AutoScaleVCoreProperties `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"`
	// Tags - Key-value pairs of additional resource provisioning properties.
	Tags map[string]*string `json:"tags"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

AutoScaleVCore represents an instance of an auto scale v-core resource.

func (AutoScaleVCore) MarshalJSON

func (asvc AutoScaleVCore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScaleVCore.

func (*AutoScaleVCore) UnmarshalJSON

func (asvc *AutoScaleVCore) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoScaleVCore struct.

type AutoScaleVCoreListResult

type AutoScaleVCoreListResult struct {
	autorest.Response `json:"-"`
	// Value - An array of auto scale v-core resources.
	Value *[]AutoScaleVCore `json:"value,omitempty"`
}

AutoScaleVCoreListResult an array of auto scale v-core resources.

type AutoScaleVCoreMutableProperties

type AutoScaleVCoreMutableProperties struct {
	// CapacityLimit - The maximum capacity of an auto scale v-core resource.
	CapacityLimit *int32 `json:"capacityLimit,omitempty"`
}

AutoScaleVCoreMutableProperties an object that represents a set of mutable auto scale v-core resource properties.

type AutoScaleVCoreProperties

type AutoScaleVCoreProperties struct {
	// CapacityObjectID - The object ID of the capacity resource associated with the auto scale v-core resource.
	CapacityObjectID *string `json:"capacityObjectId,omitempty"`
	// ProvisioningState - READ-ONLY; The current deployment state of an auto scale v-core resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'VCoreProvisioningStateSucceeded'
	ProvisioningState VCoreProvisioningState `json:"provisioningState,omitempty"`
	// CapacityLimit - The maximum capacity of an auto scale v-core resource.
	CapacityLimit *int32 `json:"capacityLimit,omitempty"`
}

AutoScaleVCoreProperties properties of an auto scale v-core resource.

func (AutoScaleVCoreProperties) MarshalJSON

func (asvcp AutoScaleVCoreProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScaleVCoreProperties.

type AutoScaleVCoreSku

type AutoScaleVCoreSku 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: 'VCoreSkuTierAutoScale'
	Tier VCoreSkuTier `json:"tier,omitempty"`
	// Capacity - The capacity of an auto scale v-core resource.
	Capacity *int32 `json:"capacity,omitempty"`
}

AutoScaleVCoreSku represents the SKU name and Azure pricing tier for auto scale v-core resource.

type AutoScaleVCoreUpdateParameters

type AutoScaleVCoreUpdateParameters struct {
	// Sku - The SKU of the auto scale v-core resource.
	Sku *AutoScaleVCoreSku `json:"sku,omitempty"`
	// Tags - Key-value pairs of additional provisioning properties.
	Tags map[string]*string `json:"tags"`
	// AutoScaleVCoreMutableProperties - Properties of the update operation request.
	*AutoScaleVCoreMutableProperties `json:"properties,omitempty"`
}

AutoScaleVCoreUpdateParameters update request specification

func (AutoScaleVCoreUpdateParameters) MarshalJSON

func (asvcup AutoScaleVCoreUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScaleVCoreUpdateParameters.

func (*AutoScaleVCoreUpdateParameters) UnmarshalJSON

func (asvcup *AutoScaleVCoreUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoScaleVCoreUpdateParameters struct.

type AutoScaleVCoresClient

type AutoScaleVCoresClient struct {
	BaseClient
}

AutoScaleVCoresClient 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 NewAutoScaleVCoresClient

func NewAutoScaleVCoresClient(subscriptionID string) AutoScaleVCoresClient

NewAutoScaleVCoresClient creates an instance of the AutoScaleVCoresClient client.

func NewAutoScaleVCoresClientWithBaseURI

func NewAutoScaleVCoresClientWithBaseURI(baseURI string, subscriptionID string) AutoScaleVCoresClient

NewAutoScaleVCoresClientWithBaseURI creates an instance of the AutoScaleVCoresClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AutoScaleVCoresClient) Create

func (client AutoScaleVCoresClient) Create(ctx context.Context, resourceGroupName string, vcoreName string, vCoreParameters AutoScaleVCore) (result AutoScaleVCore, err error)

Create provisions the specified auto scale v-core 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. vcoreName - the name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63. vCoreParameters - contains the information used to provision the auto scale v-core.

func (AutoScaleVCoresClient) CreatePreparer

func (client AutoScaleVCoresClient) CreatePreparer(ctx context.Context, resourceGroupName string, vcoreName string, vCoreParameters AutoScaleVCore) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AutoScaleVCoresClient) CreateResponder

func (client AutoScaleVCoresClient) CreateResponder(resp *http.Response) (result AutoScaleVCore, err error)

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

func (AutoScaleVCoresClient) CreateSender

func (client AutoScaleVCoresClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (AutoScaleVCoresClient) Delete

func (client AutoScaleVCoresClient) Delete(ctx context.Context, resourceGroupName string, vcoreName string) (result autorest.Response, err error)

Delete deletes the specified auto scale v-core. 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. vcoreName - the name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

func (AutoScaleVCoresClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AutoScaleVCoresClient) DeleteResponder

func (client AutoScaleVCoresClient) 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 (AutoScaleVCoresClient) DeleteSender

func (client AutoScaleVCoresClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (AutoScaleVCoresClient) Get

func (client AutoScaleVCoresClient) Get(ctx context.Context, resourceGroupName string, vcoreName string) (result AutoScaleVCore, err error)

Get gets details about the specified auto scale v-core. 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. vcoreName - the name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

func (AutoScaleVCoresClient) GetPreparer

func (client AutoScaleVCoresClient) GetPreparer(ctx context.Context, resourceGroupName string, vcoreName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AutoScaleVCoresClient) GetResponder

func (client AutoScaleVCoresClient) GetResponder(resp *http.Response) (result AutoScaleVCore, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AutoScaleVCoresClient) GetSender

func (client AutoScaleVCoresClient) GetSender(req *http.Request) (*http.Response, error)

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

func (AutoScaleVCoresClient) ListByResourceGroup

func (client AutoScaleVCoresClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutoScaleVCoreListResult, err error)

ListByResourceGroup gets all the auto scale v-cores 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 (AutoScaleVCoresClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AutoScaleVCoresClient) ListByResourceGroupResponder

func (client AutoScaleVCoresClient) ListByResourceGroupResponder(resp *http.Response) (result AutoScaleVCoreListResult, err error)

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

func (AutoScaleVCoresClient) ListByResourceGroupSender

func (client AutoScaleVCoresClient) 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 (AutoScaleVCoresClient) ListBySubscription

func (client AutoScaleVCoresClient) ListBySubscription(ctx context.Context) (result AutoScaleVCoreListResult, err error)

ListBySubscription lists all the auto scale v-cores for the given subscription.

func (AutoScaleVCoresClient) ListBySubscriptionPreparer

func (client AutoScaleVCoresClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AutoScaleVCoresClient) ListBySubscriptionResponder

func (client AutoScaleVCoresClient) ListBySubscriptionResponder(resp *http.Response) (result AutoScaleVCoreListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AutoScaleVCoresClient) ListBySubscriptionSender

func (client AutoScaleVCoresClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (AutoScaleVCoresClient) Update

func (client AutoScaleVCoresClient) Update(ctx context.Context, resourceGroupName string, vcoreName string, vCoreUpdateParameters AutoScaleVCoreUpdateParameters) (result AutoScaleVCore, err error)

Update updates the current state of the specified auto scale v-core. 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. vcoreName - the name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63. vCoreUpdateParameters - request object that contains the updated information for the auto scale v-core.

func (AutoScaleVCoresClient) UpdatePreparer

func (client AutoScaleVCoresClient) UpdatePreparer(ctx context.Context, resourceGroupName string, vcoreName string, vCoreUpdateParameters AutoScaleVCoreUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AutoScaleVCoresClient) UpdateResponder

func (client AutoScaleVCoresClient) UpdateResponder(resp *http.Response) (result AutoScaleVCore, err error)

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

func (AutoScaleVCoresClient) UpdateSender

func (client AutoScaleVCoresClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type BaseClient

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

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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

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

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

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

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

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

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

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

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

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

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

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

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

type CapacitiesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CapacitiesClient) (DedicatedCapacity, error)
}

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

func (*CapacitiesCreateFuture) UnmarshalJSON

func (future *CapacitiesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacitiesDeleteFuture

type CapacitiesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CapacitiesClient) (autorest.Response, error)
}

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

func (*CapacitiesDeleteFuture) UnmarshalJSON

func (future *CapacitiesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacitiesResumeFuture

type CapacitiesResumeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CapacitiesClient) (autorest.Response, error)
}

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

func (*CapacitiesResumeFuture) UnmarshalJSON

func (future *CapacitiesResumeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacitiesSuspendFuture

type CapacitiesSuspendFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CapacitiesClient) (autorest.Response, error)
}

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

func (*CapacitiesSuspendFuture) UnmarshalJSON

func (future *CapacitiesSuspendFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacitiesUpdateFuture

type CapacitiesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CapacitiesClient) (DedicatedCapacity, error)
}

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

func (*CapacitiesUpdateFuture) UnmarshalJSON

func (future *CapacitiesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacityProvisioningState

type CapacityProvisioningState string

CapacityProvisioningState enumerates the values for capacity provisioning state.

const (
	// CapacityProvisioningStateDeleting ...
	CapacityProvisioningStateDeleting CapacityProvisioningState = "Deleting"
	// CapacityProvisioningStateFailed ...
	CapacityProvisioningStateFailed CapacityProvisioningState = "Failed"
	// CapacityProvisioningStatePaused ...
	CapacityProvisioningStatePaused CapacityProvisioningState = "Paused"
	// CapacityProvisioningStatePausing ...
	CapacityProvisioningStatePausing CapacityProvisioningState = "Pausing"
	// CapacityProvisioningStatePreparing ...
	CapacityProvisioningStatePreparing CapacityProvisioningState = "Preparing"
	// CapacityProvisioningStateProvisioning ...
	CapacityProvisioningStateProvisioning CapacityProvisioningState = "Provisioning"
	// CapacityProvisioningStateResuming ...
	CapacityProvisioningStateResuming CapacityProvisioningState = "Resuming"
	// CapacityProvisioningStateScaling ...
	CapacityProvisioningStateScaling CapacityProvisioningState = "Scaling"
	// CapacityProvisioningStateSucceeded ...
	CapacityProvisioningStateSucceeded CapacityProvisioningState = "Succeeded"
	// CapacityProvisioningStateSuspended ...
	CapacityProvisioningStateSuspended CapacityProvisioningState = "Suspended"
	// CapacityProvisioningStateSuspending ...
	CapacityProvisioningStateSuspending CapacityProvisioningState = "Suspending"
	// CapacityProvisioningStateUpdating ...
	CapacityProvisioningStateUpdating CapacityProvisioningState = "Updating"
)

func PossibleCapacityProvisioningStateValues

func PossibleCapacityProvisioningStateValues() []CapacityProvisioningState

PossibleCapacityProvisioningStateValues returns an array of possible values for the CapacityProvisioningState const type.

type CapacitySku

type CapacitySku 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: 'CapacitySkuTierPBIEAzure', 'CapacitySkuTierPremium', 'CapacitySkuTierAutoPremiumHost'
	Tier CapacitySkuTier `json:"tier,omitempty"`
}

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

type CapacitySkuTier

type CapacitySkuTier string

CapacitySkuTier enumerates the values for capacity sku tier.

const (
	// CapacitySkuTierAutoPremiumHost ...
	CapacitySkuTierAutoPremiumHost CapacitySkuTier = "AutoPremiumHost"
	// CapacitySkuTierPBIEAzure ...
	CapacitySkuTierPBIEAzure CapacitySkuTier = "PBIE_Azure"
	// CapacitySkuTierPremium ...
	CapacitySkuTierPremium CapacitySkuTier = "Premium"
)

func PossibleCapacitySkuTierValues

func PossibleCapacitySkuTierValues() []CapacitySkuTier

PossibleCapacitySkuTierValues returns an array of possible values for the CapacitySkuTier const type.

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 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

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:"-"`
	// Sku - The SKU of the PowerBI Dedicated capacity resource.
	Sku *CapacitySku `json:"sku,omitempty"`
	// 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"`
	// Tags - Key-value pairs of additional resource provisioning properties.
	Tags map[string]*string `json:"tags"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

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"`
	// Mode - The capacity mode. Possible values include: 'ModeGen1', 'ModeGen2'
	Mode Mode `json:"mode,omitempty"`
}

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

type DedicatedCapacityProperties

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: 'CapacityProvisioningStateDeleting', 'CapacityProvisioningStateSucceeded', 'CapacityProvisioningStateFailed', 'CapacityProvisioningStatePaused', 'CapacityProvisioningStateSuspended', 'CapacityProvisioningStateProvisioning', 'CapacityProvisioningStateUpdating', 'CapacityProvisioningStateSuspending', 'CapacityProvisioningStatePausing', 'CapacityProvisioningStateResuming', 'CapacityProvisioningStatePreparing', 'CapacityProvisioningStateScaling'
	ProvisioningState CapacityProvisioningState `json:"provisioningState,omitempty"`
	// Administration - A collection of Dedicated capacity administrators
	Administration *DedicatedCapacityAdministrators `json:"administration,omitempty"`
	// Mode - The capacity mode. Possible values include: 'ModeGen1', 'ModeGen2'
	Mode Mode `json:"mode,omitempty"`
}

DedicatedCapacityProperties properties of Dedicated Capacity resource.

func (DedicatedCapacityProperties) MarshalJSON

func (dcp DedicatedCapacityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCapacityProperties.

type DedicatedCapacityUpdateParameters

type DedicatedCapacityUpdateParameters struct {
	// Sku - The SKU of the Dedicated capacity resource.
	Sku *CapacitySku `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 {
	// Error - The error object
	Error *ErrorResponseError `json:"error,omitempty"`
}

ErrorResponse describes the format of Error response.

type ErrorResponseError

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

ErrorResponseError the error object

type IdentityType

type IdentityType string

IdentityType enumerates the values for identity type.

const (
	// IdentityTypeApplication ...
	IdentityTypeApplication IdentityType = "Application"
	// IdentityTypeKey ...
	IdentityTypeKey IdentityType = "Key"
	// IdentityTypeManagedIdentity ...
	IdentityTypeManagedIdentity IdentityType = "ManagedIdentity"
	// IdentityTypeUser ...
	IdentityTypeUser IdentityType = "User"
)

func PossibleIdentityTypeValues

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type Mode

type Mode string

Mode enumerates the values for mode.

const (
	// ModeGen1 ...
	ModeGen1 Mode = "Gen1"
	// ModeGen2 ...
	ModeGen2 Mode = "Gen2"
)

func PossibleModeValues

func PossibleModeValues() []Mode

PossibleModeValues returns an array of possible values for the Mode const type.

type Operation

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.

func (Operation) MarshalJSON

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

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.

func (OperationDisplay) MarshalJSON

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

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

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

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

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

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

func (OperationListResultIterator) Value

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(cur OperationListResult, 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

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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

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

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

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 Resource

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"`
	// Tags - Key-value pairs of additional resource provisioning properties.
	Tags map[string]*string `json:"tags"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Resource represents an instance of an PowerBI Dedicated resource.

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type SkuDetailsForExistingResource

type SkuDetailsForExistingResource struct {
	// Sku - The SKU in SKU details for existing resources.
	Sku *CapacitySku `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 *[]CapacitySku `json:"value,omitempty"`
}

SkuEnumerationForNewResourceResult an object that represents enumerating SKUs for new resources

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.

type SystemData

type SystemData struct {
	// CreatedBy - An identifier for the identity that created the resource
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey'
	CreatedByType IdentityType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC)
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - An identifier for the identity that last modified the resource
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey'
	LastModifiedByType IdentityType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type VCoreProvisioningState

type VCoreProvisioningState string

VCoreProvisioningState enumerates the values for v core provisioning state.

const (
	// VCoreProvisioningStateSucceeded ...
	VCoreProvisioningStateSucceeded VCoreProvisioningState = "Succeeded"
)

func PossibleVCoreProvisioningStateValues

func PossibleVCoreProvisioningStateValues() []VCoreProvisioningState

PossibleVCoreProvisioningStateValues returns an array of possible values for the VCoreProvisioningState const type.

type VCoreSkuTier

type VCoreSkuTier string

VCoreSkuTier enumerates the values for v core sku tier.

const (
	// VCoreSkuTierAutoScale ...
	VCoreSkuTierAutoScale VCoreSkuTier = "AutoScale"
)

func PossibleVCoreSkuTierValues

func PossibleVCoreSkuTierValues() []VCoreSkuTier

PossibleVCoreSkuTierValues returns an array of possible values for the VCoreSkuTier const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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