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) (result 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, ...) (result ConnectedClusterListByResourceGroupCompleteResult, err error)
- func (c ConnectedClustersClient) ConnectedClusterListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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" )
func (*AuthenticationMethod) UnmarshalJSON ¶ added in v0.20230804.1074947
func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error
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 ConnectedClusterGetOperationResponse ¶
type ConnectedClusterGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 OData *odata.OData Model *[]ConnectedCluster }
type ConnectedClusterListBySubscriptionCompleteResult ¶
type ConnectedClusterListBySubscriptionCompleteResult struct {
Items []ConnectedCluster
}
type ConnectedClusterListBySubscriptionOperationResponse ¶
type ConnectedClusterListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ConnectedCluster }
type ConnectedClusterListClusterUserCredentialOperationResponse ¶
type ConnectedClusterListClusterUserCredentialOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 OData *odata.OData Model *ConnectedCluster }
type ConnectedClustersClient ¶
type ConnectedClustersClient struct {
Client *resourcemanager.Client
}
func NewConnectedClustersClientWithBaseURI ¶
func NewConnectedClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectedClustersClient, error)
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) (result ConnectedClusterListByResourceGroupOperationResponse, err error)
ConnectedClusterListByResourceGroup ...
func (ConnectedClustersClient) ConnectedClusterListByResourceGroupComplete ¶
func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ConnectedClusterListByResourceGroupCompleteResult, error)
ConnectedClusterListByResourceGroupComplete retrieves all the results into a single object
func (ConnectedClustersClient) ConnectedClusterListByResourceGroupCompleteMatchingPredicate ¶
func (c ConnectedClustersClient) ConnectedClusterListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ConnectedClusterOperationPredicate) (result ConnectedClusterListByResourceGroupCompleteResult, err error)
ConnectedClusterListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ConnectedClustersClient) ConnectedClusterListBySubscription ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ConnectedClusterListBySubscriptionOperationResponse, err error)
ConnectedClusterListBySubscription ...
func (ConnectedClustersClient) ConnectedClusterListBySubscriptionComplete ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ConnectedClusterListBySubscriptionCompleteResult, error)
ConnectedClusterListBySubscriptionComplete retrieves all the results into a single object
func (ConnectedClustersClient) ConnectedClusterListBySubscriptionCompleteMatchingPredicate ¶
func (c ConnectedClustersClient) ConnectedClusterListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ConnectedClusterOperationPredicate) (result ConnectedClusterListBySubscriptionCompleteResult, err error)
ConnectedClusterListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*ConnectivityStatus) UnmarshalJSON ¶ added in v0.20230804.1074947
func (s *ConnectivityStatus) UnmarshalJSON(bytes []byte) error
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" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230804.1074947
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_connectedcluster.go
- method_connectedclustercreate.go
- method_connectedclusterdelete.go
- method_connectedclusterget.go
- method_connectedclusterlistbyresourcegroup.go
- method_connectedclusterlistbysubscription.go
- method_connectedclusterlistclusterusercredential.go
- method_connectedclusterupdate.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