Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationMethod() []string
- func PossibleValuesForConnectivityStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateConnectedClusterID(input interface{}, key string) (warnings []string, errors []error)
- type AuthenticationMethod
- type ConnectedCluster
- type ConnectedClusterCreateOperationResponse
- type ConnectedClusterDeleteOperationResponse
- type ConnectedClusterGetOperationResponse
- type ConnectedClusterId
- type ConnectedClusterListByResourceGroupCompleteResult
- type ConnectedClusterListByResourceGroupOperationResponse
- type ConnectedClusterListBySubscriptionCompleteResult
- type ConnectedClusterListBySubscriptionOperationResponse
- type ConnectedClusterListClusterUserCredentialOperationResponse
- type ConnectedClusterOperationPredicate
- type ConnectedClusterPatch
- type ConnectedClusterProperties
- func (o *ConnectedClusterProperties) GetLastConnectivityTimeAsTime() (*time.Time, error)
- func (o *ConnectedClusterProperties) GetManagedIdentityCertificateExpirationTimeAsTime() (*time.Time, error)
- func (o *ConnectedClusterProperties) SetLastConnectivityTimeAsTime(input time.Time)
- func (o *ConnectedClusterProperties) SetManagedIdentityCertificateExpirationTimeAsTime(input time.Time)
- type ConnectedClusterUpdateOperationResponse
- type ConnectedClustersClient
- func (c ConnectedClustersClient) ConnectedClusterCreate(ctx context.Context, id ConnectedClusterId, input ConnectedCluster) (result ConnectedClusterCreateOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterCreateThenPoll(ctx context.Context, id ConnectedClusterId, input ConnectedCluster) error
- func (c ConnectedClustersClient) ConnectedClusterDelete(ctx context.Context, id ConnectedClusterId) (result ConnectedClusterDeleteOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterDeleteThenPoll(ctx context.Context, id ConnectedClusterId) error
- func (c ConnectedClustersClient) ConnectedClusterGet(ctx context.Context, id ConnectedClusterId) (result ConnectedClusterGetOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ConnectedClusterListByResourceGroupOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ConnectedClusterListByResourceGroupCompleteResult, error)
- func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ConnectedClusterListByResourceGroupCompleteResult, err error)
- func (c ConnectedClustersClient) ConnectedClusterListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ConnectedClusterListBySubscriptionOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ConnectedClusterListBySubscriptionCompleteResult, error)
- func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ConnectedClusterListBySubscriptionCompleteResult, err error)
- func (c ConnectedClustersClient) ConnectedClusterListClusterUserCredential(ctx context.Context, id ConnectedClusterId, ...) (result ConnectedClusterListClusterUserCredentialOperationResponse, err error)
- func (c ConnectedClustersClient) ConnectedClusterUpdate(ctx context.Context, id ConnectedClusterId, input ConnectedClusterPatch) (result ConnectedClusterUpdateOperationResponse, err error)
- type ConnectivityStatus
- type CredentialResult
- type CredentialResults
- type HybridConnectionConfig
- type ListClusterUserCredentialProperties
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationMethod ¶
func PossibleValuesForAuthenticationMethod() []string
func PossibleValuesForConnectivityStatus ¶
func PossibleValuesForConnectivityStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateConnectedClusterID ¶
ValidateConnectedClusterID checks that 'input' can be parsed as a Connected Cluster ID
Types ¶
type AuthenticationMethod ¶
type AuthenticationMethod string
const ( AuthenticationMethodAAD AuthenticationMethod = "AAD" AuthenticationMethodToken AuthenticationMethod = "Token" )
type ConnectedCluster ¶
type ConnectedCluster struct { Id *string `json:"id,omitempty"` Identity identity.SystemAssigned `json:"identity"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties ConnectedClusterProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ConnectedClusterCreateOperationResponse ¶
type ConnectedClusterCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ConnectedClusterDeleteOperationResponse ¶
type ConnectedClusterDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ConnectedClusterGetOperationResponse ¶
type ConnectedClusterGetOperationResponse struct { HttpResponse *http.Response Model *ConnectedCluster }
type ConnectedClusterId ¶
type ConnectedClusterId struct { SubscriptionId string ResourceGroupName string ConnectedClusterName string }
ConnectedClusterId is a struct representing the Resource ID for a Connected Cluster
func NewConnectedClusterID ¶
func NewConnectedClusterID(subscriptionId string, resourceGroupName string, connectedClusterName string) ConnectedClusterId
NewConnectedClusterID returns a new ConnectedClusterId struct
func ParseConnectedClusterID ¶
func ParseConnectedClusterID(input string) (*ConnectedClusterId, error)
ParseConnectedClusterID parses 'input' into a ConnectedClusterId
func ParseConnectedClusterIDInsensitively ¶
func ParseConnectedClusterIDInsensitively(input string) (*ConnectedClusterId, error)
ParseConnectedClusterIDInsensitively parses 'input' case-insensitively into a ConnectedClusterId note: this method should only be used for API response data and not user input
func (ConnectedClusterId) ID ¶
func (id ConnectedClusterId) ID() string
ID returns the formatted Connected Cluster ID
func (ConnectedClusterId) Segments ¶
func (id ConnectedClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Connected Cluster ID
func (ConnectedClusterId) String ¶
func (id ConnectedClusterId) String() string
String returns a human-readable description of this Connected Cluster ID
type ConnectedClusterListByResourceGroupCompleteResult ¶
type ConnectedClusterListByResourceGroupCompleteResult struct {
Items []ConnectedCluster
}
type ConnectedClusterListByResourceGroupOperationResponse ¶
type ConnectedClusterListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ConnectedCluster // contains filtered or unexported fields }
func (ConnectedClusterListByResourceGroupOperationResponse) HasMore ¶
func (r ConnectedClusterListByResourceGroupOperationResponse) HasMore() bool
func (ConnectedClusterListByResourceGroupOperationResponse) LoadMore ¶
func (r ConnectedClusterListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ConnectedClusterListByResourceGroupOperationResponse, err error)
type ConnectedClusterListBySubscriptionCompleteResult ¶
type ConnectedClusterListBySubscriptionCompleteResult struct {
Items []ConnectedCluster
}
type ConnectedClusterListBySubscriptionOperationResponse ¶
type ConnectedClusterListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ConnectedCluster // contains filtered or unexported fields }
func (ConnectedClusterListBySubscriptionOperationResponse) HasMore ¶
func (r ConnectedClusterListBySubscriptionOperationResponse) HasMore() bool
func (ConnectedClusterListBySubscriptionOperationResponse) LoadMore ¶
func (r ConnectedClusterListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ConnectedClusterListBySubscriptionOperationResponse, err error)
type ConnectedClusterListClusterUserCredentialOperationResponse ¶
type ConnectedClusterListClusterUserCredentialOperationResponse struct { HttpResponse *http.Response Model *CredentialResults }
type ConnectedClusterOperationPredicate ¶
type ConnectedClusterOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ConnectedClusterOperationPredicate) Matches ¶
func (p ConnectedClusterOperationPredicate) Matches(input ConnectedCluster) bool
type ConnectedClusterPatch ¶
type ConnectedClusterProperties ¶
type ConnectedClusterProperties struct { AgentPublicKeyCertificate string `json:"agentPublicKeyCertificate"` AgentVersion *string `json:"agentVersion,omitempty"` ConnectivityStatus *ConnectivityStatus `json:"connectivityStatus,omitempty"` Distribution *string `json:"distribution,omitempty"` Infrastructure *string `json:"infrastructure,omitempty"` KubernetesVersion *string `json:"kubernetesVersion,omitempty"` LastConnectivityTime *string `json:"lastConnectivityTime,omitempty"` ManagedIdentityCertificateExpirationTime *string `json:"managedIdentityCertificateExpirationTime,omitempty"` Offering *string `json:"offering,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TotalCoreCount *int64 `json:"totalCoreCount,omitempty"` TotalNodeCount *int64 `json:"totalNodeCount,omitempty"` }
func (*ConnectedClusterProperties) GetLastConnectivityTimeAsTime ¶
func (o *ConnectedClusterProperties) GetLastConnectivityTimeAsTime() (*time.Time, error)
func (*ConnectedClusterProperties) GetManagedIdentityCertificateExpirationTimeAsTime ¶
func (o *ConnectedClusterProperties) GetManagedIdentityCertificateExpirationTimeAsTime() (*time.Time, error)
func (*ConnectedClusterProperties) SetLastConnectivityTimeAsTime ¶
func (o *ConnectedClusterProperties) SetLastConnectivityTimeAsTime(input time.Time)
func (*ConnectedClusterProperties) SetManagedIdentityCertificateExpirationTimeAsTime ¶
func (o *ConnectedClusterProperties) SetManagedIdentityCertificateExpirationTimeAsTime(input time.Time)
type ConnectedClusterUpdateOperationResponse ¶
type ConnectedClusterUpdateOperationResponse struct { HttpResponse *http.Response Model *ConnectedCluster }
type ConnectedClustersClient ¶
type ConnectedClustersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewConnectedClustersClientWithBaseURI ¶
func NewConnectedClustersClientWithBaseURI(endpoint string) ConnectedClustersClient
func (ConnectedClustersClient) ConnectedClusterCreate ¶
func (c ConnectedClustersClient) ConnectedClusterCreate(ctx context.Context, id ConnectedClusterId, input ConnectedCluster) (result ConnectedClusterCreateOperationResponse, err error)
ConnectedClusterCreate ...
func (ConnectedClustersClient) ConnectedClusterCreateThenPoll ¶
func (c ConnectedClustersClient) ConnectedClusterCreateThenPoll(ctx context.Context, id ConnectedClusterId, input ConnectedCluster) error
ConnectedClusterCreateThenPoll performs ConnectedClusterCreate then polls until it's completed
func (ConnectedClustersClient) ConnectedClusterDelete ¶
func (c ConnectedClustersClient) ConnectedClusterDelete(ctx context.Context, id ConnectedClusterId) (result ConnectedClusterDeleteOperationResponse, err error)
ConnectedClusterDelete ...
func (ConnectedClustersClient) ConnectedClusterDeleteThenPoll ¶
func (c ConnectedClustersClient) ConnectedClusterDeleteThenPoll(ctx context.Context, id ConnectedClusterId) error
ConnectedClusterDeleteThenPoll performs ConnectedClusterDelete then polls until it's completed
func (ConnectedClustersClient) ConnectedClusterGet ¶
func (c ConnectedClustersClient) ConnectedClusterGet(ctx context.Context, id ConnectedClusterId) (result ConnectedClusterGetOperationResponse, err error)
ConnectedClusterGet ...
func (ConnectedClustersClient) ConnectedClusterListByResourceGroup ¶
func (c ConnectedClustersClient) ConnectedClusterListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ConnectedClusterListByResourceGroupOperationResponse, err error)
ConnectedClusterListByResourceGroup ...
func (ConnectedClustersClient) ConnectedClusterListByResourceGroupComplete ¶
func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ConnectedClusterListByResourceGroupCompleteResult, error)
ConnectedClusterListByResourceGroupComplete retrieves all of the results into a single object
func (ConnectedClustersClient) ConnectedClusterListByResourceGroupCompleteMatchingPredicate ¶
func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ConnectedClusterOperationPredicate) (resp ConnectedClusterListByResourceGroupCompleteResult, err error)
ConnectedClusterListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConnectedClustersClient) ConnectedClusterListBySubscription ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ConnectedClusterListBySubscriptionOperationResponse, err error)
ConnectedClusterListBySubscription ...
func (ConnectedClustersClient) ConnectedClusterListBySubscriptionComplete ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ConnectedClusterListBySubscriptionCompleteResult, error)
ConnectedClusterListBySubscriptionComplete retrieves all of the results into a single object
func (ConnectedClustersClient) ConnectedClusterListBySubscriptionCompleteMatchingPredicate ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ConnectedClusterOperationPredicate) (resp ConnectedClusterListBySubscriptionCompleteResult, err error)
ConnectedClusterListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConnectedClustersClient) ConnectedClusterListClusterUserCredential ¶
func (c ConnectedClustersClient) ConnectedClusterListClusterUserCredential(ctx context.Context, id ConnectedClusterId, input ListClusterUserCredentialProperties) (result ConnectedClusterListClusterUserCredentialOperationResponse, err error)
ConnectedClusterListClusterUserCredential ...
func (ConnectedClustersClient) ConnectedClusterUpdate ¶
func (c ConnectedClustersClient) ConnectedClusterUpdate(ctx context.Context, id ConnectedClusterId, input ConnectedClusterPatch) (result ConnectedClusterUpdateOperationResponse, err error)
ConnectedClusterUpdate ...
type ConnectivityStatus ¶
type ConnectivityStatus string
const ( ConnectivityStatusConnected ConnectivityStatus = "Connected" ConnectivityStatusConnecting ConnectivityStatus = "Connecting" ConnectivityStatusExpired ConnectivityStatus = "Expired" ConnectivityStatusOffline ConnectivityStatus = "Offline" )
type CredentialResult ¶
type CredentialResults ¶
type CredentialResults struct { HybridConnectionConfig *HybridConnectionConfig `json:"hybridConnectionConfig,omitempty"` Kubeconfigs *[]CredentialResult `json:"kubeconfigs,omitempty"` }
type HybridConnectionConfig ¶
type ListClusterUserCredentialProperties ¶
type ListClusterUserCredentialProperties struct { AuthenticationMethod AuthenticationMethod `json:"authenticationMethod"` ClientProxy bool `json:"clientProxy"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
Source Files ¶
- client.go
- constants.go
- id_connectedcluster.go
- method_connectedclustercreate_autorest.go
- method_connectedclusterdelete_autorest.go
- method_connectedclusterget_autorest.go
- method_connectedclusterlistbyresourcegroup_autorest.go
- method_connectedclusterlistbysubscription_autorest.go
- method_connectedclusterlistclusterusercredential_autorest.go
- method_connectedclusterupdate_autorest.go
- model_connectedcluster.go
- model_connectedclusterpatch.go
- model_connectedclusterproperties.go
- model_credentialresult.go
- model_credentialresults.go
- model_hybridconnectionconfig.go
- model_listclusterusercredentialproperties.go
- predicates.go
- version.go