Documentation ¶
Index ¶
- func PossibleValuesForAccessProfileType() []string
- func PossibleValuesForDistro() []string
- func PossibleValuesForProvider() []string
- func PossibleValuesForStatus() []string
- func ValidateApplianceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpgradeGraphID(input interface{}, key string) (warnings []string, errors []error)
- type AccessProfileType
- type Appliance
- type ApplianceCredentialKubeconfig
- type ApplianceGetTelemetryConfigResult
- type ApplianceId
- type ApplianceListCredentialResults
- type ApplianceListKeysResults
- type ApplianceOperationPredicate
- type ApplianceProperties
- type AppliancePropertiesInfrastructureConfig
- type AppliancesClient
- func (c AppliancesClient) CreateOrUpdate(ctx context.Context, id ApplianceId, input Appliance) (result CreateOrUpdateOperationResponse, err error)
- func (c AppliancesClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplianceId, input Appliance) error
- func (c AppliancesClient) Delete(ctx context.Context, id ApplianceId) (result DeleteOperationResponse, err error)
- func (c AppliancesClient) DeleteThenPoll(ctx context.Context, id ApplianceId) error
- func (c AppliancesClient) Get(ctx context.Context, id ApplianceId) (result GetOperationResponse, err error)
- func (c AppliancesClient) GetTelemetryConfig(ctx context.Context, id commonids.SubscriptionId) (result GetTelemetryConfigOperationResponse, err error)
- func (c AppliancesClient) GetUpgradeGraph(ctx context.Context, id UpgradeGraphId) (result GetUpgradeGraphOperationResponse, err error)
- func (c AppliancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c AppliancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AppliancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AppliancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c AppliancesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AppliancesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c AppliancesClient) ListClusterUserCredential(ctx context.Context, id ApplianceId) (result ListClusterUserCredentialOperationResponse, err error)
- func (c AppliancesClient) ListKeys(ctx context.Context, id ApplianceId) (result ListKeysOperationResponse, err error)
- func (c AppliancesClient) Update(ctx context.Context, id ApplianceId, input PatchableAppliance) (result UpdateOperationResponse, err error)
- type ArtifactProfile
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Distro
- type GetOperationResponse
- type GetTelemetryConfigOperationResponse
- type GetUpgradeGraphOperationResponse
- type HybridConnectionConfig
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListClusterUserCredentialOperationResponse
- type ListKeysOperationResponse
- type PatchableAppliance
- type Provider
- type SSHKey
- type Status
- type SupportedVersion
- type SupportedVersionCatalogVersion
- type SupportedVersionCatalogVersionData
- type SupportedVersionMetadata
- type UpdateOperationResponse
- type UpgradeGraph
- type UpgradeGraphId
- type UpgradeGraphProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessProfileType ¶
func PossibleValuesForAccessProfileType() []string
func PossibleValuesForDistro ¶
func PossibleValuesForDistro() []string
func PossibleValuesForProvider ¶
func PossibleValuesForProvider() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateApplianceID ¶
ValidateApplianceID checks that 'input' can be parsed as a Appliance ID
func ValidateUpgradeGraphID ¶
ValidateUpgradeGraphID checks that 'input' can be parsed as a Upgrade Graph ID
Types ¶
type AccessProfileType ¶
type AccessProfileType string
const ( AccessProfileTypeClusterCustomerUser AccessProfileType = "clusterCustomerUser" AccessProfileTypeClusterUser AccessProfileType = "clusterUser" )
type Appliance ¶
type Appliance struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ApplianceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplianceCredentialKubeconfig ¶
type ApplianceCredentialKubeconfig struct { Name *AccessProfileType `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
type ApplianceGetTelemetryConfigResult ¶
type ApplianceGetTelemetryConfigResult struct {
TelemetryInstrumentationKey *string `json:"telemetryInstrumentationKey,omitempty"`
}
type ApplianceId ¶
ApplianceId is a struct representing the Resource ID for a Appliance
func NewApplianceID ¶
func NewApplianceID(subscriptionId string, resourceGroupName string, applianceName string) ApplianceId
NewApplianceID returns a new ApplianceId struct
func ParseApplianceID ¶
func ParseApplianceID(input string) (*ApplianceId, error)
ParseApplianceID parses 'input' into a ApplianceId
func ParseApplianceIDInsensitively ¶
func ParseApplianceIDInsensitively(input string) (*ApplianceId, error)
ParseApplianceIDInsensitively parses 'input' case-insensitively into a ApplianceId note: this method should only be used for API response data and not user input
func (ApplianceId) Segments ¶
func (id ApplianceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Appliance ID
func (ApplianceId) String ¶
func (id ApplianceId) String() string
String returns a human-readable description of this Appliance ID
type ApplianceListCredentialResults ¶
type ApplianceListCredentialResults struct { HybridConnectionConfig *HybridConnectionConfig `json:"hybridConnectionConfig,omitempty"` Kubeconfigs *[]ApplianceCredentialKubeconfig `json:"kubeconfigs,omitempty"` }
type ApplianceListKeysResults ¶
type ApplianceListKeysResults struct { ArtifactProfiles *map[string]ArtifactProfile `json:"artifactProfiles,omitempty"` Kubeconfigs *[]ApplianceCredentialKubeconfig `json:"kubeconfigs,omitempty"` SshKeys *map[string]SSHKey `json:"sshKeys,omitempty"` }
type ApplianceOperationPredicate ¶
func (ApplianceOperationPredicate) Matches ¶
func (p ApplianceOperationPredicate) Matches(input Appliance) bool
type ApplianceProperties ¶
type ApplianceProperties struct { Distro *Distro `json:"distro,omitempty"` InfrastructureConfig *AppliancePropertiesInfrastructureConfig `json:"infrastructureConfig,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicKey *string `json:"publicKey,omitempty"` Status *Status `json:"status,omitempty"` Version *string `json:"version,omitempty"` }
type AppliancePropertiesInfrastructureConfig ¶
type AppliancePropertiesInfrastructureConfig struct {
Provider *Provider `json:"provider,omitempty"`
}
type AppliancesClient ¶
func NewAppliancesClientWithBaseURI ¶
func NewAppliancesClientWithBaseURI(endpoint string) AppliancesClient
func (AppliancesClient) CreateOrUpdate ¶
func (c AppliancesClient) CreateOrUpdate(ctx context.Context, id ApplianceId, input Appliance) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AppliancesClient) CreateOrUpdateThenPoll ¶
func (c AppliancesClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplianceId, input Appliance) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AppliancesClient) Delete ¶
func (c AppliancesClient) Delete(ctx context.Context, id ApplianceId) (result DeleteOperationResponse, err error)
Delete ...
func (AppliancesClient) DeleteThenPoll ¶
func (c AppliancesClient) DeleteThenPoll(ctx context.Context, id ApplianceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AppliancesClient) Get ¶
func (c AppliancesClient) Get(ctx context.Context, id ApplianceId) (result GetOperationResponse, err error)
Get ...
func (AppliancesClient) GetTelemetryConfig ¶
func (c AppliancesClient) GetTelemetryConfig(ctx context.Context, id commonids.SubscriptionId) (result GetTelemetryConfigOperationResponse, err error)
GetTelemetryConfig ...
func (AppliancesClient) GetUpgradeGraph ¶
func (c AppliancesClient) GetUpgradeGraph(ctx context.Context, id UpgradeGraphId) (result GetUpgradeGraphOperationResponse, err error)
GetUpgradeGraph ...
func (AppliancesClient) ListByResourceGroup ¶
func (c AppliancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AppliancesClient) ListByResourceGroupComplete ¶
func (c AppliancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AppliancesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AppliancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplianceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AppliancesClient) ListBySubscription ¶
func (c AppliancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AppliancesClient) ListBySubscriptionComplete ¶
func (c AppliancesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (AppliancesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AppliancesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplianceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AppliancesClient) ListClusterUserCredential ¶
func (c AppliancesClient) ListClusterUserCredential(ctx context.Context, id ApplianceId) (result ListClusterUserCredentialOperationResponse, err error)
ListClusterUserCredential ...
func (AppliancesClient) ListKeys ¶
func (c AppliancesClient) ListKeys(ctx context.Context, id ApplianceId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (AppliancesClient) Update ¶
func (c AppliancesClient) Update(ctx context.Context, id ApplianceId, input PatchableAppliance) (result UpdateOperationResponse, err error)
Update ...
type ArtifactProfile ¶
type ArtifactProfile struct {
Endpoint *string `json:"endpoint,omitempty"`
}
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetTelemetryConfigOperationResponse ¶
type GetTelemetryConfigOperationResponse struct { HttpResponse *http.Response Model *ApplianceGetTelemetryConfigResult }
type GetUpgradeGraphOperationResponse ¶
type GetUpgradeGraphOperationResponse struct { HttpResponse *http.Response Model *UpgradeGraph }
type HybridConnectionConfig ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Appliance
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Appliance // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Appliance
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Appliance // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListClusterUserCredentialOperationResponse ¶
type ListClusterUserCredentialOperationResponse struct { HttpResponse *http.Response Model *ApplianceListCredentialResults }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response Model *ApplianceListKeysResults }
type PatchableAppliance ¶
type Status ¶
type Status string
const ( StatusConnected Status = "Connected" StatusConnecting Status = "Connecting" StatusImageDeprovisioning Status = "ImageDeprovisioning" StatusImageDownloaded Status = "ImageDownloaded" StatusImageDownloading Status = "ImageDownloading" StatusImagePending Status = "ImagePending" StatusImageProvisioned Status = "ImageProvisioned" StatusImageProvisioning Status = "ImageProvisioning" StatusImageUnknown Status = "ImageUnknown" StatusNone Status = "None" StatusOffline Status = "Offline" StatusPostUpgrade Status = "PostUpgrade" StatusPreUpgrade Status = "PreUpgrade" StatusPreparingForUpgrade Status = "PreparingForUpgrade" StatusRunning Status = "Running" StatusUpdatingCAPI Status = "UpdatingCAPI" StatusUpdatingCloudOperator Status = "UpdatingCloudOperator" StatusUpdatingCluster Status = "UpdatingCluster" StatusUpgradeClusterExtensionFailedToDelete Status = "UpgradeClusterExtensionFailedToDelete" StatusUpgradeComplete Status = "UpgradeComplete" StatusUpgradeFailed Status = "UpgradeFailed" StatusUpgradePrerequisitesCompleted Status = "UpgradePrerequisitesCompleted" StatusUpgradingKVAIO Status = "UpgradingKVAIO" StatusValidating Status = "Validating" StatusWaitingForCloudOperator Status = "WaitingForCloudOperator" StatusWaitingForHeartbeat Status = "WaitingForHeartbeat" StatusWaitingForKVAIO Status = "WaitingForKVAIO" )
type SupportedVersion ¶
type SupportedVersion struct { Metadata *SupportedVersionMetadata `json:"metadata,omitempty"` Version *string `json:"version,omitempty"` }
type SupportedVersionCatalogVersion ¶
type SupportedVersionCatalogVersion struct { Data *SupportedVersionCatalogVersionData `json:"data,omitempty"` Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
type SupportedVersionMetadata ¶
type SupportedVersionMetadata struct {
CatalogVersion *SupportedVersionCatalogVersion `json:"catalogVersion,omitempty"`
}
type UpdateOperationResponse ¶
type UpgradeGraph ¶
type UpgradeGraph struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UpgradeGraphProperties `json:"properties,omitempty"` }
type UpgradeGraphId ¶
type UpgradeGraphId struct { SubscriptionId string ResourceGroupName string ApplianceName string UpgradeGraphName string }
UpgradeGraphId is a struct representing the Resource ID for a Upgrade Graph
func NewUpgradeGraphID ¶
func NewUpgradeGraphID(subscriptionId string, resourceGroupName string, applianceName string, upgradeGraphName string) UpgradeGraphId
NewUpgradeGraphID returns a new UpgradeGraphId struct
func ParseUpgradeGraphID ¶
func ParseUpgradeGraphID(input string) (*UpgradeGraphId, error)
ParseUpgradeGraphID parses 'input' into a UpgradeGraphId
func ParseUpgradeGraphIDInsensitively ¶
func ParseUpgradeGraphIDInsensitively(input string) (*UpgradeGraphId, error)
ParseUpgradeGraphIDInsensitively parses 'input' case-insensitively into a UpgradeGraphId note: this method should only be used for API response data and not user input
func (UpgradeGraphId) ID ¶
func (id UpgradeGraphId) ID() string
ID returns the formatted Upgrade Graph ID
func (UpgradeGraphId) Segments ¶
func (id UpgradeGraphId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Upgrade Graph ID
func (UpgradeGraphId) String ¶
func (id UpgradeGraphId) String() string
String returns a human-readable description of this Upgrade Graph ID
type UpgradeGraphProperties ¶
type UpgradeGraphProperties struct { ApplianceVersion *string `json:"applianceVersion,omitempty"` SupportedVersions *[]SupportedVersion `json:"supportedVersions,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_appliance.go
- id_upgradegraph.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_gettelemetryconfig_autorest.go
- method_getupgradegraph_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listclusterusercredential_autorest.go
- method_listkeys_autorest.go
- method_update_autorest.go
- model_appliance.go
- model_appliancecredentialkubeconfig.go
- model_appliancegettelemetryconfigresult.go
- model_appliancelistcredentialresults.go
- model_appliancelistkeysresults.go
- model_applianceproperties.go
- model_appliancepropertiesinfrastructureconfig.go
- model_artifactprofile.go
- model_hybridconnectionconfig.go
- model_patchableappliance.go
- model_sshkey.go
- model_supportedversion.go
- model_supportedversioncatalogversion.go
- model_supportedversioncatalogversiondata.go
- model_supportedversionmetadata.go
- model_upgradegraph.go
- model_upgradegraphproperties.go
- predicates.go
- version.go