Documentation ¶
Index ¶
- func PossibleValuesForCapacityProvisioningState() []string
- func PossibleValuesForCapacitySkuTier() []string
- func PossibleValuesForIdentityType() []string
- func PossibleValuesForMode() []string
- func PossibleValuesForState() []string
- func ValidateCapacitiesID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type CapacitiesClient
- func (c CapacitiesClient) CheckNameAvailability(ctx context.Context, id LocationId, ...) (result CheckNameAvailabilityResponse, err error)
- func (c CapacitiesClient) Create(ctx context.Context, id CapacitiesId, input DedicatedCapacity) (result CreateResponse, err error)
- func (c CapacitiesClient) CreateThenPoll(ctx context.Context, id CapacitiesId, input DedicatedCapacity) error
- func (c CapacitiesClient) Delete(ctx context.Context, id CapacitiesId) (result DeleteResponse, err error)
- func (c CapacitiesClient) DeleteThenPoll(ctx context.Context, id CapacitiesId) error
- func (c CapacitiesClient) GetDetails(ctx context.Context, id CapacitiesId) (result GetDetailsResponse, err error)
- func (c CapacitiesClient) List(ctx context.Context, id SubscriptionId) (result ListResponse, err error)
- func (c CapacitiesClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ListByResourceGroupResponse, err error)
- func (c CapacitiesClient) ListSkusForCapacity(ctx context.Context, id CapacitiesId) (result ListSkusForCapacityResponse, err error)
- func (c CapacitiesClient) Resume(ctx context.Context, id CapacitiesId) (result ResumeResponse, err error)
- func (c CapacitiesClient) ResumeThenPoll(ctx context.Context, id CapacitiesId) error
- func (c CapacitiesClient) Suspend(ctx context.Context, id CapacitiesId) (result SuspendResponse, err error)
- func (c CapacitiesClient) SuspendThenPoll(ctx context.Context, id CapacitiesId) error
- func (c CapacitiesClient) Update(ctx context.Context, id CapacitiesId, input DedicatedCapacityUpdateParameters) (result UpdateResponse, err error)
- func (c CapacitiesClient) UpdateThenPoll(ctx context.Context, id CapacitiesId, input DedicatedCapacityUpdateParameters) error
- type CapacitiesId
- type CapacityProvisioningState
- type CapacitySku
- type CapacitySkuTier
- type CheckCapacityNameAvailabilityParameters
- type CheckCapacityNameAvailabilityResult
- type CheckNameAvailabilityResponse
- type CreateResponse
- type DedicatedCapacities
- type DedicatedCapacity
- type DedicatedCapacityAdministrators
- type DedicatedCapacityMutableProperties
- type DedicatedCapacityProperties
- type DedicatedCapacityUpdateParameters
- type DeleteResponse
- type GetDetailsResponse
- type IdentityType
- type ListByResourceGroupResponse
- type ListResponse
- type ListSkusForCapacityResponse
- type LocationId
- type Mode
- type ResourceGroupId
- type ResumeResponse
- type SkuDetailsForExistingResource
- type SkuEnumerationForExistingResourceResult
- type State
- type SubscriptionId
- type SuspendResponse
- type SystemData
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCapacityProvisioningState ¶
func PossibleValuesForCapacityProvisioningState() []string
func PossibleValuesForCapacitySkuTier ¶
func PossibleValuesForCapacitySkuTier() []string
func PossibleValuesForIdentityType ¶
func PossibleValuesForIdentityType() []string
func PossibleValuesForMode ¶
func PossibleValuesForMode() []string
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateCapacitiesID ¶
ValidateCapacitiesID checks that 'input' can be parsed as a Capacities ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type CapacitiesClient ¶
func NewCapacitiesClientWithBaseURI ¶
func NewCapacitiesClientWithBaseURI(endpoint string) CapacitiesClient
func (CapacitiesClient) CheckNameAvailability ¶
func (c CapacitiesClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckCapacityNameAvailabilityParameters) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailability ...
func (CapacitiesClient) Create ¶
func (c CapacitiesClient) Create(ctx context.Context, id CapacitiesId, input DedicatedCapacity) (result CreateResponse, err error)
Create ...
func (CapacitiesClient) CreateThenPoll ¶
func (c CapacitiesClient) CreateThenPoll(ctx context.Context, id CapacitiesId, input DedicatedCapacity) error
CreateThenPoll performs Create then polls until it's completed
func (CapacitiesClient) Delete ¶
func (c CapacitiesClient) Delete(ctx context.Context, id CapacitiesId) (result DeleteResponse, err error)
Delete ...
func (CapacitiesClient) DeleteThenPoll ¶
func (c CapacitiesClient) DeleteThenPoll(ctx context.Context, id CapacitiesId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CapacitiesClient) GetDetails ¶
func (c CapacitiesClient) GetDetails(ctx context.Context, id CapacitiesId) (result GetDetailsResponse, err error)
GetDetails ...
func (CapacitiesClient) List ¶
func (c CapacitiesClient) List(ctx context.Context, id SubscriptionId) (result ListResponse, err error)
List ...
func (CapacitiesClient) ListByResourceGroup ¶
func (c CapacitiesClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (CapacitiesClient) ListSkusForCapacity ¶
func (c CapacitiesClient) ListSkusForCapacity(ctx context.Context, id CapacitiesId) (result ListSkusForCapacityResponse, err error)
ListSkusForCapacity ...
func (CapacitiesClient) Resume ¶
func (c CapacitiesClient) Resume(ctx context.Context, id CapacitiesId) (result ResumeResponse, err error)
Resume ...
func (CapacitiesClient) ResumeThenPoll ¶
func (c CapacitiesClient) ResumeThenPoll(ctx context.Context, id CapacitiesId) error
ResumeThenPoll performs Resume then polls until it's completed
func (CapacitiesClient) Suspend ¶
func (c CapacitiesClient) Suspend(ctx context.Context, id CapacitiesId) (result SuspendResponse, err error)
Suspend ...
func (CapacitiesClient) SuspendThenPoll ¶
func (c CapacitiesClient) SuspendThenPoll(ctx context.Context, id CapacitiesId) error
SuspendThenPoll performs Suspend then polls until it's completed
func (CapacitiesClient) Update ¶
func (c CapacitiesClient) Update(ctx context.Context, id CapacitiesId, input DedicatedCapacityUpdateParameters) (result UpdateResponse, err error)
Update ...
func (CapacitiesClient) UpdateThenPoll ¶
func (c CapacitiesClient) UpdateThenPoll(ctx context.Context, id CapacitiesId, input DedicatedCapacityUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type CapacitiesId ¶
type CapacitiesId struct { SubscriptionId string ResourceGroupName string DedicatedCapacityName string }
CapacitiesId is a struct representing the Resource ID for a Capacities
func NewCapacitiesID ¶
func NewCapacitiesID(subscriptionId string, resourceGroupName string, dedicatedCapacityName string) CapacitiesId
NewCapacitiesID returns a new CapacitiesId struct
func ParseCapacitiesID ¶
func ParseCapacitiesID(input string) (*CapacitiesId, error)
ParseCapacitiesID parses 'input' into a CapacitiesId
func ParseCapacitiesIDInsensitively ¶
func ParseCapacitiesIDInsensitively(input string) (*CapacitiesId, error)
ParseCapacitiesIDInsensitively parses 'input' case-insensitively into a CapacitiesId note: this method should only be used for API response data and not user input
func (CapacitiesId) Segments ¶
func (id CapacitiesId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capacities ID
func (CapacitiesId) String ¶
func (id CapacitiesId) String() string
String returns a human-readable description of this Capacities ID
type CapacityProvisioningState ¶
type CapacityProvisioningState string
const ( CapacityProvisioningStateDeleting CapacityProvisioningState = "Deleting" CapacityProvisioningStateFailed CapacityProvisioningState = "Failed" CapacityProvisioningStatePaused CapacityProvisioningState = "Paused" CapacityProvisioningStatePausing CapacityProvisioningState = "Pausing" CapacityProvisioningStatePreparing CapacityProvisioningState = "Preparing" CapacityProvisioningStateProvisioning CapacityProvisioningState = "Provisioning" CapacityProvisioningStateResuming CapacityProvisioningState = "Resuming" CapacityProvisioningStateScaling CapacityProvisioningState = "Scaling" CapacityProvisioningStateSucceeded CapacityProvisioningState = "Succeeded" CapacityProvisioningStateSuspended CapacityProvisioningState = "Suspended" CapacityProvisioningStateSuspending CapacityProvisioningState = "Suspending" CapacityProvisioningStateUpdating CapacityProvisioningState = "Updating" )
type CapacitySku ¶
type CapacitySku struct { Name string `json:"name"` Tier *CapacitySkuTier `json:"tier,omitempty"` }
type CapacitySkuTier ¶
type CapacitySkuTier string
const ( CapacitySkuTierAutoPremiumHost CapacitySkuTier = "AutoPremiumHost" CapacitySkuTierPBIEAzure CapacitySkuTier = "PBIE_Azure" CapacitySkuTierPremium CapacitySkuTier = "Premium" )
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { HttpResponse *http.Response Model *CheckCapacityNameAvailabilityResult }
type CreateResponse ¶
type CreateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DedicatedCapacities ¶
type DedicatedCapacities struct {
Value []DedicatedCapacity `json:"value"`
}
type DedicatedCapacity ¶
type DedicatedCapacity struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DedicatedCapacityProperties `json:"properties,omitempty"` Sku CapacitySku `json:"sku"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DedicatedCapacityAdministrators ¶
type DedicatedCapacityAdministrators struct {
Members *[]string `json:"members,omitempty"`
}
type DedicatedCapacityMutableProperties ¶
type DedicatedCapacityMutableProperties struct { Administration *DedicatedCapacityAdministrators `json:"administration,omitempty"` Mode *Mode `json:"mode,omitempty"` }
type DedicatedCapacityProperties ¶
type DedicatedCapacityProperties struct { Administration *DedicatedCapacityAdministrators `json:"administration,omitempty"` Mode *Mode `json:"mode,omitempty"` ProvisioningState *CapacityProvisioningState `json:"provisioningState,omitempty"` State *State `json:"state,omitempty"` }
type DedicatedCapacityUpdateParameters ¶
type DedicatedCapacityUpdateParameters struct { Properties *DedicatedCapacityMutableProperties `json:"properties,omitempty"` Sku *CapacitySku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetDetailsResponse ¶
type GetDetailsResponse struct { HttpResponse *http.Response Model *DedicatedCapacity }
type IdentityType ¶
type IdentityType string
const ( IdentityTypeApplication IdentityType = "Application" IdentityTypeKey IdentityType = "Key" IdentityTypeManagedIdentity IdentityType = "ManagedIdentity" IdentityTypeUser IdentityType = "User" )
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *DedicatedCapacities }
type ListResponse ¶
type ListResponse struct { HttpResponse *http.Response Model *DedicatedCapacities }
type ListSkusForCapacityResponse ¶
type ListSkusForCapacityResponse struct { HttpResponse *http.Response Model *SkuEnumerationForExistingResourceResult }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, location string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type ResumeResponse ¶
type ResumeResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SkuDetailsForExistingResource ¶
type SkuDetailsForExistingResource struct {
Sku *CapacitySku `json:"sku,omitempty"`
}
type SkuEnumerationForExistingResourceResult ¶
type SkuEnumerationForExistingResourceResult struct {
Value *[]SkuDetailsForExistingResource `json:"value,omitempty"`
}
type State ¶
type State string
const ( StateDeleting State = "Deleting" StateFailed State = "Failed" StatePaused State = "Paused" StatePausing State = "Pausing" StatePreparing State = "Preparing" StateProvisioning State = "Provisioning" StateResuming State = "Resuming" StateScaling State = "Scaling" StateSucceeded State = "Succeeded" StateSuspended State = "Suspended" StateSuspending State = "Suspending" StateUpdating State = "Updating" )
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SuspendResponse ¶
type SuspendResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *IdentityType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *IdentityType `json:"lastModifiedByType,omitempty"` }
type UpdateResponse ¶
type UpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_capacities.go
- id_location.go
- id_resourcegroup.go
- id_subscription.go
- method_checknameavailability_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_getdetails_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listskusforcapacity_autorest.go
- method_resume_autorest.go
- method_suspend_autorest.go
- method_update_autorest.go
- model_capacitysku.go
- model_checkcapacitynameavailabilityparameters.go
- model_checkcapacitynameavailabilityresult.go
- model_dedicatedcapacities.go
- model_dedicatedcapacity.go
- model_dedicatedcapacityadministrators.go
- model_dedicatedcapacitymutableproperties.go
- model_dedicatedcapacityproperties.go
- model_dedicatedcapacityupdateparameters.go
- model_skudetailsforexistingresource.go
- model_skuenumerationforexistingresourceresult.go
- model_systemdata.go
- version.go