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) (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
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,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) 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"
)
func (*ClusterSkuName) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *ClusterSkuName) UnmarshalJSON(bytes []byte) error
type ClustersListByResourceGroupCompleteResult ¶
type ClustersListByResourceGroupCompleteResult struct {
Items []Cluster
}
type ClustersListBySubscriptionCompleteResult ¶
type ClustersListBySubscriptionCompleteResult struct {
Items []Cluster
}
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
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
- predicates.go
- version.go