Documentation ¶
Index ¶
- func PossibleValuesForClusterSkuName() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStartDayOfWeek() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type Cluster
- type ClusterId
- type ClusterOperationPredicate
- type ClusterProperties
- type ClusterSku
- type ClusterSkuName
- type ClustersCreateOrUpdateOperationResponse
- type ClustersDeleteOperationResponse
- type ClustersGetOperationResponse
- type ClustersListByResourceGroupCompleteResult
- type ClustersListByResourceGroupOperationResponse
- type ClustersListBySubscriptionCompleteResult
- type ClustersListBySubscriptionOperationResponse
- type ClustersUpdateOperationResponse
- type EventHubsClustersClient
- func (c EventHubsClustersClient) ClustersCreateOrUpdate(ctx context.Context, id ClusterId, input Cluster) (result ClustersCreateOrUpdateOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersCreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
- func (c EventHubsClustersClient) ClustersDelete(ctx context.Context, id ClusterId) (result ClustersDeleteOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersDeleteThenPoll(ctx context.Context, id ClusterId) error
- func (c EventHubsClustersClient) ClustersGet(ctx context.Context, id ClusterId) (result ClustersGetOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ClustersListByResourceGroupOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ClustersListByResourceGroupCompleteResult, error)
- func (c EventHubsClustersClient) ClustersListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ClustersListByResourceGroupCompleteResult, err error)
- func (c EventHubsClustersClient) ClustersListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ClustersListBySubscriptionOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ClustersListBySubscriptionCompleteResult, error)
- func (c EventHubsClustersClient) ClustersListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ClustersListBySubscriptionCompleteResult, err error)
- func (c EventHubsClustersClient) ClustersUpdate(ctx context.Context, id ClusterId, input Cluster) (result ClustersUpdateOperationResponse, err error)
- func (c EventHubsClustersClient) ClustersUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
- type ProvisioningState
- type StartDayOfWeek
- type UpgradePreferences
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterSkuName ¶
func PossibleValuesForClusterSkuName() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStartDayOfWeek ¶
func PossibleValuesForStartDayOfWeek() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type Cluster ¶
type Cluster struct { 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"` SystemData *systemdata.SystemData `json:"systemData,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 ClusterOperationPredicate ¶
func (ClusterOperationPredicate) Matches ¶
func (p ClusterOperationPredicate) Matches(input Cluster) bool
type ClusterProperties ¶
type ClusterProperties struct { CreatedAt *string `json:"createdAt,omitempty"` MetricId *string `json:"metricId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *string `json:"status,omitempty"` SupportsScaling *bool `json:"supportsScaling,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` UpgradePreferences *UpgradePreferences `json:"upgradePreferences,omitempty"` }
type ClusterSku ¶
type ClusterSku struct { Capacity *int64 `json:"capacity,omitempty"` Name ClusterSkuName `json:"name"` }
type ClusterSkuName ¶
type ClusterSkuName string
const (
ClusterSkuNameDedicated ClusterSkuName = "Dedicated"
)
func (*ClusterSkuName) UnmarshalJSON ¶
func (s *ClusterSkuName) UnmarshalJSON(bytes []byte) error
type EventHubsClustersClient ¶
type EventHubsClustersClient struct {
Client *resourcemanager.Client
}
func NewEventHubsClustersClientWithBaseURI ¶
func NewEventHubsClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*EventHubsClustersClient, error)
func (EventHubsClustersClient) ClustersCreateOrUpdate ¶
func (c EventHubsClustersClient) ClustersCreateOrUpdate(ctx context.Context, id ClusterId, input Cluster) (result ClustersCreateOrUpdateOperationResponse, err error)
ClustersCreateOrUpdate ...
func (EventHubsClustersClient) ClustersCreateOrUpdateThenPoll ¶
func (c EventHubsClustersClient) ClustersCreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
ClustersCreateOrUpdateThenPoll performs ClustersCreateOrUpdate then polls until it's completed
func (EventHubsClustersClient) ClustersDelete ¶
func (c EventHubsClustersClient) ClustersDelete(ctx context.Context, id ClusterId) (result ClustersDeleteOperationResponse, err error)
ClustersDelete ...
func (EventHubsClustersClient) ClustersDeleteThenPoll ¶
func (c EventHubsClustersClient) ClustersDeleteThenPoll(ctx context.Context, id ClusterId) error
ClustersDeleteThenPoll performs ClustersDelete then polls until it's completed
func (EventHubsClustersClient) ClustersGet ¶
func (c EventHubsClustersClient) ClustersGet(ctx context.Context, id ClusterId) (result ClustersGetOperationResponse, err error)
ClustersGet ...
func (EventHubsClustersClient) ClustersListByResourceGroup ¶
func (c EventHubsClustersClient) ClustersListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ClustersListByResourceGroupOperationResponse, err error)
ClustersListByResourceGroup ...
func (EventHubsClustersClient) ClustersListByResourceGroupComplete ¶
func (c EventHubsClustersClient) ClustersListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ClustersListByResourceGroupCompleteResult, error)
ClustersListByResourceGroupComplete retrieves all the results into a single object
func (EventHubsClustersClient) ClustersListByResourceGroupCompleteMatchingPredicate ¶
func (c EventHubsClustersClient) ClustersListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (result ClustersListByResourceGroupCompleteResult, err error)
ClustersListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EventHubsClustersClient) ClustersListBySubscription ¶
func (c EventHubsClustersClient) ClustersListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ClustersListBySubscriptionOperationResponse, err error)
ClustersListBySubscription ...
func (EventHubsClustersClient) ClustersListBySubscriptionComplete ¶
func (c EventHubsClustersClient) ClustersListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ClustersListBySubscriptionCompleteResult, error)
ClustersListBySubscriptionComplete retrieves all the results into a single object
func (EventHubsClustersClient) ClustersListBySubscriptionCompleteMatchingPredicate ¶
func (c EventHubsClustersClient) ClustersListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (result ClustersListBySubscriptionCompleteResult, err error)
ClustersListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EventHubsClustersClient) ClustersUpdate ¶
func (c EventHubsClustersClient) ClustersUpdate(ctx context.Context, id ClusterId, input Cluster) (result ClustersUpdateOperationResponse, err error)
ClustersUpdate ...
func (EventHubsClustersClient) ClustersUpdateThenPoll ¶
func (c EventHubsClustersClient) ClustersUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error
ClustersUpdateThenPoll performs ClustersUpdate then polls until it's completed
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateActive ProvisioningState = "Active" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateScaling ProvisioningState = "Scaling" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type StartDayOfWeek ¶
type StartDayOfWeek string
const ( StartDayOfWeekAny StartDayOfWeek = "Any" StartDayOfWeekFriday StartDayOfWeek = "Friday" StartDayOfWeekMonday StartDayOfWeek = "Monday" StartDayOfWeekSaturday StartDayOfWeek = "Saturday" StartDayOfWeekSunday StartDayOfWeek = "Sunday" StartDayOfWeekThursday StartDayOfWeek = "Thursday" StartDayOfWeekTuesday StartDayOfWeek = "Tuesday" StartDayOfWeekWednesday StartDayOfWeek = "Wednesday" )
func (*StartDayOfWeek) UnmarshalJSON ¶
func (s *StartDayOfWeek) UnmarshalJSON(bytes []byte) error
type UpgradePreferences ¶
type UpgradePreferences struct { StartDayOfWeek *StartDayOfWeek `json:"startDayOfWeek,omitempty"` StartHourOfDay *int64 `json:"startHourOfDay,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- method_clusterscreateorupdate.go
- method_clustersdelete.go
- method_clustersget.go
- method_clusterslistbyresourcegroup.go
- method_clusterslistbysubscription.go
- method_clustersupdate.go
- model_cluster.go
- model_clusterproperties.go
- model_clustersku.go
- model_upgradepreferences.go
- predicates.go
- version.go