Documentation ¶
Index ¶
- func PossibleValuesForClusterSkuName() []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) (resp 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, ...) (resp ClustersListByResourceGroupCompleteResult, err error)
- func (c EventHubsClustersClient) ClustersListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp 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, ...) (resp 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterSkuName ¶
func PossibleValuesForClusterSkuName() []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"` Sku *ClusterSku `json:"sku"` 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) 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 ClusterSku ¶
type ClusterSku struct { Capacity *int64 `json:"capacity,omitempty"` Name ClusterSkuName `json:"name"` }
type ClusterSkuName ¶
type ClusterSkuName string
const (
ClusterSkuNameDedicated ClusterSkuName = "Dedicated"
)
type ClustersCreateOrUpdateOperationResponse ¶
type ClustersCreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ClustersDeleteOperationResponse ¶
type ClustersDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ClustersListByResourceGroupCompleteResult ¶
type ClustersListByResourceGroupCompleteResult struct {
Items []Cluster
}
type ClustersListByResourceGroupOperationResponse ¶
type ClustersListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ClustersListByResourceGroupOperationResponse) HasMore ¶
func (r ClustersListByResourceGroupOperationResponse) HasMore() bool
func (ClustersListByResourceGroupOperationResponse) LoadMore ¶
func (r ClustersListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ClustersListByResourceGroupOperationResponse, err error)
type ClustersListBySubscriptionCompleteResult ¶
type ClustersListBySubscriptionCompleteResult struct {
Items []Cluster
}
type ClustersListBySubscriptionOperationResponse ¶
type ClustersListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ClustersListBySubscriptionOperationResponse) HasMore ¶
func (r ClustersListBySubscriptionOperationResponse) HasMore() bool
func (ClustersListBySubscriptionOperationResponse) LoadMore ¶
func (r ClustersListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ClustersListBySubscriptionOperationResponse, err error)
type ClustersUpdateOperationResponse ¶
type ClustersUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type EventHubsClustersClient ¶
type EventHubsClustersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEventHubsClustersClientWithBaseURI ¶
func NewEventHubsClustersClientWithBaseURI(endpoint string) EventHubsClustersClient
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) (resp ClustersListByResourceGroupOperationResponse, err error)
ClustersListByResourceGroup ...
func (EventHubsClustersClient) ClustersListByResourceGroupComplete ¶
func (c EventHubsClustersClient) ClustersListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ClustersListByResourceGroupCompleteResult, error)
ClustersListByResourceGroupComplete retrieves all of the results into a single object
func (EventHubsClustersClient) ClustersListByResourceGroupCompleteMatchingPredicate ¶
func (c EventHubsClustersClient) ClustersListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (resp ClustersListByResourceGroupCompleteResult, err error)
ClustersListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (EventHubsClustersClient) ClustersListBySubscription ¶
func (c EventHubsClustersClient) ClustersListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ClustersListBySubscriptionOperationResponse, err error)
ClustersListBySubscription ...
func (EventHubsClustersClient) ClustersListBySubscriptionComplete ¶
func (c EventHubsClustersClient) ClustersListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ClustersListBySubscriptionCompleteResult, error)
ClustersListBySubscriptionComplete retrieves all of the results into a single object
func (EventHubsClustersClient) ClustersListBySubscriptionCompleteMatchingPredicate ¶
func (c EventHubsClustersClient) ClustersListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (resp ClustersListBySubscriptionCompleteResult, err error)
ClustersListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied 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
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- method_clusterscreateorupdate_autorest.go
- method_clustersdelete_autorest.go
- method_clustersget_autorest.go
- method_clusterslistbyresourcegroup_autorest.go
- method_clusterslistbysubscription_autorest.go
- method_clustersupdate_autorest.go
- model_cluster.go
- model_clusterproperties.go
- model_clustersku.go
- predicates.go
- version.go