Documentation ¶
Index ¶
- func PossibleValuesForBillingType() []string
- func PossibleValuesForCapacity() []int64
- func PossibleValuesForClusterEntityStatus() []string
- func PossibleValuesForClusterSkuNameEnum() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type AssociatedWorkspace
- type BillingType
- type Capacity
- type CapacityReservationProperties
- type Cluster
- type ClusterEntityStatus
- type ClusterId
- type ClusterOperationPredicate
- type ClusterPatch
- type ClusterPatchProperties
- type ClusterProperties
- type ClusterSku
- type ClusterSkuNameEnum
- type ClustersClient
- func (c ClustersClient) CreateOrUpdate(ctx context.Context, id ClusterId, input Cluster) (result CreateOrUpdateOperationResponse, err error)
- func (c ClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
- func (c ClustersClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)
- func (c ClustersClient) DeleteThenPoll(ctx context.Context, id ClusterId) error
- func (c ClustersClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)
- func (c ClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c ClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c ClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c ClustersClient) Update(ctx context.Context, id ClusterId, input ClusterPatch) (result UpdateOperationResponse, err error)
- func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ClusterId, input ClusterPatch) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyVaultProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingType ¶
func PossibleValuesForBillingType() []string
func PossibleValuesForCapacity ¶
func PossibleValuesForCapacity() []int64
func PossibleValuesForClusterEntityStatus ¶
func PossibleValuesForClusterEntityStatus() []string
func PossibleValuesForClusterSkuNameEnum ¶
func PossibleValuesForClusterSkuNameEnum() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type AssociatedWorkspace ¶
type BillingType ¶
type BillingType string
const ( BillingTypeCluster BillingType = "Cluster" BillingTypeWorkspaces BillingType = "Workspaces" )
func (*BillingType) UnmarshalJSON ¶
func (s *BillingType) UnmarshalJSON(bytes []byte) error
type Cluster ¶
type Cluster struct { Id *string `json:"id,omitempty"` Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` Sku *ClusterSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ClusterEntityStatus ¶
type ClusterEntityStatus string
const ( ClusterEntityStatusCanceled ClusterEntityStatus = "Canceled" ClusterEntityStatusCreating ClusterEntityStatus = "Creating" ClusterEntityStatusDeleting ClusterEntityStatus = "Deleting" ClusterEntityStatusFailed ClusterEntityStatus = "Failed" ClusterEntityStatusProvisioningAccount ClusterEntityStatus = "ProvisioningAccount" ClusterEntityStatusSucceeded ClusterEntityStatus = "Succeeded" ClusterEntityStatusUpdating ClusterEntityStatus = "Updating" )
func (*ClusterEntityStatus) UnmarshalJSON ¶
func (s *ClusterEntityStatus) UnmarshalJSON(bytes []byte) error
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (*ClusterId) FromParseResult ¶
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type ClusterOperationPredicate ¶
func (ClusterOperationPredicate) Matches ¶
func (p ClusterOperationPredicate) Matches(input Cluster) bool
type ClusterPatch ¶
type ClusterPatch struct { Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Properties *ClusterPatchProperties `json:"properties,omitempty"` Sku *ClusterSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ClusterPatchProperties ¶
type ClusterPatchProperties struct { BillingType *BillingType `json:"billingType,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` }
type ClusterProperties ¶
type ClusterProperties struct { AssociatedWorkspaces *[]AssociatedWorkspace `json:"associatedWorkspaces,omitempty"` BillingType *BillingType `json:"billingType,omitempty"` CapacityReservationProperties *CapacityReservationProperties `json:"capacityReservationProperties,omitempty"` ClusterId *string `json:"clusterId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` IsAvailabilityZonesEnabled *bool `json:"isAvailabilityZonesEnabled,omitempty"` IsDoubleEncryptionEnabled *bool `json:"isDoubleEncryptionEnabled,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` LastModifiedDate *string `json:"lastModifiedDate,omitempty"` ProvisioningState *ClusterEntityStatus `json:"provisioningState,omitempty"` }
type ClusterSku ¶
type ClusterSku struct { Capacity *Capacity `json:"capacity,omitempty"` Name *ClusterSkuNameEnum `json:"name,omitempty"` }
type ClusterSkuNameEnum ¶
type ClusterSkuNameEnum string
const (
ClusterSkuNameEnumCapacityReservation ClusterSkuNameEnum = "CapacityReservation"
)
func (*ClusterSkuNameEnum) UnmarshalJSON ¶
func (s *ClusterSkuNameEnum) UnmarshalJSON(bytes []byte) error
type ClustersClient ¶
type ClustersClient struct {
Client *resourcemanager.Client
}
func NewClustersClientWithBaseURI ¶
func NewClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*ClustersClient, error)
func (ClustersClient) CreateOrUpdate ¶
func (c ClustersClient) CreateOrUpdate(ctx context.Context, id ClusterId, input Cluster) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ClustersClient) CreateOrUpdateThenPoll ¶
func (c ClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ClustersClient) Delete ¶
func (c ClustersClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (ClustersClient) DeleteThenPoll ¶
func (c ClustersClient) DeleteThenPoll(ctx context.Context, id ClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ClustersClient) Get ¶
func (c ClustersClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)
Get ...
func (ClustersClient) List ¶
func (c ClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (ClustersClient) ListByResourceGroup ¶
func (c ClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ClustersClient) ListByResourceGroupComplete ¶
func (c ClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ClustersClient) ListComplete ¶
func (c ClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ClustersClient) ListCompleteMatchingPredicate ¶
func (c ClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ClustersClient) Update ¶
func (c ClustersClient) Update(ctx context.Context, id ClusterId, input ClusterPatch) (result UpdateOperationResponse, err error)
Update ...
func (ClustersClient) UpdateThenPoll ¶
func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ClusterId, input ClusterPatch) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type KeyVaultProperties ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_associatedworkspace.go
- model_capacityreservationproperties.go
- model_cluster.go
- model_clusterpatch.go
- model_clusterpatchproperties.go
- model_clusterproperties.go
- model_clustersku.go
- model_keyvaultproperties.go
- predicates.go
- version.go