eventhubsclusters

package
v0.20220610.102640 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForClusterSkuName

func PossibleValuesForClusterSkuName() []string

func ValidateClusterID

func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)

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"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type ClusterId

type ClusterId struct {
	SubscriptionId    string
	ResourceGroupName string
	ClusterName       string
}

ClusterId is a struct representing the Resource ID for a Cluster

func NewClusterID

func NewClusterID(subscriptionId string, resourceGroupName string, clusterName string) ClusterId

NewClusterID returns a new ClusterId struct

func ParseClusterID

func ParseClusterID(input string) (*ClusterId, error)

ParseClusterID parses 'input' into a ClusterId

func ParseClusterIDInsensitively

func ParseClusterIDInsensitively(input string) (*ClusterId, error)

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) ID

func (id ClusterId) ID() string

ID returns the formatted Cluster ID

func (ClusterId) Segments

func (id ClusterId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Cluster ID

func (ClusterId) String

func (id ClusterId) String() string

String returns a human-readable description of this Cluster ID

type ClusterOperationPredicate

type ClusterOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

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"`
	Status    *string `json:"status,omitempty"`
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

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 ClustersGetOperationResponse

type ClustersGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Cluster
}

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 (ClustersListByResourceGroupOperationResponse) LoadMore

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

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

ClustersGet ...

func (EventHubsClustersClient) ClustersListByResourceGroup

ClustersListByResourceGroup ...

func (EventHubsClustersClient) ClustersListByResourceGroupComplete

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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL