Documentation ¶
Index ¶
- func PossibleValuesForVCoreProvisioningState() []string
- func PossibleValuesForVCoreSkuTier() []string
- func ValidateAutoScaleVCoreID(input interface{}, key string) (warnings []string, errors []error)
- type AutoScaleVCore
- type AutoScaleVCoreId
- type AutoScaleVCoreListResult
- type AutoScaleVCoreMutableProperties
- type AutoScaleVCoreProperties
- type AutoScaleVCoreSku
- type AutoScaleVCoreUpdateParameters
- type AutoScaleVCoresClient
- func (c AutoScaleVCoresClient) Create(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCore) (result CreateOperationResponse, err error)
- func (c AutoScaleVCoresClient) Delete(ctx context.Context, id AutoScaleVCoreId) (result DeleteOperationResponse, err error)
- func (c AutoScaleVCoresClient) Get(ctx context.Context, id AutoScaleVCoreId) (result GetOperationResponse, err error)
- func (c AutoScaleVCoresClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AutoScaleVCoresClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AutoScaleVCoresClient) Update(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCoreUpdateParameters) (result UpdateOperationResponse, err error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionOperationResponse
- type UpdateOperationResponse
- type VCoreProvisioningState
- type VCoreSkuTier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVCoreProvisioningState ¶
func PossibleValuesForVCoreProvisioningState() []string
func PossibleValuesForVCoreSkuTier ¶
func PossibleValuesForVCoreSkuTier() []string
func ValidateAutoScaleVCoreID ¶
ValidateAutoScaleVCoreID checks that 'input' can be parsed as a Auto Scale V Core ID
Types ¶
type AutoScaleVCore ¶
type AutoScaleVCore struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AutoScaleVCoreProperties `json:"properties,omitempty"` Sku AutoScaleVCoreSku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AutoScaleVCoreId ¶
type AutoScaleVCoreId struct { SubscriptionId string ResourceGroupName string AutoScaleVCoreName string }
AutoScaleVCoreId is a struct representing the Resource ID for a Auto Scale V Core
func NewAutoScaleVCoreID ¶
func NewAutoScaleVCoreID(subscriptionId string, resourceGroupName string, autoScaleVCoreName string) AutoScaleVCoreId
NewAutoScaleVCoreID returns a new AutoScaleVCoreId struct
func ParseAutoScaleVCoreID ¶
func ParseAutoScaleVCoreID(input string) (*AutoScaleVCoreId, error)
ParseAutoScaleVCoreID parses 'input' into a AutoScaleVCoreId
func ParseAutoScaleVCoreIDInsensitively ¶
func ParseAutoScaleVCoreIDInsensitively(input string) (*AutoScaleVCoreId, error)
ParseAutoScaleVCoreIDInsensitively parses 'input' case-insensitively into a AutoScaleVCoreId note: this method should only be used for API response data and not user input
func (*AutoScaleVCoreId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AutoScaleVCoreId) FromParseResult(input resourceids.ParseResult) error
func (AutoScaleVCoreId) ID ¶
func (id AutoScaleVCoreId) ID() string
ID returns the formatted Auto Scale V Core ID
func (AutoScaleVCoreId) Segments ¶
func (id AutoScaleVCoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Auto Scale V Core ID
func (AutoScaleVCoreId) String ¶
func (id AutoScaleVCoreId) String() string
String returns a human-readable description of this Auto Scale V Core ID
type AutoScaleVCoreListResult ¶
type AutoScaleVCoreListResult struct {
Value []AutoScaleVCore `json:"value"`
}
type AutoScaleVCoreMutableProperties ¶
type AutoScaleVCoreMutableProperties struct {
CapacityLimit *int64 `json:"capacityLimit,omitempty"`
}
type AutoScaleVCoreProperties ¶
type AutoScaleVCoreProperties struct { CapacityLimit *int64 `json:"capacityLimit,omitempty"` CapacityObjectId *string `json:"capacityObjectId,omitempty"` ProvisioningState *VCoreProvisioningState `json:"provisioningState,omitempty"` }
type AutoScaleVCoreSku ¶
type AutoScaleVCoreSku struct { Capacity *int64 `json:"capacity,omitempty"` Name string `json:"name"` Tier *VCoreSkuTier `json:"tier,omitempty"` }
type AutoScaleVCoreUpdateParameters ¶
type AutoScaleVCoreUpdateParameters struct { Properties *AutoScaleVCoreMutableProperties `json:"properties,omitempty"` Sku *AutoScaleVCoreSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AutoScaleVCoresClient ¶
type AutoScaleVCoresClient struct {
Client *resourcemanager.Client
}
func NewAutoScaleVCoresClientWithBaseURI ¶
func NewAutoScaleVCoresClientWithBaseURI(sdkApi sdkEnv.Api) (*AutoScaleVCoresClient, error)
func (AutoScaleVCoresClient) Create ¶
func (c AutoScaleVCoresClient) Create(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCore) (result CreateOperationResponse, err error)
Create ...
func (AutoScaleVCoresClient) Delete ¶
func (c AutoScaleVCoresClient) Delete(ctx context.Context, id AutoScaleVCoreId) (result DeleteOperationResponse, err error)
Delete ...
func (AutoScaleVCoresClient) Get ¶
func (c AutoScaleVCoresClient) Get(ctx context.Context, id AutoScaleVCoreId) (result GetOperationResponse, err error)
Get ...
func (AutoScaleVCoresClient) ListByResourceGroup ¶
func (c AutoScaleVCoresClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AutoScaleVCoresClient) ListBySubscription ¶
func (c AutoScaleVCoresClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AutoScaleVCoresClient) Update ¶
func (c AutoScaleVCoresClient) Update(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCoreUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutoScaleVCore }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutoScaleVCore }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutoScaleVCoreListResult }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutoScaleVCoreListResult }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutoScaleVCore }
type VCoreProvisioningState ¶
type VCoreProvisioningState string
const (
VCoreProvisioningStateSucceeded VCoreProvisioningState = "Succeeded"
)
func (*VCoreProvisioningState) UnmarshalJSON ¶ added in v0.20230725.1205316
func (s *VCoreProvisioningState) UnmarshalJSON(bytes []byte) error
type VCoreSkuTier ¶
type VCoreSkuTier string
const (
VCoreSkuTierAutoScale VCoreSkuTier = "AutoScale"
)
func (*VCoreSkuTier) UnmarshalJSON ¶ added in v0.20230725.1205316
func (s *VCoreSkuTier) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_autoscalevcore.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_autoscalevcore.go
- model_autoscalevcorelistresult.go
- model_autoscalevcoremutableproperties.go
- model_autoscalevcoreproperties.go
- model_autoscalevcoresku.go
- model_autoscalevcoreupdateparameters.go
- version.go