Documentation ¶
Index ¶
- func PossibleValuesForCheckNameAvailabilityReason() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceState() []string
- func PossibleValuesForRpSkuTier() []string
- func ValidateCapacityID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapacityAdministration
- type CapacityId
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FabricCapacitiesClient
- func (c FabricCapacitiesClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
- func (c FabricCapacitiesClient) CreateOrUpdate(ctx context.Context, id CapacityId, input FabricCapacity) (result CreateOrUpdateOperationResponse, err error)
- func (c FabricCapacitiesClient) CreateOrUpdateThenPoll(ctx context.Context, id CapacityId, input FabricCapacity) error
- func (c FabricCapacitiesClient) Delete(ctx context.Context, id CapacityId) (result DeleteOperationResponse, err error)
- func (c FabricCapacitiesClient) DeleteThenPoll(ctx context.Context, id CapacityId) error
- func (c FabricCapacitiesClient) Get(ctx context.Context, id CapacityId) (result GetOperationResponse, err error)
- func (c FabricCapacitiesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c FabricCapacitiesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c FabricCapacitiesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c FabricCapacitiesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c FabricCapacitiesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c FabricCapacitiesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c FabricCapacitiesClient) ListSkus(ctx context.Context, id commonids.SubscriptionId) (result ListSkusOperationResponse, err error)
- func (c FabricCapacitiesClient) ListSkusComplete(ctx context.Context, id commonids.SubscriptionId) (ListSkusCompleteResult, error)
- func (c FabricCapacitiesClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListSkusCompleteResult, err error)
- func (c FabricCapacitiesClient) ListSkusForCapacity(ctx context.Context, id CapacityId) (result ListSkusForCapacityOperationResponse, err error)
- func (c FabricCapacitiesClient) ListSkusForCapacityComplete(ctx context.Context, id CapacityId) (ListSkusForCapacityCompleteResult, error)
- func (c FabricCapacitiesClient) ListSkusForCapacityCompleteMatchingPredicate(ctx context.Context, id CapacityId, ...) (result ListSkusForCapacityCompleteResult, err error)
- func (c FabricCapacitiesClient) Resume(ctx context.Context, id CapacityId) (result ResumeOperationResponse, err error)
- func (c FabricCapacitiesClient) ResumeThenPoll(ctx context.Context, id CapacityId) error
- func (c FabricCapacitiesClient) Suspend(ctx context.Context, id CapacityId) (result SuspendOperationResponse, err error)
- func (c FabricCapacitiesClient) SuspendThenPoll(ctx context.Context, id CapacityId) error
- func (c FabricCapacitiesClient) Update(ctx context.Context, id CapacityId, input FabricCapacityUpdate) (result UpdateOperationResponse, err error)
- func (c FabricCapacitiesClient) UpdateThenPoll(ctx context.Context, id CapacityId, input FabricCapacityUpdate) error
- type FabricCapacity
- type FabricCapacityOperationPredicate
- type FabricCapacityProperties
- type FabricCapacityUpdate
- type FabricCapacityUpdateProperties
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListSkusCompleteResult
- type ListSkusCustomPager
- type ListSkusForCapacityCompleteResult
- type ListSkusForCapacityCustomPager
- type ListSkusForCapacityOperationResponse
- type ListSkusOperationResponse
- type LocationId
- type ProvisioningState
- type ResourceState
- type ResumeOperationResponse
- type RpSku
- type RpSkuDetailsForExistingResource
- type RpSkuDetailsForExistingResourceOperationPredicate
- type RpSkuDetailsForNewResource
- type RpSkuDetailsForNewResourceOperationPredicate
- type RpSkuTier
- type SuspendOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCheckNameAvailabilityReason ¶
func PossibleValuesForCheckNameAvailabilityReason() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceState ¶
func PossibleValuesForResourceState() []string
func PossibleValuesForRpSkuTier ¶
func PossibleValuesForRpSkuTier() []string
func ValidateCapacityID ¶
ValidateCapacityID checks that 'input' can be parsed as a Capacity ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type CapacityAdministration ¶
type CapacityAdministration struct {
Members []string `json:"members"`
}
type CapacityId ¶
CapacityId is a struct representing the Resource ID for a Capacity
func NewCapacityID ¶
func NewCapacityID(subscriptionId string, resourceGroupName string, capacityName string) CapacityId
NewCapacityID returns a new CapacityId struct
func ParseCapacityID ¶
func ParseCapacityID(input string) (*CapacityId, error)
ParseCapacityID parses 'input' into a CapacityId
func ParseCapacityIDInsensitively ¶
func ParseCapacityIDInsensitively(input string) (*CapacityId, error)
ParseCapacityIDInsensitively parses 'input' case-insensitively into a CapacityId note: this method should only be used for API response data and not user input
func (*CapacityId) FromParseResult ¶
func (id *CapacityId) FromParseResult(input resourceids.ParseResult) error
func (CapacityId) Segments ¶
func (id CapacityId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capacity ID
func (CapacityId) String ¶
func (id CapacityId) String() string
String returns a human-readable description of this Capacity ID
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
func (*CheckNameAvailabilityReason) UnmarshalJSON ¶
func (s *CheckNameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` }
type DeleteOperationResponse ¶
type FabricCapacitiesClient ¶
type FabricCapacitiesClient struct {
Client *resourcemanager.Client
}
func NewFabricCapacitiesClientWithBaseURI ¶
func NewFabricCapacitiesClientWithBaseURI(sdkApi sdkEnv.Api) (*FabricCapacitiesClient, error)
func (FabricCapacitiesClient) CheckNameAvailability ¶
func (c FabricCapacitiesClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (FabricCapacitiesClient) CreateOrUpdate ¶
func (c FabricCapacitiesClient) CreateOrUpdate(ctx context.Context, id CapacityId, input FabricCapacity) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FabricCapacitiesClient) CreateOrUpdateThenPoll ¶
func (c FabricCapacitiesClient) CreateOrUpdateThenPoll(ctx context.Context, id CapacityId, input FabricCapacity) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FabricCapacitiesClient) Delete ¶
func (c FabricCapacitiesClient) Delete(ctx context.Context, id CapacityId) (result DeleteOperationResponse, err error)
Delete ...
func (FabricCapacitiesClient) DeleteThenPoll ¶
func (c FabricCapacitiesClient) DeleteThenPoll(ctx context.Context, id CapacityId) error
DeleteThenPoll performs Delete then polls until it's completed
func (FabricCapacitiesClient) Get ¶
func (c FabricCapacitiesClient) Get(ctx context.Context, id CapacityId) (result GetOperationResponse, err error)
Get ...
func (FabricCapacitiesClient) ListByResourceGroup ¶
func (c FabricCapacitiesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (FabricCapacitiesClient) ListByResourceGroupComplete ¶
func (c FabricCapacitiesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (FabricCapacitiesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c FabricCapacitiesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FabricCapacityOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FabricCapacitiesClient) ListBySubscription ¶
func (c FabricCapacitiesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (FabricCapacitiesClient) ListBySubscriptionComplete ¶
func (c FabricCapacitiesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (FabricCapacitiesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c FabricCapacitiesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FabricCapacityOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FabricCapacitiesClient) ListSkus ¶
func (c FabricCapacitiesClient) ListSkus(ctx context.Context, id commonids.SubscriptionId) (result ListSkusOperationResponse, err error)
ListSkus ...
func (FabricCapacitiesClient) ListSkusComplete ¶
func (c FabricCapacitiesClient) ListSkusComplete(ctx context.Context, id commonids.SubscriptionId) (ListSkusCompleteResult, error)
ListSkusComplete retrieves all the results into a single object
func (FabricCapacitiesClient) ListSkusCompleteMatchingPredicate ¶
func (c FabricCapacitiesClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate RpSkuDetailsForNewResourceOperationPredicate) (result ListSkusCompleteResult, err error)
ListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FabricCapacitiesClient) ListSkusForCapacity ¶
func (c FabricCapacitiesClient) ListSkusForCapacity(ctx context.Context, id CapacityId) (result ListSkusForCapacityOperationResponse, err error)
ListSkusForCapacity ...
func (FabricCapacitiesClient) ListSkusForCapacityComplete ¶
func (c FabricCapacitiesClient) ListSkusForCapacityComplete(ctx context.Context, id CapacityId) (ListSkusForCapacityCompleteResult, error)
ListSkusForCapacityComplete retrieves all the results into a single object
func (FabricCapacitiesClient) ListSkusForCapacityCompleteMatchingPredicate ¶
func (c FabricCapacitiesClient) ListSkusForCapacityCompleteMatchingPredicate(ctx context.Context, id CapacityId, predicate RpSkuDetailsForExistingResourceOperationPredicate) (result ListSkusForCapacityCompleteResult, err error)
ListSkusForCapacityCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FabricCapacitiesClient) Resume ¶
func (c FabricCapacitiesClient) Resume(ctx context.Context, id CapacityId) (result ResumeOperationResponse, err error)
Resume ...
func (FabricCapacitiesClient) ResumeThenPoll ¶
func (c FabricCapacitiesClient) ResumeThenPoll(ctx context.Context, id CapacityId) error
ResumeThenPoll performs Resume then polls until it's completed
func (FabricCapacitiesClient) Suspend ¶
func (c FabricCapacitiesClient) Suspend(ctx context.Context, id CapacityId) (result SuspendOperationResponse, err error)
Suspend ...
func (FabricCapacitiesClient) SuspendThenPoll ¶
func (c FabricCapacitiesClient) SuspendThenPoll(ctx context.Context, id CapacityId) error
SuspendThenPoll performs Suspend then polls until it's completed
func (FabricCapacitiesClient) Update ¶
func (c FabricCapacitiesClient) Update(ctx context.Context, id CapacityId, input FabricCapacityUpdate) (result UpdateOperationResponse, err error)
Update ...
func (FabricCapacitiesClient) UpdateThenPoll ¶
func (c FabricCapacitiesClient) UpdateThenPoll(ctx context.Context, id CapacityId, input FabricCapacityUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type FabricCapacity ¶
type FabricCapacity struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties FabricCapacityProperties `json:"properties"` Sku RpSku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type FabricCapacityOperationPredicate ¶
type FabricCapacityOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (FabricCapacityOperationPredicate) Matches ¶
func (p FabricCapacityOperationPredicate) Matches(input FabricCapacity) bool
type FabricCapacityProperties ¶
type FabricCapacityProperties struct { Administration CapacityAdministration `json:"administration"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` State *ResourceState `json:"state,omitempty"` }
type FabricCapacityUpdate ¶
type FabricCapacityUpdate struct { Properties *FabricCapacityUpdateProperties `json:"properties,omitempty"` Sku *RpSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type FabricCapacityUpdateProperties ¶
type FabricCapacityUpdateProperties struct {
Administration *CapacityAdministration `json:"administration,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FabricCapacity }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []FabricCapacity }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FabricCapacity }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []FabricCapacity }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FabricCapacity }
type ListSkusCompleteResult ¶
type ListSkusCompleteResult struct { LatestHttpResponse *http.Response Items []RpSkuDetailsForNewResource }
type ListSkusCustomPager ¶
func (*ListSkusCustomPager) NextPageLink ¶
func (p *ListSkusCustomPager) NextPageLink() *odata.Link
type ListSkusForCapacityCompleteResult ¶
type ListSkusForCapacityCompleteResult struct { LatestHttpResponse *http.Response Items []RpSkuDetailsForExistingResource }
type ListSkusForCapacityCustomPager ¶
func (*ListSkusForCapacityCustomPager) NextPageLink ¶
func (p *ListSkusForCapacityCustomPager) NextPageLink() *odata.Link
type ListSkusForCapacityOperationResponse ¶
type ListSkusForCapacityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RpSkuDetailsForExistingResource }
type ListSkusOperationResponse ¶
type ListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RpSkuDetailsForNewResource }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName 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) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourceState ¶
type ResourceState string
const ( ResourceStateActive ResourceState = "Active" ResourceStateDeleting ResourceState = "Deleting" ResourceStateFailed ResourceState = "Failed" ResourceStatePaused ResourceState = "Paused" ResourceStatePausing ResourceState = "Pausing" ResourceStatePreparing ResourceState = "Preparing" ResourceStateProvisioning ResourceState = "Provisioning" ResourceStateResuming ResourceState = "Resuming" ResourceStateScaling ResourceState = "Scaling" ResourceStateSuspended ResourceState = "Suspended" ResourceStateSuspending ResourceState = "Suspending" ResourceStateUpdating ResourceState = "Updating" )
func (*ResourceState) UnmarshalJSON ¶
func (s *ResourceState) UnmarshalJSON(bytes []byte) error
type ResumeOperationResponse ¶
type RpSkuDetailsForExistingResourceOperationPredicate ¶
type RpSkuDetailsForExistingResourceOperationPredicate struct {
ResourceType *string
}
func (RpSkuDetailsForExistingResourceOperationPredicate) Matches ¶
func (p RpSkuDetailsForExistingResourceOperationPredicate) Matches(input RpSkuDetailsForExistingResource) bool
type RpSkuDetailsForNewResourceOperationPredicate ¶
func (RpSkuDetailsForNewResourceOperationPredicate) Matches ¶
func (p RpSkuDetailsForNewResourceOperationPredicate) Matches(input RpSkuDetailsForNewResource) bool
type RpSkuTier ¶
type RpSkuTier string
const (
RpSkuTierFabric RpSkuTier = "Fabric"
)
func (*RpSkuTier) UnmarshalJSON ¶
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_capacity.go
- id_location.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listskus.go
- method_listskusforcapacity.go
- method_resume.go
- method_suspend.go
- method_update.go
- model_capacityadministration.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresponse.go
- model_fabriccapacity.go
- model_fabriccapacityproperties.go
- model_fabriccapacityupdate.go
- model_fabriccapacityupdateproperties.go
- model_rpsku.go
- model_rpskudetailsforexistingresource.go
- model_rpskudetailsfornewresource.go
- predicates.go
- version.go