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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AppliancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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, options ListKeysOperationOptions) (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 ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListClusterUserCredentialOperationResponse
- type ListKeysOperationOptions
- 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" )
func (*AccessProfileType) UnmarshalJSON ¶
func (s *AccessProfileType) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *ApplianceId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type AppliancesClient struct {
Client *resourcemanager.Client
}
func NewAppliancesClientWithBaseURI ¶
func NewAppliancesClientWithBaseURI(sdkApi sdkEnv.Api) (*AppliancesClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AppliancesClient) ListByResourceGroupComplete ¶
func (c AppliancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AppliancesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AppliancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplianceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppliancesClient) ListBySubscription ¶
func (c AppliancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AppliancesClient) ListBySubscriptionComplete ¶
func (c AppliancesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AppliancesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AppliancesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplianceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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, options ListKeysOperationOptions) (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 DeleteOperationResponse ¶
type Distro ¶
type Distro string
const (
DistroAKSEdge Distro = "AKSEdge"
)
func (*Distro) UnmarshalJSON ¶
type GetOperationResponse ¶
type GetTelemetryConfigOperationResponse ¶
type GetTelemetryConfigOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplianceGetTelemetryConfigResult }
type GetUpgradeGraphOperationResponse ¶
type GetUpgradeGraphOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UpgradeGraph }
type HybridConnectionConfig ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListClusterUserCredentialOperationResponse ¶
type ListClusterUserCredentialOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplianceListCredentialResults }
type ListKeysOperationOptions ¶
type ListKeysOperationOptions struct {
ArtifactType *string
}
func DefaultListKeysOperationOptions ¶
func DefaultListKeysOperationOptions() ListKeysOperationOptions
func (ListKeysOperationOptions) ToHeaders ¶
func (o ListKeysOperationOptions) ToHeaders() *client.Headers
func (ListKeysOperationOptions) ToOData ¶
func (o ListKeysOperationOptions) ToOData() *odata.Query
func (ListKeysOperationOptions) ToQuery ¶
func (o ListKeysOperationOptions) ToQuery() *client.QueryParams
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplianceListKeysResults }
type PatchableAppliance ¶
type Status ¶
type Status string
const ( StatusConnected Status = "Connected" StatusConnecting Status = "Connecting" StatusETCDSnapshotFailed Status = "ETCDSnapshotFailed" 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" StatusValidatingETCDHealth Status = "ValidatingETCDHealth" StatusValidatingImageDownload Status = "ValidatingImageDownload" StatusValidatingImageUpload Status = "ValidatingImageUpload" StatusValidatingSFSConnectivity Status = "ValidatingSFSConnectivity" StatusWaitingForCloudOperator Status = "WaitingForCloudOperator" StatusWaitingForHeartbeat Status = "WaitingForHeartbeat" StatusWaitingForKVAIO Status = "WaitingForKVAIO" )
func (*Status) UnmarshalJSON ¶
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) FromParseResult ¶
func (id *UpgradeGraphId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_delete.go
- method_get.go
- method_gettelemetryconfig.go
- method_getupgradegraph.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listclusterusercredential.go
- method_listkeys.go
- method_update.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