Documentation ¶
Index ¶
- func PossibleValuesForClusterProvisioningState() []string
- func PossibleValuesForClusterSkuName() []string
- func PossibleValuesForJobState() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type Cluster
- type ClusterId
- type ClusterJob
- type ClusterJobOperationPredicate
- type ClusterOperationPredicate
- type ClusterProperties
- type ClusterProvisioningState
- type ClusterSku
- type ClusterSkuName
- 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) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp 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, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ClustersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ClustersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ClustersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ClustersClient) ListStreamingJobs(ctx context.Context, id ClusterId) (resp ListStreamingJobsOperationResponse, err error)
- func (c ClustersClient) ListStreamingJobsComplete(ctx context.Context, id ClusterId) (ListStreamingJobsCompleteResult, error)
- func (c ClustersClient) ListStreamingJobsCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate ClusterJobOperationPredicate) (resp ListStreamingJobsCompleteResult, err error)
- func (c ClustersClient) Update(ctx context.Context, id ClusterId, input Cluster, ...) (result UpdateOperationResponse, err error)
- func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ClusterId, input Cluster, ...) error
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type JobState
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListStreamingJobsCompleteResult
- type ListStreamingJobsOperationResponse
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterProvisioningState ¶
func PossibleValuesForClusterProvisioningState() []string
func PossibleValuesForClusterSkuName ¶
func PossibleValuesForClusterSkuName() []string
func PossibleValuesForJobState ¶
func PossibleValuesForJobState() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type Cluster ¶
type Cluster struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` 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 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 ClusterJob ¶
type ClusterJobOperationPredicate ¶
func (ClusterJobOperationPredicate) Matches ¶
func (p ClusterJobOperationPredicate) Matches(input ClusterJob) bool
type ClusterOperationPredicate ¶
type ClusterOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ClusterOperationPredicate) Matches ¶
func (p ClusterOperationPredicate) Matches(input Cluster) bool
type ClusterProperties ¶
type ClusterProperties struct { CapacityAllocated *int64 `json:"capacityAllocated,omitempty"` CapacityAssigned *int64 `json:"capacityAssigned,omitempty"` ClusterId *string `json:"clusterId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` ProvisioningState *ClusterProvisioningState `json:"provisioningState,omitempty"` }
func (*ClusterProperties) GetCreatedDateAsTime ¶
func (o *ClusterProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ClusterProperties) SetCreatedDateAsTime ¶
func (o *ClusterProperties) SetCreatedDateAsTime(input time.Time)
type ClusterProvisioningState ¶
type ClusterProvisioningState string
const ( ClusterProvisioningStateCanceled ClusterProvisioningState = "Canceled" ClusterProvisioningStateFailed ClusterProvisioningState = "Failed" ClusterProvisioningStateInProgress ClusterProvisioningState = "InProgress" ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded" )
type ClusterSku ¶
type ClusterSku struct { Capacity *int64 `json:"capacity,omitempty"` Name *ClusterSkuName `json:"name,omitempty"` }
type ClusterSkuName ¶
type ClusterSkuName string
const (
ClusterSkuNameDefault ClusterSkuName = "Default"
)
type ClustersClient ¶
func NewClustersClientWithBaseURI ¶
func NewClustersClientWithBaseURI(endpoint string) ClustersClient
func (ClustersClient) CreateOrUpdate ¶
func (c ClustersClient) CreateOrUpdate(ctx context.Context, id ClusterId, input Cluster, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ClustersClient) CreateOrUpdateThenPoll ¶
func (c ClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster, options CreateOrUpdateOperationOptions) 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) ListByResourceGroup ¶
func (c ClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ClustersClient) ListByResourceGroupComplete ¶
func (c ClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ClustersClient) ListBySubscription ¶
func (c ClustersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ClustersClient) ListBySubscriptionComplete ¶
func (c ClustersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ClustersClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ClustersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ClustersClient) ListStreamingJobs ¶
func (c ClustersClient) ListStreamingJobs(ctx context.Context, id ClusterId) (resp ListStreamingJobsOperationResponse, err error)
ListStreamingJobs ...
func (ClustersClient) ListStreamingJobsComplete ¶
func (c ClustersClient) ListStreamingJobsComplete(ctx context.Context, id ClusterId) (ListStreamingJobsCompleteResult, error)
ListStreamingJobsComplete retrieves all of the results into a single object
func (ClustersClient) ListStreamingJobsCompleteMatchingPredicate ¶
func (c ClustersClient) ListStreamingJobsCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate ClusterJobOperationPredicate) (resp ListStreamingJobsCompleteResult, err error)
ListStreamingJobsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ClustersClient) Update ¶
func (c ClustersClient) Update(ctx context.Context, id ClusterId, input Cluster, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (ClustersClient) UpdateThenPoll ¶
func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ClusterId, input Cluster, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *Cluster }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type JobState ¶
type JobState string
const ( JobStateCreated JobState = "Created" JobStateDegraded JobState = "Degraded" JobStateDeleting JobState = "Deleting" JobStateFailed JobState = "Failed" JobStateRestarting JobState = "Restarting" JobStateRunning JobState = "Running" JobStateScaling JobState = "Scaling" JobStateStarting JobState = "Starting" JobStateStopped JobState = "Stopped" JobStateStopping JobState = "Stopping" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Cluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Cluster
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListStreamingJobsCompleteResult ¶
type ListStreamingJobsCompleteResult struct {
Items []ClusterJob
}
type ListStreamingJobsOperationResponse ¶
type ListStreamingJobsOperationResponse struct { HttpResponse *http.Response Model *[]ClusterJob // contains filtered or unexported fields }
func (ListStreamingJobsOperationResponse) HasMore ¶
func (r ListStreamingJobsOperationResponse) HasMore() bool
func (ListStreamingJobsOperationResponse) LoadMore ¶
func (r ListStreamingJobsOperationResponse) LoadMore(ctx context.Context) (resp ListStreamingJobsOperationResponse, err error)
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *Cluster }
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_liststreamingjobs_autorest.go
- method_update_autorest.go
- model_cluster.go
- model_clusterjob.go
- model_clusterproperties.go
- model_clustersku.go
- predicates.go
- version.go