Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationMethod() []string
- func PossibleValuesForAutoUpgradeOptions() []string
- func PossibleValuesForAzureHybridBenefit() []string
- func PossibleValuesForConnectedClusterKind() []string
- func PossibleValuesForConnectivityStatus() []string
- func PossibleValuesForPrivateLinkState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateConnectedClusterID(input interface{}, key string) (warnings []string, errors []error)
- type AadProfile
- type ArcAgentProfile
- type AuthenticationMethod
- type AutoUpgradeOptions
- type AzureHybridBenefit
- type ConnectedCluster
- type ConnectedClusterCreateOperationResponse
- type ConnectedClusterDeleteOperationResponse
- type ConnectedClusterGetOperationResponse
- type ConnectedClusterId
- type ConnectedClusterKind
- type ConnectedClusterListByResourceGroupCompleteResult
- type ConnectedClusterListByResourceGroupOperationResponse
- type ConnectedClusterListBySubscriptionCompleteResult
- type ConnectedClusterListBySubscriptionOperationResponse
- type ConnectedClusterListClusterUserCredentialOperationResponse
- type ConnectedClusterOperationPredicate
- type ConnectedClusterPatch
- type ConnectedClusterPatchProperties
- 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 PrivateLinkState
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationMethod ¶
func PossibleValuesForAuthenticationMethod() []string
func PossibleValuesForAutoUpgradeOptions ¶
func PossibleValuesForAutoUpgradeOptions() []string
func PossibleValuesForAzureHybridBenefit ¶
func PossibleValuesForAzureHybridBenefit() []string
func PossibleValuesForConnectedClusterKind ¶
func PossibleValuesForConnectedClusterKind() []string
func PossibleValuesForConnectivityStatus ¶
func PossibleValuesForConnectivityStatus() []string
func PossibleValuesForPrivateLinkState ¶
func PossibleValuesForPrivateLinkState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateConnectedClusterID ¶
ValidateConnectedClusterID checks that 'input' can be parsed as a Connected Cluster ID
Types ¶
type AadProfile ¶
type ArcAgentProfile ¶
type ArcAgentProfile struct { AgentAutoUpgrade *AutoUpgradeOptions `json:"agentAutoUpgrade,omitempty"` DesiredAgentVersion *string `json:"desiredAgentVersion,omitempty"` }
type AuthenticationMethod ¶
type AuthenticationMethod string
const ( AuthenticationMethodAAD AuthenticationMethod = "AAD" AuthenticationMethodToken AuthenticationMethod = "Token" )
func (*AuthenticationMethod) UnmarshalJSON ¶
func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error
type AutoUpgradeOptions ¶
type AutoUpgradeOptions string
const ( AutoUpgradeOptionsDisabled AutoUpgradeOptions = "Disabled" AutoUpgradeOptionsEnabled AutoUpgradeOptions = "Enabled" )
func (*AutoUpgradeOptions) UnmarshalJSON ¶
func (s *AutoUpgradeOptions) UnmarshalJSON(bytes []byte) error
type AzureHybridBenefit ¶
type AzureHybridBenefit string
const ( AzureHybridBenefitFalse AzureHybridBenefit = "False" AzureHybridBenefitNotApplicable AzureHybridBenefit = "NotApplicable" AzureHybridBenefitTrue AzureHybridBenefit = "True" )
func (*AzureHybridBenefit) UnmarshalJSON ¶
func (s *AzureHybridBenefit) UnmarshalJSON(bytes []byte) error
type ConnectedCluster ¶
type ConnectedCluster struct { Id *string `json:"id,omitempty"` Identity identity.SystemAssigned `json:"identity"` Kind *ConnectedClusterKind `json:"kind,omitempty"` 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) FromParseResult ¶
func (id *ConnectedClusterId) FromParseResult(input resourceids.ParseResult) error
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 ConnectedClusterKind ¶
type ConnectedClusterKind string
const (
ConnectedClusterKindProvisionedCluster ConnectedClusterKind = "ProvisionedCluster"
)
func (*ConnectedClusterKind) UnmarshalJSON ¶
func (s *ConnectedClusterKind) UnmarshalJSON(bytes []byte) error
type ConnectedClusterListByResourceGroupCompleteResult ¶
type ConnectedClusterListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ConnectedCluster }
type ConnectedClusterListByResourceGroupOperationResponse ¶
type ConnectedClusterListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ConnectedCluster }
type ConnectedClusterListBySubscriptionCompleteResult ¶
type ConnectedClusterListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response 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 ConnectedClusterPatch struct { Properties *ConnectedClusterPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ConnectedClusterPatchProperties ¶
type ConnectedClusterPatchProperties struct { AzureHybridBenefit *AzureHybridBenefit `json:"azureHybridBenefit,omitempty"` Distribution *string `json:"distribution,omitempty"` DistributionVersion *string `json:"distributionVersion,omitempty"` }
type ConnectedClusterProperties ¶
type ConnectedClusterProperties struct { AadProfile *AadProfile `json:"aadProfile,omitempty"` AgentPublicKeyCertificate string `json:"agentPublicKeyCertificate"` AgentVersion *string `json:"agentVersion,omitempty"` ArcAgentProfile *ArcAgentProfile `json:"arcAgentProfile,omitempty"` AzureHybridBenefit *AzureHybridBenefit `json:"azureHybridBenefit,omitempty"` ConnectivityStatus *ConnectivityStatus `json:"connectivityStatus,omitempty"` Distribution *string `json:"distribution,omitempty"` DistributionVersion *string `json:"distributionVersion,omitempty"` Infrastructure *string `json:"infrastructure,omitempty"` KubernetesVersion *string `json:"kubernetesVersion,omitempty"` LastConnectivityTime *string `json:"lastConnectivityTime,omitempty"` ManagedIdentityCertificateExpirationTime *string `json:"managedIdentityCertificateExpirationTime,omitempty"` MiscellaneousProperties *map[string]string `json:"miscellaneousProperties,omitempty"` Offering *string `json:"offering,omitempty"` PrivateLinkScopeResourceId *string `json:"privateLinkScopeResourceId,omitempty"` PrivateLinkState *PrivateLinkState `json:"privateLinkState,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 ¶
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 PrivateLinkState ¶
type PrivateLinkState string
const ( PrivateLinkStateDisabled PrivateLinkState = "Disabled" PrivateLinkStateEnabled PrivateLinkState = "Enabled" )
func (*PrivateLinkState) UnmarshalJSON ¶
func (s *PrivateLinkState) UnmarshalJSON(bytes []byte) error
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 ¶
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_aadprofile.go
- model_arcagentprofile.go
- model_connectedcluster.go
- model_connectedclusterpatch.go
- model_connectedclusterpatchproperties.go
- model_connectedclusterproperties.go
- model_credentialresult.go
- model_credentialresults.go
- model_hybridconnectionconfig.go
- model_listclusterusercredentialproperties.go
- predicates.go
- version.go