Documentation
¶
Index ¶
- func PossibleValuesForIdentityType() []string
- func PossibleValuesForVCoreProvisioningState() []string
- func PossibleValuesForVCoreSkuTier() []string
- func ValidateAutoScaleVCoreID(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 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 CreateResponse, err error)
- func (c AutoScaleVCoresClient) Delete(ctx context.Context, id AutoScaleVCoreId) (result DeleteResponse, err error)
- func (c AutoScaleVCoresClient) Get(ctx context.Context, id AutoScaleVCoreId) (result GetResponse, err error)
- func (c AutoScaleVCoresClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ListByResourceGroupResponse, err error)
- func (c AutoScaleVCoresClient) ListBySubscription(ctx context.Context, id SubscriptionId) (result ListBySubscriptionResponse, err error)
- func (c AutoScaleVCoresClient) Update(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCoreUpdateParameters) (result UpdateResponse, err error)
- type CreateResponse
- type DeleteResponse
- type GetResponse
- type IdentityType
- type ListByResourceGroupResponse
- type ListBySubscriptionResponse
- type ResourceGroupId
- type SubscriptionId
- type SystemData
- type UpdateResponse
- type VCoreProvisioningState
- type VCoreSkuTier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIdentityType ¶
func PossibleValuesForIdentityType() []string
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
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 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 `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AutoScaleVCoreId ¶
AutoScaleVCoreId is a struct representing the Resource ID for a Auto Scale V Core
func NewAutoScaleVCoreID ¶
func NewAutoScaleVCoreID(subscriptionId string, resourceGroupName string, vcoreName 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) 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 autorest.Client // contains filtered or unexported fields }
func NewAutoScaleVCoresClientWithBaseURI ¶
func NewAutoScaleVCoresClientWithBaseURI(endpoint string) AutoScaleVCoresClient
func (AutoScaleVCoresClient) Create ¶
func (c AutoScaleVCoresClient) Create(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCore) (result CreateResponse, err error)
Create ...
func (AutoScaleVCoresClient) Delete ¶
func (c AutoScaleVCoresClient) Delete(ctx context.Context, id AutoScaleVCoreId) (result DeleteResponse, err error)
Delete ...
func (AutoScaleVCoresClient) Get ¶
func (c AutoScaleVCoresClient) Get(ctx context.Context, id AutoScaleVCoreId) (result GetResponse, err error)
Get ...
func (AutoScaleVCoresClient) ListByResourceGroup ¶
func (c AutoScaleVCoresClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (AutoScaleVCoresClient) ListBySubscription ¶
func (c AutoScaleVCoresClient) ListBySubscription(ctx context.Context, id SubscriptionId) (result ListBySubscriptionResponse, err error)
ListBySubscription ...
func (AutoScaleVCoresClient) Update ¶
func (c AutoScaleVCoresClient) Update(ctx context.Context, id AutoScaleVCoreId, input AutoScaleVCoreUpdateParameters) (result UpdateResponse, err error)
Update ...
type CreateResponse ¶
type CreateResponse struct { HttpResponse *http.Response Model *AutoScaleVCore }
type DeleteResponse ¶
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *AutoScaleVCore }
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 *AutoScaleVCoreListResult }
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *AutoScaleVCoreListResult }
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 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 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 { HttpResponse *http.Response Model *AutoScaleVCore }
type VCoreProvisioningState ¶
type VCoreProvisioningState string
const (
VCoreProvisioningStateSucceeded VCoreProvisioningState = "Succeeded"
)
type VCoreSkuTier ¶
type VCoreSkuTier string
const (
VCoreSkuTierAutoScale VCoreSkuTier = "AutoScale"
)
Source Files
¶
- client.go
- constants.go
- id_autoscalevcore.go
- id_resourcegroup.go
- id_subscription.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_autoscalevcore.go
- model_autoscalevcorelistresult.go
- model_autoscalevcoremutableproperties.go
- model_autoscalevcoreproperties.go
- model_autoscalevcoresku.go
- model_autoscalevcoreupdateparameters.go
- model_systemdata.go
- version.go