Documentation
¶
Overview ¶
Package cloudafrica provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package cloudafrica is a Go client for the CloudAfrica public API.
The request/response types and the per-operation methods are generated (client.gen.go) from the pinned openapi.json; this file adds what generation cannot: authentication, idempotency keys, retries, a concurrency cap, problem+json errors and operation polling.
Index ¶
- Constants
- func CheckResponse(resp *http.Response, body []byte) error
- func IsConflict(err error) bool
- func IsNotFound(err error) bool
- func IsSlug(err error, slug string) bool
- func NewAddPlacementGroupMemberRequest(server string, id string, vmId string) (*http.Request, error)
- func NewAddVmDiskRequest(server string, id string, params *AddVmDiskParams, ...) (*http.Request, error)
- func NewAddVmDiskRequestWithBody(server string, id string, params *AddVmDiskParams, contentType string, ...) (*http.Request, error)
- func NewAddVmToVipRequest(server string, id string, vipId string) (*http.Request, error)
- func NewApplyVmPendingRestartRequest(server string, id string, params *ApplyVmPendingRestartParams) (*http.Request, error)
- func NewAttachVmNetworkInterfaceRequest(server string, id string, params *AttachVmNetworkInterfaceParams, ...) (*http.Request, error)
- func NewAttachVmNetworkInterfaceRequestWithBody(server string, id string, params *AttachVmNetworkInterfaceParams, ...) (*http.Request, error)
- func NewAttachVmPublicIpRequest(server string, id string, params *AttachVmPublicIpParams) (*http.Request, error)
- func NewAttachVmSshKeyRequest(server string, id string, keyId string) (*http.Request, error)
- func NewAttachVpcVipPublicIpRequest(server string, id string, vipId string, params *AttachVpcVipPublicIpParams) (*http.Request, error)
- func NewBackupVmRequest(server string, id string, params *BackupVmParams, body BackupVmJSONRequestBody) (*http.Request, error)
- func NewBackupVmRequestWithBody(server string, id string, params *BackupVmParams, contentType string, ...) (*http.Request, error)
- func NewCancelMemberInvitationRequest(server string, userId string) (*http.Request, error)
- func NewCancelOperationRequest(server string, id string) (*http.Request, error)
- func NewCreateAiSandboxRequest(server string, params *CreateAiSandboxParams, ...) (*http.Request, error)
- func NewCreateAiSandboxRequestWithBody(server string, params *CreateAiSandboxParams, contentType string, ...) (*http.Request, error)
- func NewCreateBucketKeyRequest(server string, params *CreateBucketKeyParams, ...) (*http.Request, error)
- func NewCreateBucketKeyRequestWithBody(server string, params *CreateBucketKeyParams, contentType string, ...) (*http.Request, error)
- func NewCreateBucketRequest(server string, params *CreateBucketParams, body CreateBucketJSONRequestBody) (*http.Request, error)
- func NewCreateBucketRequestWithBody(server string, params *CreateBucketParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCardCheckoutRequest(server string, params *CreateCardCheckoutParams) (*http.Request, error)
- func NewCreateCardLinkRequest(server string, checkoutId string) (*http.Request, error)
- func NewCreateElevationRequestRequest(server string, params *CreateElevationRequestParams, ...) (*http.Request, error)
- func NewCreateElevationRequestRequestWithBody(server string, params *CreateElevationRequestParams, contentType string, ...) (*http.Request, error)
- func NewCreateKubernetesClusterRequest(server string, params *CreateKubernetesClusterParams, ...) (*http.Request, error)
- func NewCreateKubernetesClusterRequestWithBody(server string, params *CreateKubernetesClusterParams, contentType string, ...) (*http.Request, error)
- func NewCreateKubernetesClusterTokenRequest(server string, id string) (*http.Request, error)
- func NewCreateMemberRequest(server string, body CreateMemberJSONRequestBody) (*http.Request, error)
- func NewCreateMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateObjectDownloadUrlRequest(server string, id string, body CreateObjectDownloadUrlJSONRequestBody) (*http.Request, error)
- func NewCreateObjectDownloadUrlRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateObjectUploadUrlRequest(server string, id string, body CreateObjectUploadUrlJSONRequestBody) (*http.Request, error)
- func NewCreateObjectUploadUrlRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePlacementGroupRequest(server string, params *CreatePlacementGroupParams, ...) (*http.Request, error)
- func NewCreatePlacementGroupRequestWithBody(server string, params *CreatePlacementGroupParams, contentType string, ...) (*http.Request, error)
- func NewCreateProjectRequest(server string, params *CreateProjectParams, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, params *CreateProjectParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSshKeyRequest(server string, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody) (*http.Request, error)
- func NewCreateSshKeyRequestWithBody(server string, params *CreateSshKeyParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSupportTicketReplyRequest(server string, id string, body CreateSupportTicketReplyJSONRequestBody) (*http.Request, error)
- func NewCreateSupportTicketReplyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSupportTicketRequest(server string, params *CreateSupportTicketParams, ...) (*http.Request, error)
- func NewCreateSupportTicketRequestWithBody(server string, params *CreateSupportTicketParams, contentType string, ...) (*http.Request, error)
- func NewCreateVmFirewallRuleRequest(server string, id string, params *CreateVmFirewallRuleParams, ...) (*http.Request, error)
- func NewCreateVmFirewallRuleRequestWithBody(server string, id string, params *CreateVmFirewallRuleParams, ...) (*http.Request, error)
- func NewCreateVmPrivateIpRequest(server string, id string, params *CreateVmPrivateIpParams, ...) (*http.Request, error)
- func NewCreateVmPrivateIpRequestWithBody(server string, id string, params *CreateVmPrivateIpParams, contentType string, ...) (*http.Request, error)
- func NewCreateVmRequest(server string, params *CreateVmParams, body CreateVmJSONRequestBody) (*http.Request, error)
- func NewCreateVmRequestWithBody(server string, params *CreateVmParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVpcRequest(server string, params *CreateVpcParams, body CreateVpcJSONRequestBody) (*http.Request, error)
- func NewCreateVpcRequestWithBody(server string, params *CreateVpcParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVpcReservedIpRequest(server string, id string, params *CreateVpcReservedIpParams) (*http.Request, error)
- func NewCreateVpcVipFirewallRuleRequest(server string, id string, vipId string, ...) (*http.Request, error)
- func NewCreateVpcVipFirewallRuleRequestWithBody(server string, id string, vipId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVpcVipRequest(server string, id string, params *CreateVpcVipParams) (*http.Request, error)
- func NewDeleteAiSandboxRequest(server string, sandboxId string) (*http.Request, error)
- func NewDeleteAiSandboxTemplateRequest(server string, templateId string) (*http.Request, error)
- func NewDeleteBucketKeyRequest(server string, keyId string) (*http.Request, error)
- func NewDeleteBucketRequest(server string, id string, body DeleteBucketJSONRequestBody) (*http.Request, error)
- func NewDeleteBucketRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCardRequest(server string, id string) (*http.Request, error)
- func NewDeleteKubernetesClusterRequest(server string, id string) (*http.Request, error)
- func NewDeleteMemberRequest(server string, userId string) (*http.Request, error)
- func NewDeletePlacementGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteProjectRequest(server string, id string) (*http.Request, error)
- func NewDeleteSshKeyRequest(server string, id string) (*http.Request, error)
- func NewDeleteVmBackupPolicyRequest(server string, id string) (*http.Request, error)
- func NewDeleteVmBackupRequest(server string, id string, startedAt int64) (*http.Request, error)
- func NewDeleteVmFirewallRuleRequest(server string, id string, ruleId string) (*http.Request, error)
- func NewDeleteVmFirewallRulesRequest(server string, id string, body DeleteVmFirewallRulesJSONRequestBody) (*http.Request, error)
- func NewDeleteVmFirewallRulesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteVmRequest(server string, id string) (*http.Request, error)
- func NewDeleteVpcRequest(server string, id string) (*http.Request, error)
- func NewDeleteVpcReservedIpRequest(server string, id string, publicIpId string) (*http.Request, error)
- func NewDeleteVpcVipFirewallRuleRequest(server string, id string, vipId string, ruleId string) (*http.Request, error)
- func NewDeleteVpcVipFirewallRulesRequest(server string, id string, vipId string, ...) (*http.Request, error)
- func NewDeleteVpcVipFirewallRulesRequestWithBody(server string, id string, vipId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteVpcVipRequest(server string, id string, vipId string) (*http.Request, error)
- func NewDetachVmNetworkInterfaceRequest(server string, id string, nicId string) (*http.Request, error)
- func NewDetachVmPublicIpRequest(server string, id string, publicIpId string) (*http.Request, error)
- func NewDetachVmSshKeyRequest(server string, id string, keyId string) (*http.Request, error)
- func NewDetachVpcVipPublicIpRequest(server string, id string, vipId string) (*http.Request, error)
- func NewExecAiSandboxRequest(server string, sandboxId string, body ExecAiSandboxJSONRequestBody) (*http.Request, error)
- func NewExecAiSandboxRequestWithBody(server string, sandboxId string, contentType string, body io.Reader) (*http.Request, error)
- func NewForceStopVmRequest(server string, id string) (*http.Request, error)
- func NewGetAccountDeletedVmBackupRetentionRequest(server string) (*http.Request, error)
- func NewGetAccountLimitsRequest(server string) (*http.Request, error)
- func NewGetAccountRequest(server string) (*http.Request, error)
- func NewGetAiSandboxRequest(server string, sandboxId string) (*http.Request, error)
- func NewGetAiSandboxTemplateRequest(server string, templateId string) (*http.Request, error)
- func NewGetBillingAccrualRequest(server string, params *GetBillingAccrualParams) (*http.Request, error)
- func NewGetBillingBalanceRequest(server string) (*http.Request, error)
- func NewGetBillingDetailsRequest(server string) (*http.Request, error)
- func NewGetBucketCorsRequest(server string, id string) (*http.Request, error)
- func NewGetBucketLifecycleRequest(server string, id string) (*http.Request, error)
- func NewGetBucketObjectMetadataRequest(server string, id string, params *GetBucketObjectMetadataParams) (*http.Request, error)
- func NewGetBucketProtectionRequest(server string, id string) (*http.Request, error)
- func NewGetBucketRequest(server string, id string) (*http.Request, error)
- func NewGetBucketUsageRequest(server string, id string, params *GetBucketUsageParams) (*http.Request, error)
- func NewGetBucketVersioningRequest(server string, id string) (*http.Request, error)
- func NewGetCardLinkRequest(server string, checkoutId string) (*http.Request, error)
- func NewGetKubernetesClusterKubeconfigRequest(server string, id string) (*http.Request, error)
- func NewGetKubernetesClusterManagedVpnKubeconfigRequest(server string, id string) (*http.Request, error)
- func NewGetKubernetesClusterRequest(server string, id string) (*http.Request, error)
- func NewGetKubernetesNodeMetricRequest(server string, id string, vmId string, metric string, ...) (*http.Request, error)
- func NewGetMeRequest(server string) (*http.Request, error)
- func NewGetOperationRequest(server string, id string) (*http.Request, error)
- func NewGetPlacementFeasibilityRequest(server string, params *GetPlacementFeasibilityParams) (*http.Request, error)
- func NewGetPlacementGroupRequest(server string, id string) (*http.Request, error)
- func NewGetProjectRequest(server string, id string) (*http.Request, error)
- func NewGetSupportTicketAttachmentRequest(server string, id string, attachmentId string) (*http.Request, error)
- func NewGetSupportTicketRequest(server string, id string) (*http.Request, error)
- func NewGetVmBackupPolicyRequest(server string, id string) (*http.Request, error)
- func NewGetVmRequest(server string, id string) (*http.Request, error)
- func NewGetVpcRequest(server string, id string) (*http.Request, error)
- func NewGrantBucketKeyBucketAccessRequest(server string, keyId string, bucketId string) (*http.Request, error)
- func NewGrowKubernetesClusterStorageRequest(server string, id string, params *GrowKubernetesClusterStorageParams, ...) (*http.Request, error)
- func NewGrowKubernetesClusterStorageRequestWithBody(server string, id string, params *GrowKubernetesClusterStorageParams, ...) (*http.Request, error)
- func NewListActivityRequest(server string, params *ListActivityParams) (*http.Request, error)
- func NewListAiSandboxTemplatesRequest(server string, params *ListAiSandboxTemplatesParams) (*http.Request, error)
- func NewListAiSandboxesRequest(server string, params *ListAiSandboxesParams) (*http.Request, error)
- func NewListBackupPoliciesRequest(server string, params *ListBackupPoliciesParams) (*http.Request, error)
- func NewListBackupWindowsRequest(server string) (*http.Request, error)
- func NewListBucketDeletedObjectsRequest(server string, id string, params *ListBucketDeletedObjectsParams) (*http.Request, error)
- func NewListBucketKeysRequest(server string, params *ListBucketKeysParams) (*http.Request, error)
- func NewListBucketObjectVersionsRequest(server string, id string, params *ListBucketObjectVersionsParams) (*http.Request, error)
- func NewListBucketObjectsRequest(server string, id string, params *ListBucketObjectsParams) (*http.Request, error)
- func NewListBucketsRequest(server string, params *ListBucketsParams) (*http.Request, error)
- func NewListCardsRequest(server string, params *ListCardsParams) (*http.Request, error)
- func NewListIpAddressesRequest(server string, params *ListIpAddressesParams) (*http.Request, error)
- func NewListKubernetesClustersRequest(server string, params *ListKubernetesClustersParams) (*http.Request, error)
- func NewListMembersRequest(server string, params *ListMembersParams) (*http.Request, error)
- func NewListOsImagesRequest(server string, params *ListOsImagesParams) (*http.Request, error)
- func NewListPlacementGroupDatacentersRequest(server string) (*http.Request, error)
- func NewListPlacementGroupsRequest(server string, params *ListPlacementGroupsParams) (*http.Request, error)
- func NewListProjectResourcesRequest(server string, id string, params *ListProjectResourcesParams) (*http.Request, error)
- func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
- func NewListSshKeysRequest(server string, params *ListSshKeysParams) (*http.Request, error)
- func NewListSupportTicketsRequest(server string, params *ListSupportTicketsParams) (*http.Request, error)
- func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error)
- func NewListVipsRequest(server string, params *ListVipsParams) (*http.Request, error)
- func NewListVmBackupRestoreSitesRequest(server string, id string, startedAt int64) (*http.Request, error)
- func NewListVmBackupsRequest(server string, id string, params *ListVmBackupsParams) (*http.Request, error)
- func NewListVmDisksRequest(server string, id string, params *ListVmDisksParams) (*http.Request, error)
- func NewListVmFirewallRulesRequest(server string, id string) (*http.Request, error)
- func NewListVmNetworkInterfacesRequest(server string, id string, params *ListVmNetworkInterfacesParams) (*http.Request, error)
- func NewListVmPrivateIpsRequest(server string, id string, params *ListVmPrivateIpsParams) (*http.Request, error)
- func NewListVmPublicIpsRequest(server string, id string, params *ListVmPublicIpsParams) (*http.Request, error)
- func NewListVmSshKeysRequest(server string, id string, params *ListVmSshKeysParams) (*http.Request, error)
- func NewListVmsRequest(server string, params *ListVmsParams) (*http.Request, error)
- func NewListVpcFirewallRulesRequest(server string, id string) (*http.Request, error)
- func NewListVpcReservedIpsRequest(server string, id string, params *ListVpcReservedIpsParams) (*http.Request, error)
- func NewListVpcVipFirewallRulesRequest(server string, id string, vipId string) (*http.Request, error)
- func NewListVpcsRequest(server string, params *ListVpcsParams) (*http.Request, error)
- func NewMoveProjectResourceRequest(server string, id string, resourceId string) (*http.Request, error)
- func NewPauseAiSandboxRequest(server string, sandboxId string) (*http.Request, error)
- func NewPreviewVmBackupPolicyRotationRequest(server string, id string, body PreviewVmBackupPolicyRotationJSONRequestBody) (*http.Request, error)
- func NewPreviewVmBackupPolicyRotationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewReadAiSandboxFileRequest(server string, sandboxId string, params *ReadAiSandboxFileParams) (*http.Request, error)
- func NewRebootVmRequest(server string, id string) (*http.Request, error)
- func NewRemovePlacementGroupMemberRequest(server string, id string, vmId string) (*http.Request, error)
- func NewRemoveVmFromVipRequest(server string, id string, vipId string) (*http.Request, error)
- func NewRenameVmRequest(server string, id string, body RenameVmJSONRequestBody) (*http.Request, error)
- func NewRenameVmRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceBucketCorsRequest(server string, id string, body ReplaceBucketCorsJSONRequestBody) (*http.Request, error)
- func NewReplaceBucketCorsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceBucketLifecycleRequest(server string, id string, body ReplaceBucketLifecycleJSONRequestBody) (*http.Request, error)
- func NewReplaceBucketLifecycleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewResendMemberInvitationRequest(server string, userId string) (*http.Request, error)
- func NewResizeKubernetesClusterRequest(server string, id string, params *ResizeKubernetesClusterParams, ...) (*http.Request, error)
- func NewResizeKubernetesClusterRequestWithBody(server string, id string, params *ResizeKubernetesClusterParams, ...) (*http.Request, error)
- func NewResizeVmRequest(server string, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody) (*http.Request, error)
- func NewResizeVmRequestWithBody(server string, id string, params *ResizeVmParams, contentType string, ...) (*http.Request, error)
- func NewResolveSupportTicketRequest(server string, id string) (*http.Request, error)
- func NewRestartKubernetesClusterNodesRequest(server string, id string) (*http.Request, error)
- func NewRestoreVmBackupToNewVmRequest(server string, id string, startedAt int64, ...) (*http.Request, error)
- func NewRestoreVmBackupToNewVmRequestWithBody(server string, id string, startedAt int64, ...) (*http.Request, error)
- func NewRestoreVmRequest(server string, id string, body RestoreVmJSONRequestBody) (*http.Request, error)
- func NewRestoreVmRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewResumeAiSandboxRequest(server string, sandboxId string) (*http.Request, error)
- func NewRevealBucketKeySecretRequest(server string, keyId string) (*http.Request, error)
- func NewRevokeBucketKeyBucketAccessRequest(server string, keyId string, bucketId string) (*http.Request, error)
- func NewSaveAiSandboxTemplateRequest(server string, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*http.Request, error)
- func NewSaveAiSandboxTemplateRequestWithBody(server string, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*http.Request, error)
- func NewScaleKubernetesClusterRequest(server string, id string, params *ScaleKubernetesClusterParams, ...) (*http.Request, error)
- func NewScaleKubernetesClusterRequestWithBody(server string, id string, params *ScaleKubernetesClusterParams, ...) (*http.Request, error)
- func NewSetDefaultCardRequest(server string, id string) (*http.Request, error)
- func NewSetVpcVipFirewallRuleDescriptionRequest(server string, id string, vipId string, ruleId string, ...) (*http.Request, error)
- func NewSetVpcVipFirewallRuleDescriptionRequestWithBody(server string, id string, vipId string, ruleId string, contentType string, ...) (*http.Request, error)
- func NewShutdownVmRequest(server string, id string, params *ShutdownVmParams) (*http.Request, error)
- func NewStartVmRequest(server string, id string) (*http.Request, error)
- func NewUpdateBillingDetailsRequest(server string, body UpdateBillingDetailsJSONRequestBody) (*http.Request, error)
- func NewUpdateBillingDetailsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBucketVersioningRequest(server string, id string, body UpdateBucketVersioningJSONRequestBody) (*http.Request, error)
- func NewUpdateBucketVersioningRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMemberRoleRequest(server string, userId string, body UpdateMemberRoleJSONRequestBody) (*http.Request, error)
- func NewUpdateMemberRoleRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProjectRequest(server string, id string, body UpdateProjectJSONRequestBody) (*http.Request, error)
- func NewUpdateProjectRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSshKeyRequest(server string, id string, body UpdateSshKeyJSONRequestBody) (*http.Request, error)
- func NewUpdateSshKeyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVmBackupPolicyRequest(server string, id string, body UpdateVmBackupPolicyJSONRequestBody) (*http.Request, error)
- func NewUpdateVmBackupPolicyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVmBackupProtectionRequest(server string, id string, startedAt int64, ...) (*http.Request, error)
- func NewUpdateVmBackupProtectionRequestWithBody(server string, id string, startedAt int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVmFirewallRuleRequest(server string, id string, ruleId string, ...) (*http.Request, error)
- func NewUpdateVmFirewallRuleRequestWithBody(server string, id string, ruleId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVpcRequest(server string, id string, body UpdateVpcJSONRequestBody) (*http.Request, error)
- func NewUpdateVpcRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpgradeKubernetesClusterWorkersRequest(server string, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody) (*http.Request, error)
- func NewUpgradeKubernetesClusterWorkersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewWriteAiSandboxFileRequestWithBody(server string, sandboxId string, params *WriteAiSandboxFileParams, ...) (*http.Request, error)
- func OperationPath(operationID string) string
- type APIError
- type AddPlacementGroupMemberResponse
- func (r AddPlacementGroupMemberResponse) ContentType() string
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AddPlacementGroupMemberResponse) GetBody() []byte
- func (r AddPlacementGroupMemberResponse) GetJSON200() *PublicPlacementGroupDto
- func (r AddPlacementGroupMemberResponse) Status() string
- func (r AddPlacementGroupMemberResponse) StatusCode() int
- type AddVmDiskJSONRequestBody
- type AddVmDiskParams
- type AddVmDiskResponse
- func (r AddVmDiskResponse) ContentType() string
- func (r AddVmDiskResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AddVmDiskResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AddVmDiskResponse) GetBody() []byte
- func (r AddVmDiskResponse) GetJSON202() *OperationAccepted
- func (r AddVmDiskResponse) Status() string
- func (r AddVmDiskResponse) StatusCode() int
- type AddVmDiskResponse202Headers
- type AddVmToVipResponse
- func (r AddVmToVipResponse) ContentType() string
- func (r AddVmToVipResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AddVmToVipResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AddVmToVipResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AddVmToVipResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AddVmToVipResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AddVmToVipResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AddVmToVipResponse) GetBody() []byte
- func (r AddVmToVipResponse) GetJSON202() *OperationAccepted
- func (r AddVmToVipResponse) Status() string
- func (r AddVmToVipResponse) StatusCode() int
- type AddVmToVipResponse202Headers
- type ApplyVmPendingRestartParams
- type ApplyVmPendingRestartResponse
- func (r ApplyVmPendingRestartResponse) ContentType() string
- func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ApplyVmPendingRestartResponse) GetBody() []byte
- func (r ApplyVmPendingRestartResponse) GetJSON202() *OperationAccepted
- func (r ApplyVmPendingRestartResponse) Status() string
- func (r ApplyVmPendingRestartResponse) StatusCode() int
- type ApplyVmPendingRestartResponse202Headers
- type AttachVmNetworkInterfaceJSONRequestBody
- type AttachVmNetworkInterfaceParams
- type AttachVmNetworkInterfaceResponse
- func (r AttachVmNetworkInterfaceResponse) ContentType() string
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AttachVmNetworkInterfaceResponse) GetBody() []byte
- func (r AttachVmNetworkInterfaceResponse) GetJSON202() *OperationAccepted
- func (r AttachVmNetworkInterfaceResponse) Status() string
- func (r AttachVmNetworkInterfaceResponse) StatusCode() int
- type AttachVmNetworkInterfaceResponse202Headers
- type AttachVmPublicIpParams
- type AttachVmPublicIpResponse
- func (r AttachVmPublicIpResponse) ContentType() string
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AttachVmPublicIpResponse) GetBody() []byte
- func (r AttachVmPublicIpResponse) GetJSON202() *OperationAccepted
- func (r AttachVmPublicIpResponse) Status() string
- func (r AttachVmPublicIpResponse) StatusCode() int
- type AttachVmPublicIpResponse202Headers
- type AttachVmSshKeyResponse
- func (r AttachVmSshKeyResponse) ContentType() string
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AttachVmSshKeyResponse) GetBody() []byte
- func (r AttachVmSshKeyResponse) Status() string
- func (r AttachVmSshKeyResponse) StatusCode() int
- type AttachVpcVipPublicIpParams
- type AttachVpcVipPublicIpResponse
- func (r AttachVpcVipPublicIpResponse) ContentType() string
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r AttachVpcVipPublicIpResponse) GetBody() []byte
- func (r AttachVpcVipPublicIpResponse) GetJSON200() *PublicVipDto
- func (r AttachVpcVipPublicIpResponse) Status() string
- func (r AttachVpcVipPublicIpResponse) StatusCode() int
- type BackupVmJSONRequestBody
- type BackupVmParams
- type BackupVmResponse
- func (r BackupVmResponse) ContentType() string
- func (r BackupVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r BackupVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r BackupVmResponse) GetBody() []byte
- func (r BackupVmResponse) GetJSON202() *OperationAccepted
- func (r BackupVmResponse) Status() string
- func (r BackupVmResponse) StatusCode() int
- type BackupVmResponse202Headers
- type CancelMemberInvitationResponse
- func (r CancelMemberInvitationResponse) ContentType() string
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CancelMemberInvitationResponse) GetBody() []byte
- func (r CancelMemberInvitationResponse) Status() string
- func (r CancelMemberInvitationResponse) StatusCode() int
- type CancelOperationResponse
- func (r CancelOperationResponse) ContentType() string
- func (r CancelOperationResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CancelOperationResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CancelOperationResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CancelOperationResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CancelOperationResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CancelOperationResponse) GetBody() []byte
- func (r CancelOperationResponse) Status() string
- func (r CancelOperationResponse) StatusCode() int
- type Client
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddPlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*AddPlacementGroupMemberResponse, error)
- func (c *ClientWithResponses) AddVmDiskWithBodyWithResponse(ctx context.Context, id string, params *AddVmDiskParams, contentType string, ...) (*AddVmDiskResponse, error)
- func (c *ClientWithResponses) AddVmDiskWithResponse(ctx context.Context, id string, params *AddVmDiskParams, ...) (*AddVmDiskResponse, error)
- func (c *ClientWithResponses) AddVmToVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*AddVmToVipResponse, error)
- func (c *ClientWithResponses) ApplyVmPendingRestartWithResponse(ctx context.Context, id string, params *ApplyVmPendingRestartParams, ...) (*ApplyVmPendingRestartResponse, error)
- func (c *ClientWithResponses) AttachVmNetworkInterfaceWithBodyWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, ...) (*AttachVmNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) AttachVmNetworkInterfaceWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, ...) (*AttachVmNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) AttachVmPublicIpWithResponse(ctx context.Context, id string, params *AttachVmPublicIpParams, ...) (*AttachVmPublicIpResponse, error)
- func (c *ClientWithResponses) AttachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*AttachVmSshKeyResponse, error)
- func (c *ClientWithResponses) AttachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, ...) (*AttachVpcVipPublicIpResponse, error)
- func (c *ClientWithResponses) BackupVmWithBodyWithResponse(ctx context.Context, id string, params *BackupVmParams, contentType string, ...) (*BackupVmResponse, error)
- func (c *ClientWithResponses) BackupVmWithResponse(ctx context.Context, id string, params *BackupVmParams, ...) (*BackupVmResponse, error)
- func (c *ClientWithResponses) CancelMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*CancelMemberInvitationResponse, error)
- func (c *ClientWithResponses) CancelOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CancelOperationResponse, error)
- func (c *ClientWithResponses) CreateAiSandboxWithBodyWithResponse(ctx context.Context, params *CreateAiSandboxParams, contentType string, ...) (*CreateAiSandboxResponse, error)
- func (c *ClientWithResponses) CreateAiSandboxWithResponse(ctx context.Context, params *CreateAiSandboxParams, ...) (*CreateAiSandboxResponse, error)
- func (c *ClientWithResponses) CreateBucketKeyWithBodyWithResponse(ctx context.Context, params *CreateBucketKeyParams, contentType string, ...) (*CreateBucketKeyResponse, error)
- func (c *ClientWithResponses) CreateBucketKeyWithResponse(ctx context.Context, params *CreateBucketKeyParams, ...) (*CreateBucketKeyResponse, error)
- func (c *ClientWithResponses) CreateBucketWithBodyWithResponse(ctx context.Context, params *CreateBucketParams, contentType string, ...) (*CreateBucketResponse, error)
- func (c *ClientWithResponses) CreateBucketWithResponse(ctx context.Context, params *CreateBucketParams, ...) (*CreateBucketResponse, error)
- func (c *ClientWithResponses) CreateCardCheckoutWithResponse(ctx context.Context, params *CreateCardCheckoutParams, ...) (*CreateCardCheckoutResponse, error)
- func (c *ClientWithResponses) CreateCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*CreateCardLinkResponse, error)
- func (c *ClientWithResponses) CreateElevationRequestWithBodyWithResponse(ctx context.Context, params *CreateElevationRequestParams, contentType string, ...) (*CreateElevationRequestResponse, error)
- func (c *ClientWithResponses) CreateElevationRequestWithResponse(ctx context.Context, params *CreateElevationRequestParams, ...) (*CreateElevationRequestResponse, error)
- func (c *ClientWithResponses) CreateKubernetesClusterTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterTokenResponse, error)
- func (c *ClientWithResponses) CreateKubernetesClusterWithBodyWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, ...) (*CreateKubernetesClusterResponse, error)
- func (c *ClientWithResponses) CreateKubernetesClusterWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, ...) (*CreateKubernetesClusterResponse, error)
- func (c *ClientWithResponses) CreateMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateMemberResponse, error)
- func (c *ClientWithResponses) CreateMemberWithResponse(ctx context.Context, body CreateMemberJSONRequestBody, ...) (*CreateMemberResponse, error)
- func (c *ClientWithResponses) CreateObjectDownloadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateObjectDownloadUrlResponse, error)
- func (c *ClientWithResponses) CreateObjectDownloadUrlWithResponse(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, ...) (*CreateObjectDownloadUrlResponse, error)
- func (c *ClientWithResponses) CreateObjectUploadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateObjectUploadUrlResponse, error)
- func (c *ClientWithResponses) CreateObjectUploadUrlWithResponse(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, ...) (*CreateObjectUploadUrlResponse, error)
- func (c *ClientWithResponses) CreatePlacementGroupWithBodyWithResponse(ctx context.Context, params *CreatePlacementGroupParams, contentType string, ...) (*CreatePlacementGroupResponse, error)
- func (c *ClientWithResponses) CreatePlacementGroupWithResponse(ctx context.Context, params *CreatePlacementGroupParams, ...) (*CreatePlacementGroupResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateSshKeyWithBodyWithResponse(ctx context.Context, params *CreateSshKeyParams, contentType string, ...) (*CreateSshKeyResponse, error)
- func (c *ClientWithResponses) CreateSshKeyWithResponse(ctx context.Context, params *CreateSshKeyParams, ...) (*CreateSshKeyResponse, error)
- func (c *ClientWithResponses) CreateSupportTicketReplyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateSupportTicketReplyResponse, error)
- func (c *ClientWithResponses) CreateSupportTicketReplyWithResponse(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, ...) (*CreateSupportTicketReplyResponse, error)
- func (c *ClientWithResponses) CreateSupportTicketWithBodyWithResponse(ctx context.Context, params *CreateSupportTicketParams, contentType string, ...) (*CreateSupportTicketResponse, error)
- func (c *ClientWithResponses) CreateSupportTicketWithResponse(ctx context.Context, params *CreateSupportTicketParams, ...) (*CreateSupportTicketResponse, error)
- func (c *ClientWithResponses) CreateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, ...) (*CreateVmFirewallRuleResponse, error)
- func (c *ClientWithResponses) CreateVmFirewallRuleWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, ...) (*CreateVmFirewallRuleResponse, error)
- func (c *ClientWithResponses) CreateVmPrivateIpWithBodyWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, ...) (*CreateVmPrivateIpResponse, error)
- func (c *ClientWithResponses) CreateVmPrivateIpWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, ...) (*CreateVmPrivateIpResponse, error)
- func (c *ClientWithResponses) CreateVmWithBodyWithResponse(ctx context.Context, params *CreateVmParams, contentType string, ...) (*CreateVmResponse, error)
- func (c *ClientWithResponses) CreateVmWithResponse(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, ...) (*CreateVmResponse, error)
- func (c *ClientWithResponses) CreateVpcReservedIpWithResponse(ctx context.Context, id string, params *CreateVpcReservedIpParams, ...) (*CreateVpcReservedIpResponse, error)
- func (c *ClientWithResponses) CreateVpcVipFirewallRuleWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, ...) (*CreateVpcVipFirewallRuleResponse, error)
- func (c *ClientWithResponses) CreateVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, ...) (*CreateVpcVipFirewallRuleResponse, error)
- func (c *ClientWithResponses) CreateVpcVipWithResponse(ctx context.Context, id string, params *CreateVpcVipParams, ...) (*CreateVpcVipResponse, error)
- func (c *ClientWithResponses) CreateVpcWithBodyWithResponse(ctx context.Context, params *CreateVpcParams, contentType string, ...) (*CreateVpcResponse, error)
- func (c *ClientWithResponses) CreateVpcWithResponse(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, ...) (*CreateVpcResponse, error)
- func (c *ClientWithResponses) DeleteAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxTemplateResponse, error)
- func (c *ClientWithResponses) DeleteAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxResponse, error)
- func (c *ClientWithResponses) DeleteBucketKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteBucketKeyResponse, error)
- func (c *ClientWithResponses) DeleteBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DeleteBucketResponse, error)
- func (c *ClientWithResponses) DeleteBucketWithResponse(ctx context.Context, id string, body DeleteBucketJSONRequestBody, ...) (*DeleteBucketResponse, error)
- func (c *ClientWithResponses) DeleteCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCardResponse, error)
- func (c *ClientWithResponses) DeleteKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteKubernetesClusterResponse, error)
- func (c *ClientWithResponses) DeleteMemberWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteMemberResponse, error)
- func (c *ClientWithResponses) DeletePlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlacementGroupResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
- func (c *ClientWithResponses) DeleteVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmBackupPolicyResponse, error)
- func (c *ClientWithResponses) DeleteVmBackupWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*DeleteVmBackupResponse, error)
- func (c *ClientWithResponses) DeleteVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRuleResponse, error)
- func (c *ClientWithResponses) DeleteVmFirewallRulesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DeleteVmFirewallRulesResponse, error)
- func (c *ClientWithResponses) DeleteVmFirewallRulesWithResponse(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, ...) (*DeleteVmFirewallRulesResponse, error)
- func (c *ClientWithResponses) DeleteVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmResponse, error)
- func (c *ClientWithResponses) DeleteVpcReservedIpWithResponse(ctx context.Context, id string, publicIpId string, ...) (*DeleteVpcReservedIpResponse, error)
- func (c *ClientWithResponses) DeleteVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, ruleId string, ...) (*DeleteVpcVipFirewallRuleResponse, error)
- func (c *ClientWithResponses) DeleteVpcVipFirewallRulesWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, ...) (*DeleteVpcVipFirewallRulesResponse, error)
- func (c *ClientWithResponses) DeleteVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, ...) (*DeleteVpcVipFirewallRulesResponse, error)
- func (c *ClientWithResponses) DeleteVpcVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DeleteVpcVipResponse, error)
- func (c *ClientWithResponses) DeleteVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVpcResponse, error)
- func (c *ClientWithResponses) DetachVmNetworkInterfaceWithResponse(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*DetachVmNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) DetachVmPublicIpWithResponse(ctx context.Context, id string, publicIpId string, ...) (*DetachVmPublicIpResponse, error)
- func (c *ClientWithResponses) DetachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*DetachVmSshKeyResponse, error)
- func (c *ClientWithResponses) DetachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DetachVpcVipPublicIpResponse, error)
- func (c *ClientWithResponses) ExecAiSandboxWithBodyWithResponse(ctx context.Context, sandboxId string, contentType string, body io.Reader, ...) (*ExecAiSandboxResponse, error)
- func (c *ClientWithResponses) ExecAiSandboxWithResponse(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, ...) (*ExecAiSandboxResponse, error)
- func (c *ClientWithResponses) ForceStopVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ForceStopVmResponse, error)
- func (c *ClientWithResponses) GetAccountDeletedVmBackupRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountDeletedVmBackupRetentionResponse, error)
- func (c *ClientWithResponses) GetAccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountLimitsResponse, error)
- func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
- func (c *ClientWithResponses) GetAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetAiSandboxTemplateResponse, error)
- func (c *ClientWithResponses) GetAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*GetAiSandboxResponse, error)
- func (c *ClientWithResponses) GetBillingAccrualWithResponse(ctx context.Context, params *GetBillingAccrualParams, ...) (*GetBillingAccrualResponse, error)
- func (c *ClientWithResponses) GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)
- func (c *ClientWithResponses) GetBillingDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
- func (c *ClientWithResponses) GetBucketCorsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketCorsResponse, error)
- func (c *ClientWithResponses) GetBucketLifecycleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketLifecycleResponse, error)
- func (c *ClientWithResponses) GetBucketObjectMetadataWithResponse(ctx context.Context, id string, params *GetBucketObjectMetadataParams, ...) (*GetBucketObjectMetadataResponse, error)
- func (c *ClientWithResponses) GetBucketProtectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketProtectionResponse, error)
- func (c *ClientWithResponses) GetBucketUsageWithResponse(ctx context.Context, id string, params *GetBucketUsageParams, ...) (*GetBucketUsageResponse, error)
- func (c *ClientWithResponses) GetBucketVersioningWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketVersioningResponse, error)
- func (c *ClientWithResponses) GetBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketResponse, error)
- func (c *ClientWithResponses) GetCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*GetCardLinkResponse, error)
- func (c *ClientWithResponses) GetKubernetesClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterKubeconfigResponse, error)
- func (c *ClientWithResponses) GetKubernetesClusterManagedVpnKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterManagedVpnKubeconfigResponse, error)
- func (c *ClientWithResponses) GetKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResponse, error)
- func (c *ClientWithResponses) GetKubernetesNodeMetricWithResponse(ctx context.Context, id string, vmId string, metric string, ...) (*GetKubernetesNodeMetricResponse, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
- func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
- func (c *ClientWithResponses) GetPlacementFeasibilityWithResponse(ctx context.Context, params *GetPlacementFeasibilityParams, ...) (*GetPlacementFeasibilityResponse, error)
- func (c *ClientWithResponses) GetPlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlacementGroupResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetSupportTicketAttachmentWithResponse(ctx context.Context, id string, attachmentId string, ...) (*GetSupportTicketAttachmentResponse, error)
- func (c *ClientWithResponses) GetSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSupportTicketResponse, error)
- func (c *ClientWithResponses) GetVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmBackupPolicyResponse, error)
- func (c *ClientWithResponses) GetVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmResponse, error)
- func (c *ClientWithResponses) GetVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVpcResponse, error)
- func (c *ClientWithResponses) GrantBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, ...) (*GrantBucketKeyBucketAccessResponse, error)
- func (c *ClientWithResponses) GrowKubernetesClusterStorageWithBodyWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, ...) (*GrowKubernetesClusterStorageResponse, error)
- func (c *ClientWithResponses) GrowKubernetesClusterStorageWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, ...) (*GrowKubernetesClusterStorageResponse, error)
- func (c *ClientWithResponses) ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
- func (c *ClientWithResponses) ListAiSandboxTemplatesWithResponse(ctx context.Context, params *ListAiSandboxTemplatesParams, ...) (*ListAiSandboxTemplatesResponse, error)
- func (c *ClientWithResponses) ListAiSandboxesWithResponse(ctx context.Context, params *ListAiSandboxesParams, ...) (*ListAiSandboxesResponse, error)
- func (c *ClientWithResponses) ListBackupPoliciesWithResponse(ctx context.Context, params *ListBackupPoliciesParams, ...) (*ListBackupPoliciesResponse, error)
- func (c *ClientWithResponses) ListBackupWindowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBackupWindowsResponse, error)
- func (c *ClientWithResponses) ListBucketDeletedObjectsWithResponse(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, ...) (*ListBucketDeletedObjectsResponse, error)
- func (c *ClientWithResponses) ListBucketKeysWithResponse(ctx context.Context, params *ListBucketKeysParams, ...) (*ListBucketKeysResponse, error)
- func (c *ClientWithResponses) ListBucketObjectVersionsWithResponse(ctx context.Context, id string, params *ListBucketObjectVersionsParams, ...) (*ListBucketObjectVersionsResponse, error)
- func (c *ClientWithResponses) ListBucketObjectsWithResponse(ctx context.Context, id string, params *ListBucketObjectsParams, ...) (*ListBucketObjectsResponse, error)
- func (c *ClientWithResponses) ListBucketsWithResponse(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*ListBucketsResponse, error)
- func (c *ClientWithResponses) ListCardsWithResponse(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*ListCardsResponse, error)
- func (c *ClientWithResponses) ListIpAddressesWithResponse(ctx context.Context, params *ListIpAddressesParams, ...) (*ListIpAddressesResponse, error)
- func (c *ClientWithResponses) ListKubernetesClustersWithResponse(ctx context.Context, params *ListKubernetesClustersParams, ...) (*ListKubernetesClustersResponse, error)
- func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
- func (c *ClientWithResponses) ListOsImagesWithResponse(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*ListOsImagesResponse, error)
- func (c *ClientWithResponses) ListPlacementGroupDatacentersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlacementGroupDatacentersResponse, error)
- func (c *ClientWithResponses) ListPlacementGroupsWithResponse(ctx context.Context, params *ListPlacementGroupsParams, ...) (*ListPlacementGroupsResponse, error)
- func (c *ClientWithResponses) ListProjectResourcesWithResponse(ctx context.Context, id string, params *ListProjectResourcesParams, ...) (*ListProjectResourcesResponse, error)
- func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
- func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
- func (c *ClientWithResponses) ListSupportTicketsWithResponse(ctx context.Context, params *ListSupportTicketsParams, ...) (*ListSupportTicketsResponse, error)
- func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, ...) (*ListTransactionsResponse, error)
- func (c *ClientWithResponses) ListVipsWithResponse(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*ListVipsResponse, error)
- func (c *ClientWithResponses) ListVmBackupRestoreSitesWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*ListVmBackupRestoreSitesResponse, error)
- func (c *ClientWithResponses) ListVmBackupsWithResponse(ctx context.Context, id string, params *ListVmBackupsParams, ...) (*ListVmBackupsResponse, error)
- func (c *ClientWithResponses) ListVmDisksWithResponse(ctx context.Context, id string, params *ListVmDisksParams, ...) (*ListVmDisksResponse, error)
- func (c *ClientWithResponses) ListVmFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVmFirewallRulesResponse, error)
- func (c *ClientWithResponses) ListVmNetworkInterfacesWithResponse(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, ...) (*ListVmNetworkInterfacesResponse, error)
- func (c *ClientWithResponses) ListVmPrivateIpsWithResponse(ctx context.Context, id string, params *ListVmPrivateIpsParams, ...) (*ListVmPrivateIpsResponse, error)
- func (c *ClientWithResponses) ListVmPublicIpsWithResponse(ctx context.Context, id string, params *ListVmPublicIpsParams, ...) (*ListVmPublicIpsResponse, error)
- func (c *ClientWithResponses) ListVmSshKeysWithResponse(ctx context.Context, id string, params *ListVmSshKeysParams, ...) (*ListVmSshKeysResponse, error)
- func (c *ClientWithResponses) ListVmsWithResponse(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*ListVmsResponse, error)
- func (c *ClientWithResponses) ListVpcFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVpcFirewallRulesResponse, error)
- func (c *ClientWithResponses) ListVpcReservedIpsWithResponse(ctx context.Context, id string, params *ListVpcReservedIpsParams, ...) (*ListVpcReservedIpsResponse, error)
- func (c *ClientWithResponses) ListVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*ListVpcVipFirewallRulesResponse, error)
- func (c *ClientWithResponses) ListVpcsWithResponse(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*ListVpcsResponse, error)
- func (c *ClientWithResponses) MoveProjectResourceWithResponse(ctx context.Context, id string, resourceId string, ...) (*MoveProjectResourceResponse, error)
- func (c *ClientWithResponses) PauseAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*PauseAiSandboxResponse, error)
- func (c *ClientWithResponses) PreviewVmBackupPolicyRotationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PreviewVmBackupPolicyRotationResponse, error)
- func (c *ClientWithResponses) PreviewVmBackupPolicyRotationWithResponse(ctx context.Context, id string, ...) (*PreviewVmBackupPolicyRotationResponse, error)
- func (c *ClientWithResponses) ReadAiSandboxFileWithResponse(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, ...) (*ReadAiSandboxFileResponse, error)
- func (c *ClientWithResponses) RebootVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootVmResponse, error)
- func (c *ClientWithResponses) RemovePlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*RemovePlacementGroupMemberResponse, error)
- func (c *ClientWithResponses) RemoveVmFromVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*RemoveVmFromVipResponse, error)
- func (c *ClientWithResponses) RenameVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RenameVmResponse, error)
- func (c *ClientWithResponses) RenameVmWithResponse(ctx context.Context, id string, body RenameVmJSONRequestBody, ...) (*RenameVmResponse, error)
- func (c *ClientWithResponses) ReplaceBucketCorsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ReplaceBucketCorsResponse, error)
- func (c *ClientWithResponses) ReplaceBucketCorsWithResponse(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, ...) (*ReplaceBucketCorsResponse, error)
- func (c *ClientWithResponses) ReplaceBucketLifecycleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ReplaceBucketLifecycleResponse, error)
- func (c *ClientWithResponses) ReplaceBucketLifecycleWithResponse(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, ...) (*ReplaceBucketLifecycleResponse, error)
- func (c *ClientWithResponses) ResendMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ResendMemberInvitationResponse, error)
- func (c *ClientWithResponses) ResizeKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, ...) (*ResizeKubernetesClusterResponse, error)
- func (c *ClientWithResponses) ResizeKubernetesClusterWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, ...) (*ResizeKubernetesClusterResponse, error)
- func (c *ClientWithResponses) ResizeVmWithBodyWithResponse(ctx context.Context, id string, params *ResizeVmParams, contentType string, ...) (*ResizeVmResponse, error)
- func (c *ClientWithResponses) ResizeVmWithResponse(ctx context.Context, id string, params *ResizeVmParams, ...) (*ResizeVmResponse, error)
- func (c *ClientWithResponses) ResolveSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ResolveSupportTicketResponse, error)
- func (c *ClientWithResponses) RestartKubernetesClusterNodesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RestartKubernetesClusterNodesResponse, error)
- func (c *ClientWithResponses) RestoreVmBackupToNewVmWithBodyWithResponse(ctx context.Context, id string, startedAt int64, ...) (*RestoreVmBackupToNewVmResponse, error)
- func (c *ClientWithResponses) RestoreVmBackupToNewVmWithResponse(ctx context.Context, id string, startedAt int64, ...) (*RestoreVmBackupToNewVmResponse, error)
- func (c *ClientWithResponses) RestoreVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RestoreVmResponse, error)
- func (c *ClientWithResponses) RestoreVmWithResponse(ctx context.Context, id string, body RestoreVmJSONRequestBody, ...) (*RestoreVmResponse, error)
- func (c *ClientWithResponses) ResumeAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*ResumeAiSandboxResponse, error)
- func (c *ClientWithResponses) RevealBucketKeySecretWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*RevealBucketKeySecretResponse, error)
- func (c *ClientWithResponses) RevokeBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, ...) (*RevokeBucketKeyBucketAccessResponse, error)
- func (c *ClientWithResponses) SaveAiSandboxTemplateWithBodyWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*SaveAiSandboxTemplateResponse, error)
- func (c *ClientWithResponses) SaveAiSandboxTemplateWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*SaveAiSandboxTemplateResponse, error)
- func (c *ClientWithResponses) ScaleKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, ...) (*ScaleKubernetesClusterResponse, error)
- func (c *ClientWithResponses) ScaleKubernetesClusterWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, ...) (*ScaleKubernetesClusterResponse, error)
- func (c *ClientWithResponses) SetDefaultCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultCardResponse, error)
- func (c *ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithBodyWithResponse(ctx context.Context, id string, vipId string, ruleId string, ...) (*SetVpcVipFirewallRuleDescriptionResponse, error)
- func (c *ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithResponse(ctx context.Context, id string, vipId string, ruleId string, ...) (*SetVpcVipFirewallRuleDescriptionResponse, error)
- func (c *ClientWithResponses) ShutdownVmWithResponse(ctx context.Context, id string, params *ShutdownVmParams, ...) (*ShutdownVmResponse, error)
- func (c *ClientWithResponses) StartVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartVmResponse, error)
- func (c *ClientWithResponses) UpdateBillingDetailsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateBillingDetailsResponse, error)
- func (c *ClientWithResponses) UpdateBillingDetailsWithResponse(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, ...) (*UpdateBillingDetailsResponse, error)
- func (c *ClientWithResponses) UpdateBucketVersioningWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateBucketVersioningResponse, error)
- func (c *ClientWithResponses) UpdateBucketVersioningWithResponse(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, ...) (*UpdateBucketVersioningResponse, error)
- func (c *ClientWithResponses) UpdateMemberRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*UpdateMemberRoleResponse, error)
- func (c *ClientWithResponses) UpdateMemberRoleWithResponse(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, ...) (*UpdateMemberRoleResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, id string, body UpdateProjectJSONRequestBody, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateSshKeyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateSshKeyResponse, error)
- func (c *ClientWithResponses) UpdateSshKeyWithResponse(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, ...) (*UpdateSshKeyResponse, error)
- func (c *ClientWithResponses) UpdateVmBackupPolicyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateVmBackupPolicyResponse, error)
- func (c *ClientWithResponses) UpdateVmBackupPolicyWithResponse(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, ...) (*UpdateVmBackupPolicyResponse, error)
- func (c *ClientWithResponses) UpdateVmBackupProtectionWithBodyWithResponse(ctx context.Context, id string, startedAt int64, contentType string, ...) (*UpdateVmBackupProtectionResponse, error)
- func (c *ClientWithResponses) UpdateVmBackupProtectionWithResponse(ctx context.Context, id string, startedAt int64, ...) (*UpdateVmBackupProtectionResponse, error)
- func (c *ClientWithResponses) UpdateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, ruleId string, contentType string, ...) (*UpdateVmFirewallRuleResponse, error)
- func (c *ClientWithResponses) UpdateVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, ...) (*UpdateVmFirewallRuleResponse, error)
- func (c *ClientWithResponses) UpdateVpcWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateVpcResponse, error)
- func (c *ClientWithResponses) UpdateVpcWithResponse(ctx context.Context, id string, body UpdateVpcJSONRequestBody, ...) (*UpdateVpcResponse, error)
- func (c *ClientWithResponses) UpgradeKubernetesClusterWorkersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpgradeKubernetesClusterWorkersResponse, error)
- func (c *ClientWithResponses) UpgradeKubernetesClusterWorkersWithResponse(ctx context.Context, id string, ...) (*UpgradeKubernetesClusterWorkersResponse, error)
- func (c *ClientWithResponses) WriteAiSandboxFileWithBodyWithResponse(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, ...) (*WriteAiSandboxFileResponse, error)
- type ClientWithResponsesInterface
- type Cpu
- type CreateAiSandboxJSONBody
- type CreateAiSandboxJSONRequestBody
- type CreateAiSandboxParams
- type CreateAiSandboxResponse
- func (r CreateAiSandboxResponse) ContentType() string
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateAiSandboxResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateAiSandboxResponse) GetBody() []byte
- func (r CreateAiSandboxResponse) Status() string
- func (r CreateAiSandboxResponse) StatusCode() int
- type CreateAiSandboxResponse201Headers
- type CreateBucketJSONRequestBody
- type CreateBucketKeyJSONRequestBody
- type CreateBucketKeyParams
- type CreateBucketKeyResponse
- func (r CreateBucketKeyResponse) ContentType() string
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateBucketKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateBucketKeyResponse) GetBody() []byte
- func (r CreateBucketKeyResponse) GetJSON201() *PublicBucketKeyCreatedDto
- func (r CreateBucketKeyResponse) Status() string
- func (r CreateBucketKeyResponse) StatusCode() int
- type CreateBucketKeyResponse201Headers
- type CreateBucketParams
- type CreateBucketResponse
- func (r CreateBucketResponse) ContentType() string
- func (r CreateBucketResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateBucketResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateBucketResponse) GetBody() []byte
- func (r CreateBucketResponse) GetJSON202() *OperationAccepted
- func (r CreateBucketResponse) Status() string
- func (r CreateBucketResponse) StatusCode() int
- type CreateBucketResponse202Headers
- type CreateCardCheckoutParams
- type CreateCardCheckoutResponse
- func (r CreateCardCheckoutResponse) ContentType() string
- func (r CreateCardCheckoutResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateCardCheckoutResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateCardCheckoutResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateCardCheckoutResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateCardCheckoutResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateCardCheckoutResponse) GetBody() []byte
- func (r CreateCardCheckoutResponse) GetJSON201() *PublicCheckoutDto
- func (r CreateCardCheckoutResponse) Status() string
- func (r CreateCardCheckoutResponse) StatusCode() int
- type CreateCardLinkResponse
- func (r CreateCardLinkResponse) ContentType() string
- func (r CreateCardLinkResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateCardLinkResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateCardLinkResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateCardLinkResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateCardLinkResponse) GetBody() []byte
- func (r CreateCardLinkResponse) GetJSON200() *PublicCardLinkDto
- func (r CreateCardLinkResponse) Status() string
- func (r CreateCardLinkResponse) StatusCode() int
- type CreateElevationRequestJSONRequestBody
- type CreateElevationRequestParams
- type CreateElevationRequestResponse
- func (r CreateElevationRequestResponse) ContentType() string
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateElevationRequestResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateElevationRequestResponse) GetBody() []byte
- func (r CreateElevationRequestResponse) GetJSON200() *PublicElevationRequestDto
- func (r CreateElevationRequestResponse) Status() string
- func (r CreateElevationRequestResponse) StatusCode() int
- type CreateKubernetesClusterJSONRequestBody
- type CreateKubernetesClusterParams
- type CreateKubernetesClusterResponse
- func (r CreateKubernetesClusterResponse) ContentType() string
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateKubernetesClusterResponse) GetBody() []byte
- func (r CreateKubernetesClusterResponse) GetJSON201() *PublicKubernetesClusterDto
- func (r CreateKubernetesClusterResponse) Status() string
- func (r CreateKubernetesClusterResponse) StatusCode() int
- type CreateKubernetesClusterResponse201Headers
- type CreateKubernetesClusterTokenResponse
- func (r CreateKubernetesClusterTokenResponse) ContentType() string
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateKubernetesClusterTokenResponse) GetBody() []byte
- func (r CreateKubernetesClusterTokenResponse) GetJSON200() *PublicClusterTokenDto
- func (r CreateKubernetesClusterTokenResponse) Status() string
- func (r CreateKubernetesClusterTokenResponse) StatusCode() int
- type CreateMemberJSONRequestBody
- type CreateMemberResponse
- func (r CreateMemberResponse) ContentType() string
- func (r CreateMemberResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateMemberResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateMemberResponse) GetBody() []byte
- func (r CreateMemberResponse) GetJSON200() *PublicMemberInviteDto
- func (r CreateMemberResponse) Status() string
- func (r CreateMemberResponse) StatusCode() int
- type CreateObjectDownloadUrlJSONRequestBody
- type CreateObjectDownloadUrlResponse
- func (r CreateObjectDownloadUrlResponse) ContentType() string
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateObjectDownloadUrlResponse) GetBody() []byte
- func (r CreateObjectDownloadUrlResponse) GetJSON200() *PublicObjectDownloadUrlDto
- func (r CreateObjectDownloadUrlResponse) Status() string
- func (r CreateObjectDownloadUrlResponse) StatusCode() int
- type CreateObjectUploadUrlJSONRequestBody
- type CreateObjectUploadUrlResponse
- func (r CreateObjectUploadUrlResponse) ContentType() string
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateObjectUploadUrlResponse) GetBody() []byte
- func (r CreateObjectUploadUrlResponse) GetJSON200() *PublicObjectUploadUrlDto
- func (r CreateObjectUploadUrlResponse) Status() string
- func (r CreateObjectUploadUrlResponse) StatusCode() int
- type CreatePlacementGroupJSONRequestBody
- type CreatePlacementGroupParams
- type CreatePlacementGroupResponse
- func (r CreatePlacementGroupResponse) ContentType() string
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreatePlacementGroupResponse) GetBody() []byte
- func (r CreatePlacementGroupResponse) GetJSON201() *PublicPlacementGroupDto
- func (r CreatePlacementGroupResponse) Status() string
- func (r CreatePlacementGroupResponse) StatusCode() int
- type CreatePlacementGroupResponse201Headers
- type CreateProjectJSONRequestBody
- type CreateProjectParams
- type CreateProjectResponse
- func (r CreateProjectResponse) ContentType() string
- func (r CreateProjectResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateProjectResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateProjectResponse) GetBody() []byte
- func (r CreateProjectResponse) GetJSON201() *PublicProjectDto
- func (r CreateProjectResponse) Status() string
- func (r CreateProjectResponse) StatusCode() int
- type CreateProjectResponse201Headers
- type CreateSshKeyJSONRequestBody
- type CreateSshKeyParams
- type CreateSshKeyResponse
- func (r CreateSshKeyResponse) ContentType() string
- func (r CreateSshKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateSshKeyResponse) GetBody() []byte
- func (r CreateSshKeyResponse) GetJSON201() *PublicSshKeyDto
- func (r CreateSshKeyResponse) Status() string
- func (r CreateSshKeyResponse) StatusCode() int
- type CreateSshKeyResponse201Headers
- type CreateSupportTicketJSONRequestBody
- type CreateSupportTicketMultipartBody
- type CreateSupportTicketMultipartRequestBody
- type CreateSupportTicketParams
- type CreateSupportTicketReplyJSONRequestBody
- type CreateSupportTicketReplyMultipartBody
- type CreateSupportTicketReplyMultipartRequestBody
- type CreateSupportTicketReplyResponse
- func (r CreateSupportTicketReplyResponse) ContentType() string
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateSupportTicketReplyResponse) GetBody() []byte
- func (r CreateSupportTicketReplyResponse) GetJSON200() *PublicSupportTicketDto
- func (r CreateSupportTicketReplyResponse) Status() string
- func (r CreateSupportTicketReplyResponse) StatusCode() int
- type CreateSupportTicketResponse
- func (r CreateSupportTicketResponse) ContentType() string
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateSupportTicketResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateSupportTicketResponse) GetBody() []byte
- func (r CreateSupportTicketResponse) GetJSON201() *PublicSupportTicketDto
- func (r CreateSupportTicketResponse) Status() string
- func (r CreateSupportTicketResponse) StatusCode() int
- type CreateSupportTicketResponse201Headers
- type CreateVmFirewallRuleJSONRequestBody
- type CreateVmFirewallRuleParams
- type CreateVmFirewallRuleResponse
- func (r CreateVmFirewallRuleResponse) ContentType() string
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVmFirewallRuleResponse) GetBody() []byte
- func (r CreateVmFirewallRuleResponse) GetJSON202() *OperationAccepted
- func (r CreateVmFirewallRuleResponse) Status() string
- func (r CreateVmFirewallRuleResponse) StatusCode() int
- type CreateVmFirewallRuleResponse202Headers
- type CreateVmJSONRequestBody
- type CreateVmParams
- type CreateVmPrivateIpJSONRequestBody
- type CreateVmPrivateIpParams
- type CreateVmPrivateIpResponse
- func (r CreateVmPrivateIpResponse) ContentType() string
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVmPrivateIpResponse) GetBody() []byte
- func (r CreateVmPrivateIpResponse) GetJSON202() *OperationAccepted
- func (r CreateVmPrivateIpResponse) Status() string
- func (r CreateVmPrivateIpResponse) StatusCode() int
- type CreateVmPrivateIpResponse202Headers
- type CreateVmResponse
- func (r CreateVmResponse) ContentType() string
- func (r CreateVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVmResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateVmResponse) GetBody() []byte
- func (r CreateVmResponse) GetJSON202() *OperationAccepted
- func (r CreateVmResponse) Status() string
- func (r CreateVmResponse) StatusCode() int
- type CreateVmResponse202Headers
- type CreateVpcJSONRequestBody
- type CreateVpcParams
- type CreateVpcReservedIpParams
- type CreateVpcReservedIpResponse
- func (r CreateVpcReservedIpResponse) ContentType() string
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVpcReservedIpResponse) GetBody() []byte
- func (r CreateVpcReservedIpResponse) GetJSON200() *PublicReservedIpDto
- func (r CreateVpcReservedIpResponse) Status() string
- func (r CreateVpcReservedIpResponse) StatusCode() int
- type CreateVpcResponse
- func (r CreateVpcResponse) ContentType() string
- func (r CreateVpcResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVpcResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r CreateVpcResponse) GetBody() []byte
- func (r CreateVpcResponse) GetJSON201() *PublicVpcDto
- func (r CreateVpcResponse) Status() string
- func (r CreateVpcResponse) StatusCode() int
- type CreateVpcResponse201Headers
- type CreateVpcVipFirewallRuleJSONRequestBody
- type CreateVpcVipFirewallRuleResponse
- func (r CreateVpcVipFirewallRuleResponse) ContentType() string
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVpcVipFirewallRuleResponse) GetBody() []byte
- func (r CreateVpcVipFirewallRuleResponse) GetJSON202() *OperationAccepted
- func (r CreateVpcVipFirewallRuleResponse) Status() string
- func (r CreateVpcVipFirewallRuleResponse) StatusCode() int
- type CreateVpcVipFirewallRuleResponse202Headers
- type CreateVpcVipParams
- type CreateVpcVipResponse
- func (r CreateVpcVipResponse) ContentType() string
- func (r CreateVpcVipResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r CreateVpcVipResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r CreateVpcVipResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r CreateVpcVipResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r CreateVpcVipResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r CreateVpcVipResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r CreateVpcVipResponse) GetBody() []byte
- func (r CreateVpcVipResponse) GetJSON202() *OperationAccepted
- func (r CreateVpcVipResponse) Status() string
- func (r CreateVpcVipResponse) StatusCode() int
- type CreateVpcVipResponse202Headers
- type CursorPagePublicActivityDto
- type CursorPagePublicBackupDto
- type CursorPagePublicBackupWindowDto
- type CursorPagePublicBucketDto
- type CursorPagePublicBucketKeyDto
- type CursorPagePublicBucketObjectDto
- type CursorPagePublicBucketObjectVersionDto
- type CursorPagePublicCardDto
- type CursorPagePublicFirewallRuleDto
- type CursorPagePublicIpAddressDto
- type CursorPagePublicKubernetesClusterDto
- type CursorPagePublicLimitDto
- type CursorPagePublicMemberDto
- type CursorPagePublicOsImageDto
- type CursorPagePublicPlacementDatacenterDto
- type CursorPagePublicPlacementFeasibilityDto
- type CursorPagePublicPlacementGroupDto
- type CursorPagePublicProjectDto
- type CursorPagePublicProjectResourceDto
- type CursorPagePublicReservedIpDto
- type CursorPagePublicSshKeyDto
- type CursorPagePublicSupportTicketDto
- type CursorPagePublicTransactionDto
- type CursorPagePublicVipDto
- type CursorPagePublicVmBackupPolicyDto
- type CursorPagePublicVmDiskDto
- type CursorPagePublicVmDto
- type CursorPagePublicVmNicDto
- type CursorPagePublicVmPrivateIpDto
- type CursorPagePublicVmPublicIpDto
- type CursorPagePublicVpcDto
- type CursorPageSandboxDto
- type CursorPageSandboxTemplateDto
- type DeleteAiSandboxResponse
- func (r DeleteAiSandboxResponse) ContentType() string
- func (r DeleteAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteAiSandboxResponse) GetBody() []byte
- func (r DeleteAiSandboxResponse) Status() string
- func (r DeleteAiSandboxResponse) StatusCode() int
- type DeleteAiSandboxTemplateResponse
- func (r DeleteAiSandboxTemplateResponse) ContentType() string
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteAiSandboxTemplateResponse) GetBody() []byte
- func (r DeleteAiSandboxTemplateResponse) Status() string
- func (r DeleteAiSandboxTemplateResponse) StatusCode() int
- type DeleteBucketJSONRequestBody
- type DeleteBucketKeyResponse
- func (r DeleteBucketKeyResponse) ContentType() string
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteBucketKeyResponse) GetBody() []byte
- func (r DeleteBucketKeyResponse) Status() string
- func (r DeleteBucketKeyResponse) StatusCode() int
- type DeleteBucketResponse
- func (r DeleteBucketResponse) ContentType() string
- func (r DeleteBucketResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteBucketResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r DeleteBucketResponse) GetBody() []byte
- func (r DeleteBucketResponse) GetJSON202() *OperationAccepted
- func (r DeleteBucketResponse) Status() string
- func (r DeleteBucketResponse) StatusCode() int
- type DeleteBucketResponse202Headers
- type DeleteCardResponse
- func (r DeleteCardResponse) ContentType() string
- func (r DeleteCardResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteCardResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteCardResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteCardResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteCardResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteCardResponse) GetBody() []byte
- func (r DeleteCardResponse) Status() string
- func (r DeleteCardResponse) StatusCode() int
- type DeleteKubernetesClusterResponse
- func (r DeleteKubernetesClusterResponse) ContentType() string
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteKubernetesClusterResponse) GetBody() []byte
- func (r DeleteKubernetesClusterResponse) GetJSON202() *OperationAccepted
- func (r DeleteKubernetesClusterResponse) Status() string
- func (r DeleteKubernetesClusterResponse) StatusCode() int
- type DeleteKubernetesClusterResponse202Headers
- type DeleteMemberResponse
- func (r DeleteMemberResponse) ContentType() string
- func (r DeleteMemberResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteMemberResponse) GetBody() []byte
- func (r DeleteMemberResponse) Status() string
- func (r DeleteMemberResponse) StatusCode() int
- type DeletePlacementGroupResponse
- func (r DeletePlacementGroupResponse) ContentType() string
- func (r DeletePlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeletePlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeletePlacementGroupResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeletePlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeletePlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeletePlacementGroupResponse) GetBody() []byte
- func (r DeletePlacementGroupResponse) Status() string
- func (r DeletePlacementGroupResponse) StatusCode() int
- type DeleteProjectResponse
- func (r DeleteProjectResponse) ContentType() string
- func (r DeleteProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteProjectResponse) GetBody() []byte
- func (r DeleteProjectResponse) Status() string
- func (r DeleteProjectResponse) StatusCode() int
- type DeleteSshKeyResponse
- func (r DeleteSshKeyResponse) ContentType() string
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteSshKeyResponse) GetBody() []byte
- func (r DeleteSshKeyResponse) Status() string
- func (r DeleteSshKeyResponse) StatusCode() int
- type DeleteVmBackupPolicyResponse
- func (r DeleteVmBackupPolicyResponse) ContentType() string
- func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVmBackupPolicyResponse) GetBody() []byte
- func (r DeleteVmBackupPolicyResponse) Status() string
- func (r DeleteVmBackupPolicyResponse) StatusCode() int
- type DeleteVmBackupResponse
- func (r DeleteVmBackupResponse) ContentType() string
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVmBackupResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVmBackupResponse) GetBody() []byte
- func (r DeleteVmBackupResponse) Status() string
- func (r DeleteVmBackupResponse) StatusCode() int
- type DeleteVmFirewallRuleResponse
- func (r DeleteVmFirewallRuleResponse) ContentType() string
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVmFirewallRuleResponse) GetBody() []byte
- func (r DeleteVmFirewallRuleResponse) GetJSON202() *OperationAccepted
- func (r DeleteVmFirewallRuleResponse) Status() string
- func (r DeleteVmFirewallRuleResponse) StatusCode() int
- type DeleteVmFirewallRuleResponse202Headers
- type DeleteVmFirewallRulesJSONRequestBody
- type DeleteVmFirewallRulesResponse
- func (r DeleteVmFirewallRulesResponse) ContentType() string
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVmFirewallRulesResponse) GetBody() []byte
- func (r DeleteVmFirewallRulesResponse) GetJSON202() *OperationAccepted
- func (r DeleteVmFirewallRulesResponse) Status() string
- func (r DeleteVmFirewallRulesResponse) StatusCode() int
- type DeleteVmFirewallRulesResponse202Headers
- type DeleteVmResponse
- func (r DeleteVmResponse) ContentType() string
- func (r DeleteVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVmResponse) GetBody() []byte
- func (r DeleteVmResponse) GetJSON202() *OperationAccepted
- func (r DeleteVmResponse) Status() string
- func (r DeleteVmResponse) StatusCode() int
- type DeleteVmResponse202Headers
- type DeleteVpcReservedIpResponse
- func (r DeleteVpcReservedIpResponse) ContentType() string
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVpcReservedIpResponse) GetBody() []byte
- func (r DeleteVpcReservedIpResponse) Status() string
- func (r DeleteVpcReservedIpResponse) StatusCode() int
- type DeleteVpcResponse
- func (r DeleteVpcResponse) ContentType() string
- func (r DeleteVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVpcResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVpcResponse) GetBody() []byte
- func (r DeleteVpcResponse) Status() string
- func (r DeleteVpcResponse) StatusCode() int
- type DeleteVpcVipFirewallRuleResponse
- func (r DeleteVpcVipFirewallRuleResponse) ContentType() string
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVpcVipFirewallRuleResponse) GetBody() []byte
- func (r DeleteVpcVipFirewallRuleResponse) GetJSON202() *OperationAccepted
- func (r DeleteVpcVipFirewallRuleResponse) Status() string
- func (r DeleteVpcVipFirewallRuleResponse) StatusCode() int
- type DeleteVpcVipFirewallRuleResponse202Headers
- type DeleteVpcVipFirewallRulesJSONRequestBody
- type DeleteVpcVipFirewallRulesResponse
- func (r DeleteVpcVipFirewallRulesResponse) ContentType() string
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVpcVipFirewallRulesResponse) GetBody() []byte
- func (r DeleteVpcVipFirewallRulesResponse) GetJSON202() *OperationAccepted
- func (r DeleteVpcVipFirewallRulesResponse) Status() string
- func (r DeleteVpcVipFirewallRulesResponse) StatusCode() int
- type DeleteVpcVipFirewallRulesResponse202Headers
- type DeleteVpcVipResponse
- func (r DeleteVpcVipResponse) ContentType() string
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DeleteVpcVipResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DeleteVpcVipResponse) GetBody() []byte
- func (r DeleteVpcVipResponse) GetJSON202() *OperationAccepted
- func (r DeleteVpcVipResponse) Status() string
- func (r DeleteVpcVipResponse) StatusCode() int
- type DeleteVpcVipResponse202Headers
- type Deleted
- type DetachVmNetworkInterfaceResponse
- func (r DetachVmNetworkInterfaceResponse) ContentType() string
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DetachVmNetworkInterfaceResponse) GetBody() []byte
- func (r DetachVmNetworkInterfaceResponse) GetJSON202() *OperationAccepted
- func (r DetachVmNetworkInterfaceResponse) Status() string
- func (r DetachVmNetworkInterfaceResponse) StatusCode() int
- type DetachVmNetworkInterfaceResponse202Headers
- type DetachVmPublicIpResponse
- func (r DetachVmPublicIpResponse) ContentType() string
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DetachVmPublicIpResponse) GetBody() []byte
- func (r DetachVmPublicIpResponse) GetJSON202() *OperationAccepted
- func (r DetachVmPublicIpResponse) Status() string
- func (r DetachVmPublicIpResponse) StatusCode() int
- type DetachVmPublicIpResponse202Headers
- type DetachVmSshKeyResponse
- func (r DetachVmSshKeyResponse) ContentType() string
- func (r DetachVmSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DetachVmSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DetachVmSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DetachVmSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DetachVmSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DetachVmSshKeyResponse) GetBody() []byte
- func (r DetachVmSshKeyResponse) Status() string
- func (r DetachVmSshKeyResponse) StatusCode() int
- type DetachVpcVipPublicIpResponse
- func (r DetachVpcVipPublicIpResponse) ContentType() string
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r DetachVpcVipPublicIpResponse) GetBody() []byte
- func (r DetachVpcVipPublicIpResponse) GetJSON200() *PublicVipDto
- func (r DetachVpcVipPublicIpResponse) Status() string
- func (r DetachVpcVipPublicIpResponse) StatusCode() int
- type Disk
- type Disk1
- type ExecAiSandboxJSONBody
- type ExecAiSandboxJSONRequestBody
- type ExecAiSandboxResponse
- func (r ExecAiSandboxResponse) ContentType() string
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ExecAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ExecAiSandboxResponse) GetBody() []byte
- func (r ExecAiSandboxResponse) GetJSON200() *map[string]interface{}
- func (r ExecAiSandboxResponse) Status() string
- func (r ExecAiSandboxResponse) StatusCode() int
- type Failure
- type FieldViolation
- type FirewallRule
- type ForceStopVmResponse
- func (r ForceStopVmResponse) ContentType() string
- func (r ForceStopVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ForceStopVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ForceStopVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ForceStopVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ForceStopVmResponse) GetBody() []byte
- func (r ForceStopVmResponse) GetJSON202() *OperationAccepted
- func (r ForceStopVmResponse) Status() string
- func (r ForceStopVmResponse) StatusCode() int
- type ForceStopVmResponse202Headers
- type Gen
- func (c *Gen) AddPlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) AddVmDisk(ctx context.Context, id string, params *AddVmDiskParams, ...) (*http.Response, error)
- func (c *Gen) AddVmDiskWithBody(ctx context.Context, id string, params *AddVmDiskParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) AddVmToVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ApplyVmPendingRestart(ctx context.Context, id string, params *ApplyVmPendingRestartParams, ...) (*http.Response, error)
- func (c *Gen) AttachVmNetworkInterface(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, ...) (*http.Response, error)
- func (c *Gen) AttachVmNetworkInterfaceWithBody(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, ...) (*http.Response, error)
- func (c *Gen) AttachVmPublicIp(ctx context.Context, id string, params *AttachVmPublicIpParams, ...) (*http.Response, error)
- func (c *Gen) AttachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) AttachVpcVipPublicIp(ctx context.Context, id string, vipId string, ...) (*http.Response, error)
- func (c *Gen) BackupVm(ctx context.Context, id string, params *BackupVmParams, ...) (*http.Response, error)
- func (c *Gen) BackupVmWithBody(ctx context.Context, id string, params *BackupVmParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CancelMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) CancelOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) CreateAiSandbox(ctx context.Context, params *CreateAiSandboxParams, ...) (*http.Response, error)
- func (c *Gen) CreateAiSandboxWithBody(ctx context.Context, params *CreateAiSandboxParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateBucket(ctx context.Context, params *CreateBucketParams, ...) (*http.Response, error)
- func (c *Gen) CreateBucketKey(ctx context.Context, params *CreateBucketKeyParams, ...) (*http.Response, error)
- func (c *Gen) CreateBucketKeyWithBody(ctx context.Context, params *CreateBucketKeyParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateBucketWithBody(ctx context.Context, params *CreateBucketParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateCardCheckout(ctx context.Context, params *CreateCardCheckoutParams, ...) (*http.Response, error)
- func (c *Gen) CreateCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) CreateElevationRequest(ctx context.Context, params *CreateElevationRequestParams, ...) (*http.Response, error)
- func (c *Gen) CreateElevationRequestWithBody(ctx context.Context, params *CreateElevationRequestParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateKubernetesCluster(ctx context.Context, params *CreateKubernetesClusterParams, ...) (*http.Response, error)
- func (c *Gen) CreateKubernetesClusterToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) CreateKubernetesClusterWithBody(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateMember(ctx context.Context, body CreateMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateMemberWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) CreateObjectDownloadUrl(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateObjectDownloadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) CreateObjectUploadUrl(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateObjectUploadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) CreatePlacementGroup(ctx context.Context, params *CreatePlacementGroupParams, ...) (*http.Response, error)
- func (c *Gen) CreatePlacementGroupWithBody(ctx context.Context, params *CreatePlacementGroupParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateProject(ctx context.Context, params *CreateProjectParams, ...) (*http.Response, error)
- func (c *Gen) CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateSshKey(ctx context.Context, params *CreateSshKeyParams, ...) (*http.Response, error)
- func (c *Gen) CreateSshKeyWithBody(ctx context.Context, params *CreateSshKeyParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateSupportTicket(ctx context.Context, params *CreateSupportTicketParams, ...) (*http.Response, error)
- func (c *Gen) CreateSupportTicketReply(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateSupportTicketReplyWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) CreateSupportTicketWithBody(ctx context.Context, params *CreateSupportTicketParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateVm(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateVmFirewallRule(ctx context.Context, id string, params *CreateVmFirewallRuleParams, ...) (*http.Response, error)
- func (c *Gen) CreateVmFirewallRuleWithBody(ctx context.Context, id string, params *CreateVmFirewallRuleParams, ...) (*http.Response, error)
- func (c *Gen) CreateVmPrivateIp(ctx context.Context, id string, params *CreateVmPrivateIpParams, ...) (*http.Response, error)
- func (c *Gen) CreateVmPrivateIpWithBody(ctx context.Context, id string, params *CreateVmPrivateIpParams, ...) (*http.Response, error)
- func (c *Gen) CreateVmWithBody(ctx context.Context, params *CreateVmParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateVpc(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) CreateVpcReservedIp(ctx context.Context, id string, params *CreateVpcReservedIpParams, ...) (*http.Response, error)
- func (c *Gen) CreateVpcVip(ctx context.Context, id string, params *CreateVpcVipParams, ...) (*http.Response, error)
- func (c *Gen) CreateVpcVipFirewallRule(ctx context.Context, id string, vipId string, ...) (*http.Response, error)
- func (c *Gen) CreateVpcVipFirewallRuleWithBody(ctx context.Context, id string, vipId string, contentType string, ...) (*http.Response, error)
- func (c *Gen) CreateVpcWithBody(ctx context.Context, params *CreateVpcParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) DeleteAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteBucket(ctx context.Context, id string, body DeleteBucketJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) DeleteBucketKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) DeleteCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteMember(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeletePlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteSshKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVmBackup(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVmFirewallRule(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVmFirewallRules(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) DeleteVmFirewallRulesWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) DeleteVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVpcReservedIp(ctx context.Context, id string, publicIpId string, ...) (*http.Response, error)
- func (c *Gen) DeleteVpcVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DeleteVpcVipFirewallRule(ctx context.Context, id string, vipId string, ruleId string, ...) (*http.Response, error)
- func (c *Gen) DeleteVpcVipFirewallRules(ctx context.Context, id string, vipId string, ...) (*http.Response, error)
- func (c *Gen) DeleteVpcVipFirewallRulesWithBody(ctx context.Context, id string, vipId string, contentType string, ...) (*http.Response, error)
- func (c *Gen) DetachVmNetworkInterface(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DetachVmPublicIp(ctx context.Context, id string, publicIpId string, ...) (*http.Response, error)
- func (c *Gen) DetachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) DetachVpcVipPublicIp(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ExecAiSandbox(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) ExecAiSandboxWithBody(ctx context.Context, sandboxId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ForceStopVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetAccountDeletedVmBackupRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetAccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBillingAccrual(ctx context.Context, params *GetBillingAccrualParams, ...) (*http.Response, error)
- func (c *Gen) GetBillingBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBillingDetails(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBucketCors(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBucketLifecycle(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBucketObjectMetadata(ctx context.Context, id string, params *GetBucketObjectMetadataParams, ...) (*http.Response, error)
- func (c *Gen) GetBucketProtection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetBucketUsage(ctx context.Context, id string, params *GetBucketUsageParams, ...) (*http.Response, error)
- func (c *Gen) GetBucketVersioning(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetKubernetesClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetKubernetesClusterManagedVpnKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetKubernetesNodeMetric(ctx context.Context, id string, vmId string, metric string, ...) (*http.Response, error)
- func (c *Gen) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetPlacementFeasibility(ctx context.Context, params *GetPlacementFeasibilityParams, ...) (*http.Response, error)
- func (c *Gen) GetPlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetSupportTicketAttachment(ctx context.Context, id string, attachmentId string, ...) (*http.Response, error)
- func (c *Gen) GetVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GetVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) GrantBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, ...) (*http.Response, error)
- func (c *Gen) GrowKubernetesClusterStorage(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, ...) (*http.Response, error)
- func (c *Gen) GrowKubernetesClusterStorageWithBody(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, ...) (*http.Response, error)
- func (c *Gen) ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListAiSandboxTemplates(ctx context.Context, params *ListAiSandboxTemplatesParams, ...) (*http.Response, error)
- func (c *Gen) ListAiSandboxes(ctx context.Context, params *ListAiSandboxesParams, ...) (*http.Response, error)
- func (c *Gen) ListBackupPolicies(ctx context.Context, params *ListBackupPoliciesParams, ...) (*http.Response, error)
- func (c *Gen) ListBackupWindows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListBucketDeletedObjects(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, ...) (*http.Response, error)
- func (c *Gen) ListBucketKeys(ctx context.Context, params *ListBucketKeysParams, ...) (*http.Response, error)
- func (c *Gen) ListBucketObjectVersions(ctx context.Context, id string, params *ListBucketObjectVersionsParams, ...) (*http.Response, error)
- func (c *Gen) ListBucketObjects(ctx context.Context, id string, params *ListBucketObjectsParams, ...) (*http.Response, error)
- func (c *Gen) ListBuckets(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListCards(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListIpAddresses(ctx context.Context, params *ListIpAddressesParams, ...) (*http.Response, error)
- func (c *Gen) ListKubernetesClusters(ctx context.Context, params *ListKubernetesClustersParams, ...) (*http.Response, error)
- func (c *Gen) ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListOsImages(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListPlacementGroupDatacenters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListPlacementGroups(ctx context.Context, params *ListPlacementGroupsParams, ...) (*http.Response, error)
- func (c *Gen) ListProjectResources(ctx context.Context, id string, params *ListProjectResourcesParams, ...) (*http.Response, error)
- func (c *Gen) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListSshKeys(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListSupportTickets(ctx context.Context, params *ListSupportTicketsParams, ...) (*http.Response, error)
- func (c *Gen) ListTransactions(ctx context.Context, params *ListTransactionsParams, ...) (*http.Response, error)
- func (c *Gen) ListVips(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVmBackupRestoreSites(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVmBackups(ctx context.Context, id string, params *ListVmBackupsParams, ...) (*http.Response, error)
- func (c *Gen) ListVmDisks(ctx context.Context, id string, params *ListVmDisksParams, ...) (*http.Response, error)
- func (c *Gen) ListVmFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVmNetworkInterfaces(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, ...) (*http.Response, error)
- func (c *Gen) ListVmPrivateIps(ctx context.Context, id string, params *ListVmPrivateIpsParams, ...) (*http.Response, error)
- func (c *Gen) ListVmPublicIps(ctx context.Context, id string, params *ListVmPublicIpsParams, ...) (*http.Response, error)
- func (c *Gen) ListVmSshKeys(ctx context.Context, id string, params *ListVmSshKeysParams, ...) (*http.Response, error)
- func (c *Gen) ListVms(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVpcFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVpcReservedIps(ctx context.Context, id string, params *ListVpcReservedIpsParams, ...) (*http.Response, error)
- func (c *Gen) ListVpcVipFirewallRules(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ListVpcs(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) MoveProjectResource(ctx context.Context, id string, resourceId string, ...) (*http.Response, error)
- func (c *Gen) PauseAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) PreviewVmBackupPolicyRotation(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Gen) PreviewVmBackupPolicyRotationWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ReadAiSandboxFile(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, ...) (*http.Response, error)
- func (c *Gen) RebootVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RemovePlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RemoveVmFromVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RenameVm(ctx context.Context, id string, body RenameVmJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) RenameVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ReplaceBucketCors(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) ReplaceBucketCorsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ReplaceBucketLifecycle(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) ReplaceBucketLifecycleWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ResendMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) ResizeKubernetesCluster(ctx context.Context, id string, params *ResizeKubernetesClusterParams, ...) (*http.Response, error)
- func (c *Gen) ResizeKubernetesClusterWithBody(ctx context.Context, id string, params *ResizeKubernetesClusterParams, ...) (*http.Response, error)
- func (c *Gen) ResizeVm(ctx context.Context, id string, params *ResizeVmParams, ...) (*http.Response, error)
- func (c *Gen) ResizeVmWithBody(ctx context.Context, id string, params *ResizeVmParams, contentType string, ...) (*http.Response, error)
- func (c *Gen) ResolveSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RestartKubernetesClusterNodes(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RestoreVm(ctx context.Context, id string, body RestoreVmJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) RestoreVmBackupToNewVm(ctx context.Context, id string, startedAt int64, ...) (*http.Response, error)
- func (c *Gen) RestoreVmBackupToNewVmWithBody(ctx context.Context, id string, startedAt int64, ...) (*http.Response, error)
- func (c *Gen) RestoreVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) ResumeAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RevealBucketKeySecret(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) RevokeBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, ...) (*http.Response, error)
- func (c *Gen) SaveAiSandboxTemplate(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*http.Response, error)
- func (c *Gen) SaveAiSandboxTemplateWithBody(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, ...) (*http.Response, error)
- func (c *Gen) ScaleKubernetesCluster(ctx context.Context, id string, params *ScaleKubernetesClusterParams, ...) (*http.Response, error)
- func (c *Gen) ScaleKubernetesClusterWithBody(ctx context.Context, id string, params *ScaleKubernetesClusterParams, ...) (*http.Response, error)
- func (c *Gen) SetDefaultCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) SetVpcVipFirewallRuleDescription(ctx context.Context, id string, vipId string, ruleId string, ...) (*http.Response, error)
- func (c *Gen) SetVpcVipFirewallRuleDescriptionWithBody(ctx context.Context, id string, vipId string, ruleId string, ...) (*http.Response, error)
- func (c *Gen) ShutdownVm(ctx context.Context, id string, params *ShutdownVmParams, ...) (*http.Response, error)
- func (c *Gen) StartVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Gen) UpdateBillingDetails(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateBillingDetailsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateBucketVersioning(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateBucketVersioningWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateMemberRole(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateMemberRoleWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateProject(ctx context.Context, id string, body UpdateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateProjectWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateSshKey(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateSshKeyWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateVmBackupPolicy(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateVmBackupPolicyWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpdateVmBackupProtection(ctx context.Context, id string, startedAt int64, ...) (*http.Response, error)
- func (c *Gen) UpdateVmBackupProtectionWithBody(ctx context.Context, id string, startedAt int64, contentType string, ...) (*http.Response, error)
- func (c *Gen) UpdateVmFirewallRule(ctx context.Context, id string, ruleId string, ...) (*http.Response, error)
- func (c *Gen) UpdateVmFirewallRuleWithBody(ctx context.Context, id string, ruleId string, contentType string, ...) (*http.Response, error)
- func (c *Gen) UpdateVpc(ctx context.Context, id string, body UpdateVpcJSONRequestBody, ...) (*http.Response, error)
- func (c *Gen) UpdateVpcWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) UpgradeKubernetesClusterWorkers(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Gen) UpgradeKubernetesClusterWorkersWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Gen) WriteAiSandboxFileWithBody(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, ...) (*http.Response, error)
- type GetAccountDeletedVmBackupRetentionResponse
- func (r GetAccountDeletedVmBackupRetentionResponse) ContentType() string
- func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetAccountDeletedVmBackupRetentionResponse) GetBody() []byte
- func (r GetAccountDeletedVmBackupRetentionResponse) GetJSON200() *PublicDeletedVmBackupRetentionDto
- func (r GetAccountDeletedVmBackupRetentionResponse) Status() string
- func (r GetAccountDeletedVmBackupRetentionResponse) StatusCode() int
- type GetAccountLimitsResponse
- func (r GetAccountLimitsResponse) ContentType() string
- func (r GetAccountLimitsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetAccountLimitsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetAccountLimitsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetAccountLimitsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetAccountLimitsResponse) GetBody() []byte
- func (r GetAccountLimitsResponse) GetJSON200() *CursorPagePublicLimitDto
- func (r GetAccountLimitsResponse) Status() string
- func (r GetAccountLimitsResponse) StatusCode() int
- type GetAccountResponse
- func (r GetAccountResponse) ContentType() string
- func (r GetAccountResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetAccountResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetAccountResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetAccountResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetAccountResponse) GetBody() []byte
- func (r GetAccountResponse) GetJSON200() *PublicAccountDto
- func (r GetAccountResponse) Status() string
- func (r GetAccountResponse) StatusCode() int
- type GetAiSandboxResponse
- func (r GetAiSandboxResponse) ContentType() string
- func (r GetAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetAiSandboxResponse) GetBody() []byte
- func (r GetAiSandboxResponse) GetJSON200() *map[string]interface{}
- func (r GetAiSandboxResponse) Status() string
- func (r GetAiSandboxResponse) StatusCode() int
- type GetAiSandboxTemplateResponse
- func (r GetAiSandboxTemplateResponse) ContentType() string
- func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetAiSandboxTemplateResponse) GetBody() []byte
- func (r GetAiSandboxTemplateResponse) GetJSON200() *map[string]interface{}
- func (r GetAiSandboxTemplateResponse) Status() string
- func (r GetAiSandboxTemplateResponse) StatusCode() int
- type GetBillingAccrualParams
- type GetBillingAccrualResponse
- func (r GetBillingAccrualResponse) ContentType() string
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBillingAccrualResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBillingAccrualResponse) GetBody() []byte
- func (r GetBillingAccrualResponse) GetJSON200() *PublicAccrualDto
- func (r GetBillingAccrualResponse) Status() string
- func (r GetBillingAccrualResponse) StatusCode() int
- type GetBillingBalanceResponse
- func (r GetBillingBalanceResponse) ContentType() string
- func (r GetBillingBalanceResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBillingBalanceResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBillingBalanceResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBillingBalanceResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBillingBalanceResponse) GetBody() []byte
- func (r GetBillingBalanceResponse) GetJSON200() *PublicBalanceDto
- func (r GetBillingBalanceResponse) Status() string
- func (r GetBillingBalanceResponse) StatusCode() int
- type GetBillingDetailsResponse
- func (r GetBillingDetailsResponse) ContentType() string
- func (r GetBillingDetailsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBillingDetailsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBillingDetailsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBillingDetailsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBillingDetailsResponse) GetBody() []byte
- func (r GetBillingDetailsResponse) GetJSON200() *PublicBillingDetailsDto
- func (r GetBillingDetailsResponse) Status() string
- func (r GetBillingDetailsResponse) StatusCode() int
- type GetBucketCorsResponse
- func (r GetBucketCorsResponse) ContentType() string
- func (r GetBucketCorsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketCorsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketCorsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketCorsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketCorsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketCorsResponse) GetBody() []byte
- func (r GetBucketCorsResponse) GetJSON200() *PublicBucketCorsDto
- func (r GetBucketCorsResponse) Status() string
- func (r GetBucketCorsResponse) StatusCode() int
- type GetBucketLifecycleResponse
- func (r GetBucketLifecycleResponse) ContentType() string
- func (r GetBucketLifecycleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketLifecycleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketLifecycleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketLifecycleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketLifecycleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketLifecycleResponse) GetBody() []byte
- func (r GetBucketLifecycleResponse) GetJSON200() *PublicBucketLifecycleDto
- func (r GetBucketLifecycleResponse) Status() string
- func (r GetBucketLifecycleResponse) StatusCode() int
- type GetBucketObjectMetadataParams
- type GetBucketObjectMetadataResponse
- func (r GetBucketObjectMetadataResponse) ContentType() string
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketObjectMetadataResponse) GetBody() []byte
- func (r GetBucketObjectMetadataResponse) GetJSON200() *PublicBucketObjectMetadataDto
- func (r GetBucketObjectMetadataResponse) Status() string
- func (r GetBucketObjectMetadataResponse) StatusCode() int
- type GetBucketProtectionResponse
- func (r GetBucketProtectionResponse) ContentType() string
- func (r GetBucketProtectionResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketProtectionResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketProtectionResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketProtectionResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketProtectionResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketProtectionResponse) GetBody() []byte
- func (r GetBucketProtectionResponse) GetJSON200() *PublicBucketProtectionDto
- func (r GetBucketProtectionResponse) Status() string
- func (r GetBucketProtectionResponse) StatusCode() int
- type GetBucketResponse
- func (r GetBucketResponse) ContentType() string
- func (r GetBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketResponse) GetBody() []byte
- func (r GetBucketResponse) GetJSON200() *PublicBucketDto
- func (r GetBucketResponse) Status() string
- func (r GetBucketResponse) StatusCode() int
- type GetBucketUsageParams
- type GetBucketUsageResponse
- func (r GetBucketUsageResponse) ContentType() string
- func (r GetBucketUsageResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketUsageResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketUsageResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketUsageResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketUsageResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketUsageResponse) GetBody() []byte
- func (r GetBucketUsageResponse) GetJSON200() *PublicBucketUsageDto
- func (r GetBucketUsageResponse) Status() string
- func (r GetBucketUsageResponse) StatusCode() int
- type GetBucketVersioningResponse
- func (r GetBucketVersioningResponse) ContentType() string
- func (r GetBucketVersioningResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetBucketVersioningResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetBucketVersioningResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetBucketVersioningResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetBucketVersioningResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetBucketVersioningResponse) GetBody() []byte
- func (r GetBucketVersioningResponse) GetJSON200() *PublicBucketVersioningDto
- func (r GetBucketVersioningResponse) Status() string
- func (r GetBucketVersioningResponse) StatusCode() int
- type GetCardLinkResponse
- func (r GetCardLinkResponse) ContentType() string
- func (r GetCardLinkResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetCardLinkResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetCardLinkResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetCardLinkResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetCardLinkResponse) GetBody() []byte
- func (r GetCardLinkResponse) GetJSON200() *PublicCardLinkDto
- func (r GetCardLinkResponse) Status() string
- func (r GetCardLinkResponse) StatusCode() int
- type GetKubernetesClusterKubeconfigResponse
- func (r GetKubernetesClusterKubeconfigResponse) ContentType() string
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r GetKubernetesClusterKubeconfigResponse) GetBody() []byte
- func (r GetKubernetesClusterKubeconfigResponse) Status() string
- func (r GetKubernetesClusterKubeconfigResponse) StatusCode() int
- type GetKubernetesClusterManagedVpnKubeconfigResponse
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) ContentType() string
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetBody() []byte
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) Status() string
- func (r GetKubernetesClusterManagedVpnKubeconfigResponse) StatusCode() int
- type GetKubernetesClusterResponse
- func (r GetKubernetesClusterResponse) ContentType() string
- func (r GetKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetKubernetesClusterResponse) GetBody() []byte
- func (r GetKubernetesClusterResponse) GetJSON200() *PublicKubernetesClusterDetailDto
- func (r GetKubernetesClusterResponse) Status() string
- func (r GetKubernetesClusterResponse) StatusCode() int
- type GetKubernetesNodeMetricParams
- type GetKubernetesNodeMetricResponse
- func (r GetKubernetesNodeMetricResponse) ContentType() string
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetKubernetesNodeMetricResponse) GetBody() []byte
- func (r GetKubernetesNodeMetricResponse) GetJSON200() *PublicKubernetesNodeMetricDto
- func (r GetKubernetesNodeMetricResponse) Status() string
- func (r GetKubernetesNodeMetricResponse) StatusCode() int
- type GetMeResponse
- func (r GetMeResponse) ContentType() string
- func (r GetMeResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetMeResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetMeResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetMeResponse) GetBody() []byte
- func (r GetMeResponse) GetJSON200() *PublicMeDto
- func (r GetMeResponse) Status() string
- func (r GetMeResponse) StatusCode() int
- type GetOperationResponse
- func (r GetOperationResponse) ContentType() string
- func (r GetOperationResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetOperationResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetOperationResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetOperationResponse) GetBody() []byte
- func (r GetOperationResponse) GetJSON200() *PublicOperationDto
- func (r GetOperationResponse) Status() string
- func (r GetOperationResponse) StatusCode() int
- type GetPlacementFeasibilityParams
- type GetPlacementFeasibilityResponse
- func (r GetPlacementFeasibilityResponse) ContentType() string
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetPlacementFeasibilityResponse) GetBody() []byte
- func (r GetPlacementFeasibilityResponse) GetJSON200() *PublicPlacementFeasibilityDto
- func (r GetPlacementFeasibilityResponse) Status() string
- func (r GetPlacementFeasibilityResponse) StatusCode() int
- type GetPlacementGroupResponse
- func (r GetPlacementGroupResponse) ContentType() string
- func (r GetPlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetPlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetPlacementGroupResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetPlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetPlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetPlacementGroupResponse) GetBody() []byte
- func (r GetPlacementGroupResponse) GetJSON200() *PublicPlacementGroupDto
- func (r GetPlacementGroupResponse) Status() string
- func (r GetPlacementGroupResponse) StatusCode() int
- type GetProjectResponse
- func (r GetProjectResponse) ContentType() string
- func (r GetProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetProjectResponse) GetBody() []byte
- func (r GetProjectResponse) GetJSON200() *PublicProjectDto
- func (r GetProjectResponse) Status() string
- func (r GetProjectResponse) StatusCode() int
- type GetSupportTicketAttachmentResponse
- func (r GetSupportTicketAttachmentResponse) ContentType() string
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r GetSupportTicketAttachmentResponse) GetBody() []byte
- func (r GetSupportTicketAttachmentResponse) Status() string
- func (r GetSupportTicketAttachmentResponse) StatusCode() int
- type GetSupportTicketResponse
- func (r GetSupportTicketResponse) ContentType() string
- func (r GetSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetSupportTicketResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetSupportTicketResponse) GetBody() []byte
- func (r GetSupportTicketResponse) GetJSON200() *PublicSupportTicketDetailDto
- func (r GetSupportTicketResponse) Status() string
- func (r GetSupportTicketResponse) StatusCode() int
- type GetVmBackupPolicyResponse
- func (r GetVmBackupPolicyResponse) ContentType() string
- func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetVmBackupPolicyResponse) GetBody() []byte
- func (r GetVmBackupPolicyResponse) GetJSON200() *PublicBackupPolicyDto
- func (r GetVmBackupPolicyResponse) Status() string
- func (r GetVmBackupPolicyResponse) StatusCode() int
- type GetVmResponse
- func (r GetVmResponse) ContentType() string
- func (r GetVmResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetVmResponse) GetBody() []byte
- func (r GetVmResponse) GetJSON200() *PublicVmDto
- func (r GetVmResponse) Status() string
- func (r GetVmResponse) StatusCode() int
- type GetVpcResponse
- func (r GetVpcResponse) ContentType() string
- func (r GetVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GetVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GetVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GetVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GetVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GetVpcResponse) GetBody() []byte
- func (r GetVpcResponse) GetJSON200() *PublicVpcDto
- func (r GetVpcResponse) Status() string
- func (r GetVpcResponse) StatusCode() int
- type GrantBucketKeyBucketAccessResponse
- func (r GrantBucketKeyBucketAccessResponse) ContentType() string
- func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GrantBucketKeyBucketAccessResponse) GetBody() []byte
- func (r GrantBucketKeyBucketAccessResponse) Status() string
- func (r GrantBucketKeyBucketAccessResponse) StatusCode() int
- type GrowKubernetesClusterStorageJSONRequestBody
- type GrowKubernetesClusterStorageParams
- type GrowKubernetesClusterStorageResponse
- func (r GrowKubernetesClusterStorageResponse) ContentType() string
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r GrowKubernetesClusterStorageResponse) GetBody() []byte
- func (r GrowKubernetesClusterStorageResponse) GetJSON202() *OperationAccepted
- func (r GrowKubernetesClusterStorageResponse) Status() string
- func (r GrowKubernetesClusterStorageResponse) StatusCode() int
- type GrowKubernetesClusterStorageResponse202Headers
- type HttpRequestDoer
- type ListActivityParams
- type ListActivityResponse
- func (r ListActivityResponse) ContentType() string
- func (r ListActivityResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListActivityResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListActivityResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListActivityResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListActivityResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListActivityResponse) GetBody() []byte
- func (r ListActivityResponse) GetJSON200() *CursorPagePublicActivityDto
- func (r ListActivityResponse) Status() string
- func (r ListActivityResponse) StatusCode() int
- type ListAiSandboxTemplatesParams
- type ListAiSandboxTemplatesResponse
- func (r ListAiSandboxTemplatesResponse) ContentType() string
- func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListAiSandboxTemplatesResponse) GetBody() []byte
- func (r ListAiSandboxTemplatesResponse) GetJSON200() *CursorPageSandboxTemplateDto
- func (r ListAiSandboxTemplatesResponse) Status() string
- func (r ListAiSandboxTemplatesResponse) StatusCode() int
- type ListAiSandboxesParams
- type ListAiSandboxesResponse
- func (r ListAiSandboxesResponse) ContentType() string
- func (r ListAiSandboxesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListAiSandboxesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListAiSandboxesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListAiSandboxesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListAiSandboxesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListAiSandboxesResponse) GetBody() []byte
- func (r ListAiSandboxesResponse) GetJSON200() *CursorPageSandboxDto
- func (r ListAiSandboxesResponse) Status() string
- func (r ListAiSandboxesResponse) StatusCode() int
- type ListBackupPoliciesParams
- type ListBackupPoliciesResponse
- func (r ListBackupPoliciesResponse) ContentType() string
- func (r ListBackupPoliciesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBackupPoliciesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBackupPoliciesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBackupPoliciesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBackupPoliciesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBackupPoliciesResponse) GetBody() []byte
- func (r ListBackupPoliciesResponse) GetJSON200() *CursorPagePublicVmBackupPolicyDto
- func (r ListBackupPoliciesResponse) Status() string
- func (r ListBackupPoliciesResponse) StatusCode() int
- type ListBackupWindowsResponse
- func (r ListBackupWindowsResponse) ContentType() string
- func (r ListBackupWindowsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBackupWindowsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBackupWindowsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBackupWindowsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBackupWindowsResponse) GetBody() []byte
- func (r ListBackupWindowsResponse) GetJSON200() *CursorPagePublicBackupWindowDto
- func (r ListBackupWindowsResponse) Status() string
- func (r ListBackupWindowsResponse) StatusCode() int
- type ListBucketDeletedObjectsParams
- type ListBucketDeletedObjectsResponse
- func (r ListBucketDeletedObjectsResponse) ContentType() string
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBucketDeletedObjectsResponse) GetBody() []byte
- func (r ListBucketDeletedObjectsResponse) GetJSON200() *CursorPagePublicBucketObjectVersionDto
- func (r ListBucketDeletedObjectsResponse) Status() string
- func (r ListBucketDeletedObjectsResponse) StatusCode() int
- type ListBucketKeysParams
- type ListBucketKeysResponse
- func (r ListBucketKeysResponse) ContentType() string
- func (r ListBucketKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBucketKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBucketKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBucketKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBucketKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBucketKeysResponse) GetBody() []byte
- func (r ListBucketKeysResponse) GetJSON200() *CursorPagePublicBucketKeyDto
- func (r ListBucketKeysResponse) Status() string
- func (r ListBucketKeysResponse) StatusCode() int
- type ListBucketObjectVersionsParams
- type ListBucketObjectVersionsResponse
- func (r ListBucketObjectVersionsResponse) ContentType() string
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBucketObjectVersionsResponse) GetBody() []byte
- func (r ListBucketObjectVersionsResponse) GetJSON200() *CursorPagePublicBucketObjectVersionDto
- func (r ListBucketObjectVersionsResponse) Status() string
- func (r ListBucketObjectVersionsResponse) StatusCode() int
- type ListBucketObjectsParams
- type ListBucketObjectsResponse
- func (r ListBucketObjectsResponse) ContentType() string
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBucketObjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBucketObjectsResponse) GetBody() []byte
- func (r ListBucketObjectsResponse) GetJSON200() *CursorPagePublicBucketObjectDto
- func (r ListBucketObjectsResponse) Status() string
- func (r ListBucketObjectsResponse) StatusCode() int
- type ListBucketsParams
- type ListBucketsResponse
- func (r ListBucketsResponse) ContentType() string
- func (r ListBucketsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListBucketsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListBucketsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListBucketsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListBucketsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListBucketsResponse) GetBody() []byte
- func (r ListBucketsResponse) GetJSON200() *CursorPagePublicBucketDto
- func (r ListBucketsResponse) Status() string
- func (r ListBucketsResponse) StatusCode() int
- type ListCardsParams
- type ListCardsResponse
- func (r ListCardsResponse) ContentType() string
- func (r ListCardsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListCardsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListCardsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListCardsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListCardsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListCardsResponse) GetBody() []byte
- func (r ListCardsResponse) GetJSON200() *CursorPagePublicCardDto
- func (r ListCardsResponse) Status() string
- func (r ListCardsResponse) StatusCode() int
- type ListIpAddressesParams
- type ListIpAddressesResponse
- func (r ListIpAddressesResponse) ContentType() string
- func (r ListIpAddressesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListIpAddressesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListIpAddressesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListIpAddressesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListIpAddressesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListIpAddressesResponse) GetBody() []byte
- func (r ListIpAddressesResponse) GetJSON200() *CursorPagePublicIpAddressDto
- func (r ListIpAddressesResponse) Status() string
- func (r ListIpAddressesResponse) StatusCode() int
- type ListKubernetesClustersParams
- type ListKubernetesClustersResponse
- func (r ListKubernetesClustersResponse) ContentType() string
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListKubernetesClustersResponse) GetBody() []byte
- func (r ListKubernetesClustersResponse) GetJSON200() *CursorPagePublicKubernetesClusterDto
- func (r ListKubernetesClustersResponse) Status() string
- func (r ListKubernetesClustersResponse) StatusCode() int
- type ListMembersParams
- type ListMembersResponse
- func (r ListMembersResponse) ContentType() string
- func (r ListMembersResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListMembersResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListMembersResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListMembersResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListMembersResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListMembersResponse) GetBody() []byte
- func (r ListMembersResponse) GetJSON200() *CursorPagePublicMemberDto
- func (r ListMembersResponse) Status() string
- func (r ListMembersResponse) StatusCode() int
- type ListOsImagesParams
- type ListOsImagesResponse
- func (r ListOsImagesResponse) ContentType() string
- func (r ListOsImagesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListOsImagesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListOsImagesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListOsImagesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListOsImagesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListOsImagesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListOsImagesResponse) GetBody() []byte
- func (r ListOsImagesResponse) GetJSON200() *CursorPagePublicOsImageDto
- func (r ListOsImagesResponse) Status() string
- func (r ListOsImagesResponse) StatusCode() int
- type ListPlacementGroupDatacentersResponse
- func (r ListPlacementGroupDatacentersResponse) ContentType() string
- func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListPlacementGroupDatacentersResponse) GetBody() []byte
- func (r ListPlacementGroupDatacentersResponse) GetJSON200() *CursorPagePublicPlacementDatacenterDto
- func (r ListPlacementGroupDatacentersResponse) Status() string
- func (r ListPlacementGroupDatacentersResponse) StatusCode() int
- type ListPlacementGroupsParams
- type ListPlacementGroupsResponse
- func (r ListPlacementGroupsResponse) ContentType() string
- func (r ListPlacementGroupsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListPlacementGroupsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListPlacementGroupsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListPlacementGroupsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListPlacementGroupsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListPlacementGroupsResponse) GetBody() []byte
- func (r ListPlacementGroupsResponse) GetJSON200() *CursorPagePublicPlacementGroupDto
- func (r ListPlacementGroupsResponse) Status() string
- func (r ListPlacementGroupsResponse) StatusCode() int
- type ListProjectResourcesParams
- type ListProjectResourcesResponse
- func (r ListProjectResourcesResponse) ContentType() string
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListProjectResourcesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListProjectResourcesResponse) GetBody() []byte
- func (r ListProjectResourcesResponse) GetJSON200() *CursorPagePublicProjectResourceDto
- func (r ListProjectResourcesResponse) Status() string
- func (r ListProjectResourcesResponse) StatusCode() int
- type ListProjectsParams
- type ListProjectsResponse
- func (r ListProjectsResponse) ContentType() string
- func (r ListProjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListProjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListProjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListProjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListProjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListProjectsResponse) GetBody() []byte
- func (r ListProjectsResponse) GetJSON200() *CursorPagePublicProjectDto
- func (r ListProjectsResponse) Status() string
- func (r ListProjectsResponse) StatusCode() int
- type ListSshKeysParams
- type ListSshKeysResponse
- func (r ListSshKeysResponse) ContentType() string
- func (r ListSshKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListSshKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListSshKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListSshKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListSshKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListSshKeysResponse) GetBody() []byte
- func (r ListSshKeysResponse) GetJSON200() *CursorPagePublicSshKeyDto
- func (r ListSshKeysResponse) Status() string
- func (r ListSshKeysResponse) StatusCode() int
- type ListSupportTicketsParams
- type ListSupportTicketsResponse
- func (r ListSupportTicketsResponse) ContentType() string
- func (r ListSupportTicketsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListSupportTicketsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListSupportTicketsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListSupportTicketsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListSupportTicketsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListSupportTicketsResponse) GetBody() []byte
- func (r ListSupportTicketsResponse) GetJSON200() *CursorPagePublicSupportTicketDto
- func (r ListSupportTicketsResponse) Status() string
- func (r ListSupportTicketsResponse) StatusCode() int
- type ListTransactionsParams
- type ListTransactionsResponse
- func (r ListTransactionsResponse) ContentType() string
- func (r ListTransactionsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListTransactionsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListTransactionsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListTransactionsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListTransactionsResponse) GetApplicationproblemJSON502() *ProblemDetail
- func (r ListTransactionsResponse) GetBody() []byte
- func (r ListTransactionsResponse) GetJSON200() *CursorPagePublicTransactionDto
- func (r ListTransactionsResponse) Status() string
- func (r ListTransactionsResponse) StatusCode() int
- type ListVipsParams
- type ListVipsResponse
- func (r ListVipsResponse) ContentType() string
- func (r ListVipsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVipsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVipsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVipsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVipsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVipsResponse) GetBody() []byte
- func (r ListVipsResponse) GetJSON200() *CursorPagePublicVipDto
- func (r ListVipsResponse) Status() string
- func (r ListVipsResponse) StatusCode() int
- type ListVmBackupRestoreSitesResponse
- func (r ListVmBackupRestoreSitesResponse) ContentType() string
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmBackupRestoreSitesResponse) GetBody() []byte
- func (r ListVmBackupRestoreSitesResponse) GetJSON200() *CursorPagePublicPlacementFeasibilityDto
- func (r ListVmBackupRestoreSitesResponse) Status() string
- func (r ListVmBackupRestoreSitesResponse) StatusCode() int
- type ListVmBackupsParams
- type ListVmBackupsResponse
- func (r ListVmBackupsResponse) ContentType() string
- func (r ListVmBackupsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmBackupsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmBackupsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmBackupsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVmBackupsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmBackupsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmBackupsResponse) GetBody() []byte
- func (r ListVmBackupsResponse) GetJSON200() *CursorPagePublicBackupDto
- func (r ListVmBackupsResponse) Status() string
- func (r ListVmBackupsResponse) StatusCode() int
- type ListVmDisksParams
- type ListVmDisksResponse
- func (r ListVmDisksResponse) ContentType() string
- func (r ListVmDisksResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmDisksResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmDisksResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmDisksResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVmDisksResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmDisksResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmDisksResponse) GetBody() []byte
- func (r ListVmDisksResponse) GetJSON200() *CursorPagePublicVmDiskDto
- func (r ListVmDisksResponse) Status() string
- func (r ListVmDisksResponse) StatusCode() int
- type ListVmFirewallRulesResponse
- func (r ListVmFirewallRulesResponse) ContentType() string
- func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmFirewallRulesResponse) GetBody() []byte
- func (r ListVmFirewallRulesResponse) GetJSON200() *CursorPagePublicFirewallRuleDto
- func (r ListVmFirewallRulesResponse) Status() string
- func (r ListVmFirewallRulesResponse) StatusCode() int
- type ListVmNetworkInterfacesParams
- type ListVmNetworkInterfacesResponse
- func (r ListVmNetworkInterfacesResponse) ContentType() string
- func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmNetworkInterfacesResponse) GetBody() []byte
- func (r ListVmNetworkInterfacesResponse) GetJSON200() *CursorPagePublicVmNicDto
- func (r ListVmNetworkInterfacesResponse) Status() string
- func (r ListVmNetworkInterfacesResponse) StatusCode() int
- type ListVmPrivateIpsParams
- type ListVmPrivateIpsResponse
- func (r ListVmPrivateIpsResponse) ContentType() string
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmPrivateIpsResponse) GetBody() []byte
- func (r ListVmPrivateIpsResponse) GetJSON200() *CursorPagePublicVmPrivateIpDto
- func (r ListVmPrivateIpsResponse) Status() string
- func (r ListVmPrivateIpsResponse) StatusCode() int
- type ListVmPublicIpsParams
- type ListVmPublicIpsResponse
- func (r ListVmPublicIpsResponse) ContentType() string
- func (r ListVmPublicIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmPublicIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmPublicIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmPublicIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmPublicIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmPublicIpsResponse) GetBody() []byte
- func (r ListVmPublicIpsResponse) GetJSON200() *CursorPagePublicVmPublicIpDto
- func (r ListVmPublicIpsResponse) Status() string
- func (r ListVmPublicIpsResponse) StatusCode() int
- type ListVmSshKeysParams
- type ListVmSshKeysResponse
- func (r ListVmSshKeysResponse) ContentType() string
- func (r ListVmSshKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVmSshKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmSshKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmSshKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmSshKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmSshKeysResponse) GetBody() []byte
- func (r ListVmSshKeysResponse) GetJSON200() *CursorPagePublicSshKeyDto
- func (r ListVmSshKeysResponse) Status() string
- func (r ListVmSshKeysResponse) StatusCode() int
- type ListVmsParams
- type ListVmsResponse
- func (r ListVmsResponse) ContentType() string
- func (r ListVmsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVmsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVmsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVmsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVmsResponse) GetBody() []byte
- func (r ListVmsResponse) GetJSON200() *CursorPagePublicVmDto
- func (r ListVmsResponse) Status() string
- func (r ListVmsResponse) StatusCode() int
- type ListVpcFirewallRulesResponse
- func (r ListVpcFirewallRulesResponse) ContentType() string
- func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVpcFirewallRulesResponse) GetBody() []byte
- func (r ListVpcFirewallRulesResponse) GetJSON200() *CursorPagePublicFirewallRuleDto
- func (r ListVpcFirewallRulesResponse) Status() string
- func (r ListVpcFirewallRulesResponse) StatusCode() int
- type ListVpcReservedIpsParams
- type ListVpcReservedIpsResponse
- func (r ListVpcReservedIpsResponse) ContentType() string
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVpcReservedIpsResponse) GetBody() []byte
- func (r ListVpcReservedIpsResponse) GetJSON200() *CursorPagePublicReservedIpDto
- func (r ListVpcReservedIpsResponse) Status() string
- func (r ListVpcReservedIpsResponse) StatusCode() int
- type ListVpcVipFirewallRulesResponse
- func (r ListVpcVipFirewallRulesResponse) ContentType() string
- func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVpcVipFirewallRulesResponse) GetBody() []byte
- func (r ListVpcVipFirewallRulesResponse) GetJSON200() *PublicVipFirewallRulesDto
- func (r ListVpcVipFirewallRulesResponse) Status() string
- func (r ListVpcVipFirewallRulesResponse) StatusCode() int
- type ListVpcsParams
- type ListVpcsResponse
- func (r ListVpcsResponse) ContentType() string
- func (r ListVpcsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ListVpcsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ListVpcsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ListVpcsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ListVpcsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ListVpcsResponse) GetBody() []byte
- func (r ListVpcsResponse) GetJSON200() *CursorPagePublicVpcDto
- func (r ListVpcsResponse) Status() string
- func (r ListVpcsResponse) StatusCode() int
- type Member
- type Memory
- type MoveProjectResourceResponse
- func (r MoveProjectResourceResponse) ContentType() string
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r MoveProjectResourceResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r MoveProjectResourceResponse) GetBody() []byte
- func (r MoveProjectResourceResponse) GetJSON200() *PublicProjectDto
- func (r MoveProjectResourceResponse) Status() string
- func (r MoveProjectResourceResponse) StatusCode() int
- type Operation
- type OperationAccepted
- type OperationError
- type Option
- type PauseAiSandboxResponse
- func (r PauseAiSandboxResponse) ContentType() string
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r PauseAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r PauseAiSandboxResponse) GetBody() []byte
- func (r PauseAiSandboxResponse) GetJSON200() *map[string]interface{}
- func (r PauseAiSandboxResponse) Status() string
- func (r PauseAiSandboxResponse) StatusCode() int
- type PreviewVmBackupPolicyRotationJSONRequestBody
- type PreviewVmBackupPolicyRotationResponse
- func (r PreviewVmBackupPolicyRotationResponse) ContentType() string
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r PreviewVmBackupPolicyRotationResponse) GetBody() []byte
- func (r PreviewVmBackupPolicyRotationResponse) GetJSON200() *PublicBackupRotationPreviewDto
- func (r PreviewVmBackupPolicyRotationResponse) Status() string
- func (r PreviewVmBackupPolicyRotationResponse) StatusCode() int
- type ProblemDetail
- type PublicAccountDto
- type PublicAccrualDto
- type PublicActivityActorClass
- type PublicActivityDto
- type PublicActivityStatus
- type PublicAddDiskRequest
- type PublicAddPrivateIpRequest
- type PublicAttachNicRequest
- type PublicBackupDto
- type PublicBackupPolicyDto
- type PublicBackupPolicyRequest
- type PublicBackupRotationPreviewDto
- type PublicBackupTriggerRequest
- type PublicBackupWindowDto
- type PublicBalanceDto
- type PublicBillingDetailsDto
- type PublicBillingDetailsRequest
- type PublicBucketCorsDto
- type PublicBucketCorsRequest
- type PublicBucketCorsRuleDto
- type PublicBucketDto
- type PublicBucketKeyCreatedDto
- type PublicBucketKeyDto
- type PublicBucketLifecycleDto
- type PublicBucketLifecycleRequest
- type PublicBucketLifecycleRuleDto
- type PublicBucketObjectDto
- type PublicBucketObjectMetadataDto
- type PublicBucketObjectVersionDto
- type PublicBucketProtectionDto
- type PublicBucketUsageDto
- type PublicBucketVersioningDto
- type PublicBucketVersioningRequest
- type PublicBucketVersioningRequestMode
- type PublicCardDto
- type PublicCardLinkDto
- type PublicCheckoutDto
- type PublicClusterTokenDto
- type PublicCreateBucketKeyRequest
- type PublicCreateBucketKeyRequestAccessType
- type PublicCreateSshKeyRequest
- type PublicCreateVmRequest
- type PublicDeleteBucketRequest
- type PublicDeletedVmBackupRetentionDto
- type PublicElevationRequestBody
- type PublicElevationRequestDto
- type PublicFirewallDescriptionRequest
- type PublicFirewallRuleDto
- type PublicFirewallRuleDtoAction
- type PublicFirewallRuleDtoDirection
- type PublicFirewallRuleDtoProtocol
- type PublicFirewallRuleDtoStatus
- type PublicFirewallRuleRequest
- type PublicFirewallRulesRemoveRequest
- type PublicInvoiceLineDto
- type PublicIpAddressDto
- type PublicKubernetesClusterCreateRequest
- type PublicKubernetesClusterDetailDto
- type PublicKubernetesClusterDto
- type PublicKubernetesClusterGrowStorageRequest
- type PublicKubernetesClusterResizeRequest
- type PublicKubernetesClusterScaleRequest
- type PublicKubernetesClusterUpgradeDto
- type PublicKubernetesClusterUpgradeWorkersRequest
- type PublicKubernetesMetricPointDto
- type PublicKubernetesNodeDto
- type PublicKubernetesNodeMetricDto
- type PublicKubernetesUpgradeStatusDto
- type PublicKubernetesUpgradeStatusDtoState
- type PublicKubernetesUpgradeTargetDto
- type PublicKubernetesUpgradeWindowDto
- type PublicLimitDto
- type PublicMeDto
- type PublicMemberDto
- type PublicMemberInviteDto
- type PublicMemberInviteRequest
- type PublicMemberInviteRequestRole
- type PublicMemberRoleRequest
- type PublicMemberRoleRequestRole
- type PublicObjectDownloadUrlDto
- type PublicObjectDownloadUrlRequest
- type PublicObjectUploadUrlDto
- type PublicObjectUploadUrlRequest
- type PublicOperationDto
- type PublicOrderBucketRequest
- type PublicOrderBucketRequestVersioning
- type PublicOsImageDto
- type PublicPlacementDatacenterDto
- type PublicPlacementFeasibilityDto
- type PublicPlacementGroupCreateRequest
- type PublicPlacementGroupDto
- type PublicPlacementReason
- type PublicProjectCreateRequest
- type PublicProjectDto
- type PublicProjectNameRequest
- type PublicProjectResourceDto
- type PublicRenameRequest
- type PublicRenameSshKeyRequest
- type PublicReservedIpDto
- type PublicResizeRequest
- type PublicRestoreRequest
- type PublicRestoreToNewVmRequest
- type PublicRevealedKeySecretDto
- type PublicSetBackupProtectedRequest
- type PublicSshKeyDto
- type PublicSupportTicketCreateRequest
- type PublicSupportTicketDetailDto
- type PublicSupportTicketDto
- type PublicSupportTicketDtoAccess
- type PublicSupportTicketDtoStatus
- type PublicSupportTicketMessageDto
- type PublicSupportTicketMessageDtoAuthor
- type PublicSupportTicketMessageDtoKind
- type PublicSupportTicketMessageDtoStatus
- type PublicSupportTicketReplyRequest
- type PublicTransactionDto
- type PublicTransactionDtoKind
- type PublicVipDto
- type PublicVipFirewallReadOnlyReason
- type PublicVipFirewallRulesDto
- type PublicVmBackupPolicyDto
- type PublicVmDiskDto
- type PublicVmDto
- type PublicVmNicDto
- type PublicVmPrivateIpDto
- type PublicVmPublicIpDto
- type PublicVpcCreateRequest
- type PublicVpcDto
- type PublicVpcRenameRequest
- type RateLimitState
- type RateLimitState1
- type ReadAiSandboxFileParams
- type ReadAiSandboxFileResponse
- func (r ReadAiSandboxFileResponse) ContentType() string
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ReadAiSandboxFileResponse) GetBody() []byte
- func (r ReadAiSandboxFileResponse) Status() string
- func (r ReadAiSandboxFileResponse) StatusCode() int
- type RebootVmResponse
- func (r RebootVmResponse) ContentType() string
- func (r RebootVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RebootVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RebootVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RebootVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RebootVmResponse) GetBody() []byte
- func (r RebootVmResponse) GetJSON202() *OperationAccepted
- func (r RebootVmResponse) Status() string
- func (r RebootVmResponse) StatusCode() int
- type RebootVmResponse202Headers
- type RemovePlacementGroupMemberResponse
- func (r RemovePlacementGroupMemberResponse) ContentType() string
- func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RemovePlacementGroupMemberResponse) GetBody() []byte
- func (r RemovePlacementGroupMemberResponse) GetJSON200() *PublicPlacementGroupDto
- func (r RemovePlacementGroupMemberResponse) Status() string
- func (r RemovePlacementGroupMemberResponse) StatusCode() int
- type RemoveVmFromVipResponse
- func (r RemoveVmFromVipResponse) ContentType() string
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RemoveVmFromVipResponse) GetBody() []byte
- func (r RemoveVmFromVipResponse) GetJSON202() *OperationAccepted
- func (r RemoveVmFromVipResponse) Status() string
- func (r RemoveVmFromVipResponse) StatusCode() int
- type RemoveVmFromVipResponse202Headers
- type RenameVmJSONRequestBody
- type RenameVmResponse
- func (r RenameVmResponse) ContentType() string
- func (r RenameVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r RenameVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RenameVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RenameVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RenameVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RenameVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RenameVmResponse) GetBody() []byte
- func (r RenameVmResponse) GetJSON202() *OperationAccepted
- func (r RenameVmResponse) Status() string
- func (r RenameVmResponse) StatusCode() int
- type RenameVmResponse202Headers
- type ReplaceBucketCorsJSONRequestBody
- type ReplaceBucketCorsResponse
- func (r ReplaceBucketCorsResponse) ContentType() string
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ReplaceBucketCorsResponse) GetBody() []byte
- func (r ReplaceBucketCorsResponse) GetJSON200() *PublicBucketCorsDto
- func (r ReplaceBucketCorsResponse) Status() string
- func (r ReplaceBucketCorsResponse) StatusCode() int
- type ReplaceBucketLifecycleJSONRequestBody
- type ReplaceBucketLifecycleResponse
- func (r ReplaceBucketLifecycleResponse) ContentType() string
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ReplaceBucketLifecycleResponse) GetBody() []byte
- func (r ReplaceBucketLifecycleResponse) GetJSON200() *PublicBucketLifecycleDto
- func (r ReplaceBucketLifecycleResponse) Status() string
- func (r ReplaceBucketLifecycleResponse) StatusCode() int
- type RequestEditorFn
- type ResendMemberInvitationResponse
- func (r ResendMemberInvitationResponse) ContentType() string
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r ResendMemberInvitationResponse) GetBody() []byte
- func (r ResendMemberInvitationResponse) Status() string
- func (r ResendMemberInvitationResponse) StatusCode() int
- type ResizeKubernetesClusterJSONRequestBody
- type ResizeKubernetesClusterParams
- type ResizeKubernetesClusterResponse
- func (r ResizeKubernetesClusterResponse) ContentType() string
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ResizeKubernetesClusterResponse) GetBody() []byte
- func (r ResizeKubernetesClusterResponse) GetJSON202() *OperationAccepted
- func (r ResizeKubernetesClusterResponse) Status() string
- func (r ResizeKubernetesClusterResponse) StatusCode() int
- type ResizeKubernetesClusterResponse202Headers
- type ResizeVmJSONRequestBody
- type ResizeVmParams
- type ResizeVmResponse
- func (r ResizeVmResponse) ContentType() string
- func (r ResizeVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ResizeVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ResizeVmResponse) GetBody() []byte
- func (r ResizeVmResponse) GetJSON202() *OperationAccepted
- func (r ResizeVmResponse) Status() string
- func (r ResizeVmResponse) StatusCode() int
- type ResizeVmResponse202Headers
- type ResolveSupportTicketResponse
- func (r ResolveSupportTicketResponse) ContentType() string
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r ResolveSupportTicketResponse) GetBody() []byte
- func (r ResolveSupportTicketResponse) GetJSON200() *PublicSupportTicketDto
- func (r ResolveSupportTicketResponse) Status() string
- func (r ResolveSupportTicketResponse) StatusCode() int
- type RestartKubernetesClusterNodesResponse
- func (r RestartKubernetesClusterNodesResponse) ContentType() string
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RestartKubernetesClusterNodesResponse) GetBody() []byte
- func (r RestartKubernetesClusterNodesResponse) GetJSON202() *OperationAccepted
- func (r RestartKubernetesClusterNodesResponse) Status() string
- func (r RestartKubernetesClusterNodesResponse) StatusCode() int
- type RestartKubernetesClusterNodesResponse202Headers
- type RestoreVmBackupToNewVmJSONRequestBody
- type RestoreVmBackupToNewVmParams
- type RestoreVmBackupToNewVmResponse
- func (r RestoreVmBackupToNewVmResponse) ContentType() string
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RestoreVmBackupToNewVmResponse) GetBody() []byte
- func (r RestoreVmBackupToNewVmResponse) GetJSON202() *OperationAccepted
- func (r RestoreVmBackupToNewVmResponse) Status() string
- func (r RestoreVmBackupToNewVmResponse) StatusCode() int
- type RestoreVmBackupToNewVmResponse202Headers
- type RestoreVmJSONRequestBody
- type RestoreVmResponse
- func (r RestoreVmResponse) ContentType() string
- func (r RestoreVmResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r RestoreVmResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RestoreVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RestoreVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r RestoreVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RestoreVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RestoreVmResponse) GetBody() []byte
- func (r RestoreVmResponse) GetJSON202() *OperationAccepted
- func (r RestoreVmResponse) Status() string
- func (r RestoreVmResponse) StatusCode() int
- type RestoreVmResponse202Headers
- type ResumeAiSandboxResponse
- func (r ResumeAiSandboxResponse) ContentType() string
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ResumeAiSandboxResponse) GetBody() []byte
- func (r ResumeAiSandboxResponse) GetJSON200() *map[string]interface{}
- func (r ResumeAiSandboxResponse) Status() string
- func (r ResumeAiSandboxResponse) StatusCode() int
- type Retention
- type Retention1
- type RevealBucketKeySecretResponse
- func (r RevealBucketKeySecretResponse) ContentType() string
- func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RevealBucketKeySecretResponse) GetBody() []byte
- func (r RevealBucketKeySecretResponse) GetJSON200() *PublicRevealedKeySecretDto
- func (r RevealBucketKeySecretResponse) Status() string
- func (r RevealBucketKeySecretResponse) StatusCode() int
- type RevokeBucketKeyBucketAccessResponse
- func (r RevokeBucketKeyBucketAccessResponse) ContentType() string
- func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r RevokeBucketKeyBucketAccessResponse) GetBody() []byte
- func (r RevokeBucketKeyBucketAccessResponse) Status() string
- func (r RevokeBucketKeyBucketAccessResponse) StatusCode() int
- type SaveAiSandboxTemplateJSONBody
- type SaveAiSandboxTemplateJSONRequestBody
- type SaveAiSandboxTemplateParams
- type SaveAiSandboxTemplateResponse
- func (r SaveAiSandboxTemplateResponse) ContentType() string
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r SaveAiSandboxTemplateResponse) GetBody() []byte
- func (r SaveAiSandboxTemplateResponse) GetJSON202() *map[string]interface{}
- func (r SaveAiSandboxTemplateResponse) Status() string
- func (r SaveAiSandboxTemplateResponse) StatusCode() int
- type SaveAiSandboxTemplateResponse202Headers
- type ScaleKubernetesClusterJSONRequestBody
- type ScaleKubernetesClusterParams
- type ScaleKubernetesClusterResponse
- func (r ScaleKubernetesClusterResponse) ContentType() string
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ScaleKubernetesClusterResponse) GetBody() []byte
- func (r ScaleKubernetesClusterResponse) GetJSON200() *interface{}
- func (r ScaleKubernetesClusterResponse) GetJSON202() *OperationAccepted
- func (r ScaleKubernetesClusterResponse) Status() string
- func (r ScaleKubernetesClusterResponse) StatusCode() int
- type ScaleKubernetesClusterResponse202Headers
- type SetDefaultCardResponse
- func (r SetDefaultCardResponse) ContentType() string
- func (r SetDefaultCardResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r SetDefaultCardResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r SetDefaultCardResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r SetDefaultCardResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r SetDefaultCardResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r SetDefaultCardResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r SetDefaultCardResponse) GetBody() []byte
- func (r SetDefaultCardResponse) Status() string
- func (r SetDefaultCardResponse) StatusCode() int
- type SetVpcVipFirewallRuleDescriptionJSONRequestBody
- type SetVpcVipFirewallRuleDescriptionResponse
- func (r SetVpcVipFirewallRuleDescriptionResponse) ContentType() string
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetBody() []byte
- func (r SetVpcVipFirewallRuleDescriptionResponse) GetJSON202() *OperationAccepted
- func (r SetVpcVipFirewallRuleDescriptionResponse) Status() string
- func (r SetVpcVipFirewallRuleDescriptionResponse) StatusCode() int
- type SetVpcVipFirewallRuleDescriptionResponse202Headers
- type ShutdownVmParams
- type ShutdownVmResponse
- func (r ShutdownVmResponse) ContentType() string
- func (r ShutdownVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r ShutdownVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r ShutdownVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r ShutdownVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r ShutdownVmResponse) GetBody() []byte
- func (r ShutdownVmResponse) GetJSON202() *OperationAccepted
- func (r ShutdownVmResponse) Status() string
- func (r ShutdownVmResponse) StatusCode() int
- type ShutdownVmResponse202Headers
- type StartVmResponse
- func (r StartVmResponse) ContentType() string
- func (r StartVmResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r StartVmResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r StartVmResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r StartVmResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r StartVmResponse) GetBody() []byte
- func (r StartVmResponse) GetJSON202() *OperationAccepted
- func (r StartVmResponse) Status() string
- func (r StartVmResponse) StatusCode() int
- type StartVmResponse202Headers
- type Status
- type Target
- type TokenSource
- type TokenSourceFunc
- type UpdateBillingDetailsJSONRequestBody
- type UpdateBillingDetailsResponse
- func (r UpdateBillingDetailsResponse) ContentType() string
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateBillingDetailsResponse) GetBody() []byte
- func (r UpdateBillingDetailsResponse) Status() string
- func (r UpdateBillingDetailsResponse) StatusCode() int
- type UpdateBucketVersioningJSONRequestBody
- type UpdateBucketVersioningResponse
- func (r UpdateBucketVersioningResponse) ContentType() string
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateBucketVersioningResponse) GetBody() []byte
- func (r UpdateBucketVersioningResponse) Status() string
- func (r UpdateBucketVersioningResponse) StatusCode() int
- type UpdateMemberRoleJSONRequestBody
- type UpdateMemberRoleResponse
- func (r UpdateMemberRoleResponse) ContentType() string
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateMemberRoleResponse) GetBody() []byte
- func (r UpdateMemberRoleResponse) Status() string
- func (r UpdateMemberRoleResponse) StatusCode() int
- type UpdateProjectJSONRequestBody
- type UpdateProjectResponse
- func (r UpdateProjectResponse) ContentType() string
- func (r UpdateProjectResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateProjectResponse) GetBody() []byte
- func (r UpdateProjectResponse) GetJSON200() *PublicProjectDto
- func (r UpdateProjectResponse) Status() string
- func (r UpdateProjectResponse) StatusCode() int
- type UpdateSshKeyJSONRequestBody
- type UpdateSshKeyResponse
- func (r UpdateSshKeyResponse) ContentType() string
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateSshKeyResponse) GetBody() []byte
- func (r UpdateSshKeyResponse) GetJSON200() *PublicSshKeyDto
- func (r UpdateSshKeyResponse) Status() string
- func (r UpdateSshKeyResponse) StatusCode() int
- type UpdateVmBackupPolicyJSONRequestBody
- type UpdateVmBackupPolicyResponse
- func (r UpdateVmBackupPolicyResponse) ContentType() string
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateVmBackupPolicyResponse) GetBody() []byte
- func (r UpdateVmBackupPolicyResponse) GetJSON200() *PublicBackupPolicyDto
- func (r UpdateVmBackupPolicyResponse) Status() string
- func (r UpdateVmBackupPolicyResponse) StatusCode() int
- type UpdateVmBackupProtectionJSONRequestBody
- type UpdateVmBackupProtectionResponse
- func (r UpdateVmBackupProtectionResponse) ContentType() string
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateVmBackupProtectionResponse) GetBody() []byte
- func (r UpdateVmBackupProtectionResponse) Status() string
- func (r UpdateVmBackupProtectionResponse) StatusCode() int
- type UpdateVmFirewallRuleJSONRequestBody
- type UpdateVmFirewallRuleResponse
- func (r UpdateVmFirewallRuleResponse) ContentType() string
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateVmFirewallRuleResponse) GetBody() []byte
- func (r UpdateVmFirewallRuleResponse) GetJSON202() *OperationAccepted
- func (r UpdateVmFirewallRuleResponse) Status() string
- func (r UpdateVmFirewallRuleResponse) StatusCode() int
- type UpdateVmFirewallRuleResponse202Headers
- type UpdateVpcJSONRequestBody
- type UpdateVpcResponse
- func (r UpdateVpcResponse) ContentType() string
- func (r UpdateVpcResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpdateVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpdateVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpdateVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpdateVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpdateVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpdateVpcResponse) GetBody() []byte
- func (r UpdateVpcResponse) GetJSON200() *PublicVpcDto
- func (r UpdateVpcResponse) Status() string
- func (r UpdateVpcResponse) StatusCode() int
- type UpgradeKubernetesClusterWorkersJSONRequestBody
- type UpgradeKubernetesClusterWorkersResponse
- func (r UpgradeKubernetesClusterWorkersResponse) ContentType() string
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON503() *ProblemDetail
- func (r UpgradeKubernetesClusterWorkersResponse) GetBody() []byte
- func (r UpgradeKubernetesClusterWorkersResponse) GetJSON202() *OperationAccepted
- func (r UpgradeKubernetesClusterWorkersResponse) Status() string
- func (r UpgradeKubernetesClusterWorkersResponse) StatusCode() int
- type UpgradeKubernetesClusterWorkersResponse202Headers
- type Violation
- type WriteAiSandboxFileParams
- type WriteAiSandboxFileResponse
- func (r WriteAiSandboxFileResponse) ContentType() string
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON400() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON401() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON403() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON404() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON409() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON429() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON500() *ProblemDetail
- func (r WriteAiSandboxFileResponse) GetBody() []byte
- func (r WriteAiSandboxFileResponse) Status() string
- func (r WriteAiSandboxFileResponse) StatusCode() int
Constants ¶
const Version = "0.3.0"
Version is this SDK's version, reported in the User-Agent. A release tag must equal "v" + Version; .github/workflows/tag.yml checks it.
Variables ¶
This section is empty.
Functions ¶
func CheckResponse ¶
CheckResponse returns nil for a status below 400, otherwise an *APIError decoded from body (a problem+json document; a body that is not one still yields an APIError carrying the HTTP status).
func NewAddPlacementGroupMemberRequest ¶
func NewAddPlacementGroupMemberRequest(server string, id string, vmId string) (*http.Request, error)
NewAddPlacementGroupMemberRequest constructs an http.Request for the AddPlacementGroupMember method
func NewAddVmDiskRequest ¶
func NewAddVmDiskRequest(server string, id string, params *AddVmDiskParams, body AddVmDiskJSONRequestBody) (*http.Request, error)
NewAddVmDiskRequest calls the generic AddVmDisk builder with application/json body
func NewAddVmDiskRequestWithBody ¶
func NewAddVmDiskRequestWithBody(server string, id string, params *AddVmDiskParams, contentType string, body io.Reader) (*http.Request, error)
NewAddVmDiskRequestWithBody constructs an http.Request for the AddVmDisk method, with any body, and a specified content type
func NewAddVmToVipRequest ¶
NewAddVmToVipRequest constructs an http.Request for the AddVmToVip method
func NewApplyVmPendingRestartRequest ¶
func NewApplyVmPendingRestartRequest(server string, id string, params *ApplyVmPendingRestartParams) (*http.Request, error)
NewApplyVmPendingRestartRequest constructs an http.Request for the ApplyVmPendingRestart method
func NewAttachVmNetworkInterfaceRequest ¶
func NewAttachVmNetworkInterfaceRequest(server string, id string, params *AttachVmNetworkInterfaceParams, body AttachVmNetworkInterfaceJSONRequestBody) (*http.Request, error)
NewAttachVmNetworkInterfaceRequest calls the generic AttachVmNetworkInterface builder with application/json body
func NewAttachVmNetworkInterfaceRequestWithBody ¶
func NewAttachVmNetworkInterfaceRequestWithBody(server string, id string, params *AttachVmNetworkInterfaceParams, contentType string, body io.Reader) (*http.Request, error)
NewAttachVmNetworkInterfaceRequestWithBody constructs an http.Request for the AttachVmNetworkInterface method, with any body, and a specified content type
func NewAttachVmPublicIpRequest ¶
func NewAttachVmPublicIpRequest(server string, id string, params *AttachVmPublicIpParams) (*http.Request, error)
NewAttachVmPublicIpRequest constructs an http.Request for the AttachVmPublicIp method
func NewAttachVmSshKeyRequest ¶
NewAttachVmSshKeyRequest constructs an http.Request for the AttachVmSshKey method
func NewAttachVpcVipPublicIpRequest ¶
func NewAttachVpcVipPublicIpRequest(server string, id string, vipId string, params *AttachVpcVipPublicIpParams) (*http.Request, error)
NewAttachVpcVipPublicIpRequest constructs an http.Request for the AttachVpcVipPublicIp method
func NewBackupVmRequest ¶
func NewBackupVmRequest(server string, id string, params *BackupVmParams, body BackupVmJSONRequestBody) (*http.Request, error)
NewBackupVmRequest calls the generic BackupVm builder with application/json body
func NewBackupVmRequestWithBody ¶
func NewBackupVmRequestWithBody(server string, id string, params *BackupVmParams, contentType string, body io.Reader) (*http.Request, error)
NewBackupVmRequestWithBody constructs an http.Request for the BackupVm method, with any body, and a specified content type
func NewCancelMemberInvitationRequest ¶
NewCancelMemberInvitationRequest constructs an http.Request for the CancelMemberInvitation method
func NewCancelOperationRequest ¶
NewCancelOperationRequest constructs an http.Request for the CancelOperation method
func NewCreateAiSandboxRequest ¶
func NewCreateAiSandboxRequest(server string, params *CreateAiSandboxParams, body CreateAiSandboxJSONRequestBody) (*http.Request, error)
NewCreateAiSandboxRequest calls the generic CreateAiSandbox builder with application/json body
func NewCreateAiSandboxRequestWithBody ¶
func NewCreateAiSandboxRequestWithBody(server string, params *CreateAiSandboxParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateAiSandboxRequestWithBody constructs an http.Request for the CreateAiSandbox method, with any body, and a specified content type
func NewCreateBucketKeyRequest ¶
func NewCreateBucketKeyRequest(server string, params *CreateBucketKeyParams, body CreateBucketKeyJSONRequestBody) (*http.Request, error)
NewCreateBucketKeyRequest calls the generic CreateBucketKey builder with application/json body
func NewCreateBucketKeyRequestWithBody ¶
func NewCreateBucketKeyRequestWithBody(server string, params *CreateBucketKeyParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBucketKeyRequestWithBody constructs an http.Request for the CreateBucketKey method, with any body, and a specified content type
func NewCreateBucketRequest ¶
func NewCreateBucketRequest(server string, params *CreateBucketParams, body CreateBucketJSONRequestBody) (*http.Request, error)
NewCreateBucketRequest calls the generic CreateBucket builder with application/json body
func NewCreateBucketRequestWithBody ¶
func NewCreateBucketRequestWithBody(server string, params *CreateBucketParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBucketRequestWithBody constructs an http.Request for the CreateBucket method, with any body, and a specified content type
func NewCreateCardCheckoutRequest ¶
func NewCreateCardCheckoutRequest(server string, params *CreateCardCheckoutParams) (*http.Request, error)
NewCreateCardCheckoutRequest constructs an http.Request for the CreateCardCheckout method
func NewCreateCardLinkRequest ¶
NewCreateCardLinkRequest constructs an http.Request for the CreateCardLink method
func NewCreateElevationRequestRequest ¶
func NewCreateElevationRequestRequest(server string, params *CreateElevationRequestParams, body CreateElevationRequestJSONRequestBody) (*http.Request, error)
NewCreateElevationRequestRequest calls the generic CreateElevationRequest builder with application/json body
func NewCreateElevationRequestRequestWithBody ¶
func NewCreateElevationRequestRequestWithBody(server string, params *CreateElevationRequestParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateElevationRequestRequestWithBody constructs an http.Request for the CreateElevationRequest method, with any body, and a specified content type
func NewCreateKubernetesClusterRequest ¶
func NewCreateKubernetesClusterRequest(server string, params *CreateKubernetesClusterParams, body CreateKubernetesClusterJSONRequestBody) (*http.Request, error)
NewCreateKubernetesClusterRequest calls the generic CreateKubernetesCluster builder with application/json body
func NewCreateKubernetesClusterRequestWithBody ¶
func NewCreateKubernetesClusterRequestWithBody(server string, params *CreateKubernetesClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateKubernetesClusterRequestWithBody constructs an http.Request for the CreateKubernetesCluster method, with any body, and a specified content type
func NewCreateKubernetesClusterTokenRequest ¶
NewCreateKubernetesClusterTokenRequest constructs an http.Request for the CreateKubernetesClusterToken method
func NewCreateMemberRequest ¶
func NewCreateMemberRequest(server string, body CreateMemberJSONRequestBody) (*http.Request, error)
NewCreateMemberRequest calls the generic CreateMember builder with application/json body
func NewCreateMemberRequestWithBody ¶
func NewCreateMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMemberRequestWithBody constructs an http.Request for the CreateMember method, with any body, and a specified content type
func NewCreateObjectDownloadUrlRequest ¶ added in v0.3.0
func NewCreateObjectDownloadUrlRequest(server string, id string, body CreateObjectDownloadUrlJSONRequestBody) (*http.Request, error)
NewCreateObjectDownloadUrlRequest calls the generic CreateObjectDownloadUrl builder with application/json body
func NewCreateObjectDownloadUrlRequestWithBody ¶ added in v0.3.0
func NewCreateObjectDownloadUrlRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateObjectDownloadUrlRequestWithBody constructs an http.Request for the CreateObjectDownloadUrl method, with any body, and a specified content type
func NewCreateObjectUploadUrlRequest ¶ added in v0.3.0
func NewCreateObjectUploadUrlRequest(server string, id string, body CreateObjectUploadUrlJSONRequestBody) (*http.Request, error)
NewCreateObjectUploadUrlRequest calls the generic CreateObjectUploadUrl builder with application/json body
func NewCreateObjectUploadUrlRequestWithBody ¶ added in v0.3.0
func NewCreateObjectUploadUrlRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateObjectUploadUrlRequestWithBody constructs an http.Request for the CreateObjectUploadUrl method, with any body, and a specified content type
func NewCreatePlacementGroupRequest ¶
func NewCreatePlacementGroupRequest(server string, params *CreatePlacementGroupParams, body CreatePlacementGroupJSONRequestBody) (*http.Request, error)
NewCreatePlacementGroupRequest calls the generic CreatePlacementGroup builder with application/json body
func NewCreatePlacementGroupRequestWithBody ¶
func NewCreatePlacementGroupRequestWithBody(server string, params *CreatePlacementGroupParams, contentType string, body io.Reader) (*http.Request, error)
NewCreatePlacementGroupRequestWithBody constructs an http.Request for the CreatePlacementGroup method, with any body, and a specified content type
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, params *CreateProjectParams, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, params *CreateProjectParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type
func NewCreateSshKeyRequest ¶
func NewCreateSshKeyRequest(server string, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody) (*http.Request, error)
NewCreateSshKeyRequest calls the generic CreateSshKey builder with application/json body
func NewCreateSshKeyRequestWithBody ¶
func NewCreateSshKeyRequestWithBody(server string, params *CreateSshKeyParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSshKeyRequestWithBody constructs an http.Request for the CreateSshKey method, with any body, and a specified content type
func NewCreateSupportTicketReplyRequest ¶
func NewCreateSupportTicketReplyRequest(server string, id string, body CreateSupportTicketReplyJSONRequestBody) (*http.Request, error)
NewCreateSupportTicketReplyRequest calls the generic CreateSupportTicketReply builder with application/json body
func NewCreateSupportTicketReplyRequestWithBody ¶
func NewCreateSupportTicketReplyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSupportTicketReplyRequestWithBody constructs an http.Request for the CreateSupportTicketReply method, with any body, and a specified content type
func NewCreateSupportTicketRequest ¶
func NewCreateSupportTicketRequest(server string, params *CreateSupportTicketParams, body CreateSupportTicketJSONRequestBody) (*http.Request, error)
NewCreateSupportTicketRequest calls the generic CreateSupportTicket builder with application/json body
func NewCreateSupportTicketRequestWithBody ¶
func NewCreateSupportTicketRequestWithBody(server string, params *CreateSupportTicketParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSupportTicketRequestWithBody constructs an http.Request for the CreateSupportTicket method, with any body, and a specified content type
func NewCreateVmFirewallRuleRequest ¶
func NewCreateVmFirewallRuleRequest(server string, id string, params *CreateVmFirewallRuleParams, body CreateVmFirewallRuleJSONRequestBody) (*http.Request, error)
NewCreateVmFirewallRuleRequest calls the generic CreateVmFirewallRule builder with application/json body
func NewCreateVmFirewallRuleRequestWithBody ¶
func NewCreateVmFirewallRuleRequestWithBody(server string, id string, params *CreateVmFirewallRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVmFirewallRuleRequestWithBody constructs an http.Request for the CreateVmFirewallRule method, with any body, and a specified content type
func NewCreateVmPrivateIpRequest ¶
func NewCreateVmPrivateIpRequest(server string, id string, params *CreateVmPrivateIpParams, body CreateVmPrivateIpJSONRequestBody) (*http.Request, error)
NewCreateVmPrivateIpRequest calls the generic CreateVmPrivateIp builder with application/json body
func NewCreateVmPrivateIpRequestWithBody ¶
func NewCreateVmPrivateIpRequestWithBody(server string, id string, params *CreateVmPrivateIpParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVmPrivateIpRequestWithBody constructs an http.Request for the CreateVmPrivateIp method, with any body, and a specified content type
func NewCreateVmRequest ¶
func NewCreateVmRequest(server string, params *CreateVmParams, body CreateVmJSONRequestBody) (*http.Request, error)
NewCreateVmRequest calls the generic CreateVm builder with application/json body
func NewCreateVmRequestWithBody ¶
func NewCreateVmRequestWithBody(server string, params *CreateVmParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVmRequestWithBody constructs an http.Request for the CreateVm method, with any body, and a specified content type
func NewCreateVpcRequest ¶
func NewCreateVpcRequest(server string, params *CreateVpcParams, body CreateVpcJSONRequestBody) (*http.Request, error)
NewCreateVpcRequest calls the generic CreateVpc builder with application/json body
func NewCreateVpcRequestWithBody ¶
func NewCreateVpcRequestWithBody(server string, params *CreateVpcParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpcRequestWithBody constructs an http.Request for the CreateVpc method, with any body, and a specified content type
func NewCreateVpcReservedIpRequest ¶
func NewCreateVpcReservedIpRequest(server string, id string, params *CreateVpcReservedIpParams) (*http.Request, error)
NewCreateVpcReservedIpRequest constructs an http.Request for the CreateVpcReservedIp method
func NewCreateVpcVipFirewallRuleRequest ¶
func NewCreateVpcVipFirewallRuleRequest(server string, id string, vipId string, body CreateVpcVipFirewallRuleJSONRequestBody) (*http.Request, error)
NewCreateVpcVipFirewallRuleRequest calls the generic CreateVpcVipFirewallRule builder with application/json body
func NewCreateVpcVipFirewallRuleRequestWithBody ¶
func NewCreateVpcVipFirewallRuleRequestWithBody(server string, id string, vipId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpcVipFirewallRuleRequestWithBody constructs an http.Request for the CreateVpcVipFirewallRule method, with any body, and a specified content type
func NewCreateVpcVipRequest ¶
func NewCreateVpcVipRequest(server string, id string, params *CreateVpcVipParams) (*http.Request, error)
NewCreateVpcVipRequest constructs an http.Request for the CreateVpcVip method
func NewDeleteAiSandboxRequest ¶
NewDeleteAiSandboxRequest constructs an http.Request for the DeleteAiSandbox method
func NewDeleteAiSandboxTemplateRequest ¶
NewDeleteAiSandboxTemplateRequest constructs an http.Request for the DeleteAiSandboxTemplate method
func NewDeleteBucketKeyRequest ¶
NewDeleteBucketKeyRequest constructs an http.Request for the DeleteBucketKey method
func NewDeleteBucketRequest ¶
func NewDeleteBucketRequest(server string, id string, body DeleteBucketJSONRequestBody) (*http.Request, error)
NewDeleteBucketRequest calls the generic DeleteBucket builder with application/json body
func NewDeleteBucketRequestWithBody ¶
func NewDeleteBucketRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteBucketRequestWithBody constructs an http.Request for the DeleteBucket method, with any body, and a specified content type
func NewDeleteCardRequest ¶
NewDeleteCardRequest constructs an http.Request for the DeleteCard method
func NewDeleteKubernetesClusterRequest ¶
NewDeleteKubernetesClusterRequest constructs an http.Request for the DeleteKubernetesCluster method
func NewDeleteMemberRequest ¶
NewDeleteMemberRequest constructs an http.Request for the DeleteMember method
func NewDeletePlacementGroupRequest ¶
NewDeletePlacementGroupRequest constructs an http.Request for the DeletePlacementGroup method
func NewDeleteProjectRequest ¶
NewDeleteProjectRequest constructs an http.Request for the DeleteProject method
func NewDeleteSshKeyRequest ¶
NewDeleteSshKeyRequest constructs an http.Request for the DeleteSshKey method
func NewDeleteVmBackupPolicyRequest ¶
NewDeleteVmBackupPolicyRequest constructs an http.Request for the DeleteVmBackupPolicy method
func NewDeleteVmBackupRequest ¶
NewDeleteVmBackupRequest constructs an http.Request for the DeleteVmBackup method
func NewDeleteVmFirewallRuleRequest ¶
NewDeleteVmFirewallRuleRequest constructs an http.Request for the DeleteVmFirewallRule method
func NewDeleteVmFirewallRulesRequest ¶
func NewDeleteVmFirewallRulesRequest(server string, id string, body DeleteVmFirewallRulesJSONRequestBody) (*http.Request, error)
NewDeleteVmFirewallRulesRequest calls the generic DeleteVmFirewallRules builder with application/json body
func NewDeleteVmFirewallRulesRequestWithBody ¶
func NewDeleteVmFirewallRulesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVmFirewallRulesRequestWithBody constructs an http.Request for the DeleteVmFirewallRules method, with any body, and a specified content type
func NewDeleteVmRequest ¶
NewDeleteVmRequest constructs an http.Request for the DeleteVm method
func NewDeleteVpcRequest ¶
NewDeleteVpcRequest constructs an http.Request for the DeleteVpc method
func NewDeleteVpcReservedIpRequest ¶
func NewDeleteVpcReservedIpRequest(server string, id string, publicIpId string) (*http.Request, error)
NewDeleteVpcReservedIpRequest constructs an http.Request for the DeleteVpcReservedIp method
func NewDeleteVpcVipFirewallRuleRequest ¶
func NewDeleteVpcVipFirewallRuleRequest(server string, id string, vipId string, ruleId string) (*http.Request, error)
NewDeleteVpcVipFirewallRuleRequest constructs an http.Request for the DeleteVpcVipFirewallRule method
func NewDeleteVpcVipFirewallRulesRequest ¶
func NewDeleteVpcVipFirewallRulesRequest(server string, id string, vipId string, body DeleteVpcVipFirewallRulesJSONRequestBody) (*http.Request, error)
NewDeleteVpcVipFirewallRulesRequest calls the generic DeleteVpcVipFirewallRules builder with application/json body
func NewDeleteVpcVipFirewallRulesRequestWithBody ¶
func NewDeleteVpcVipFirewallRulesRequestWithBody(server string, id string, vipId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVpcVipFirewallRulesRequestWithBody constructs an http.Request for the DeleteVpcVipFirewallRules method, with any body, and a specified content type
func NewDeleteVpcVipRequest ¶
NewDeleteVpcVipRequest constructs an http.Request for the DeleteVpcVip method
func NewDetachVmNetworkInterfaceRequest ¶
func NewDetachVmNetworkInterfaceRequest(server string, id string, nicId string) (*http.Request, error)
NewDetachVmNetworkInterfaceRequest constructs an http.Request for the DetachVmNetworkInterface method
func NewDetachVmPublicIpRequest ¶
NewDetachVmPublicIpRequest constructs an http.Request for the DetachVmPublicIp method
func NewDetachVmSshKeyRequest ¶
NewDetachVmSshKeyRequest constructs an http.Request for the DetachVmSshKey method
func NewDetachVpcVipPublicIpRequest ¶
NewDetachVpcVipPublicIpRequest constructs an http.Request for the DetachVpcVipPublicIp method
func NewExecAiSandboxRequest ¶
func NewExecAiSandboxRequest(server string, sandboxId string, body ExecAiSandboxJSONRequestBody) (*http.Request, error)
NewExecAiSandboxRequest calls the generic ExecAiSandbox builder with application/json body
func NewExecAiSandboxRequestWithBody ¶
func NewExecAiSandboxRequestWithBody(server string, sandboxId string, contentType string, body io.Reader) (*http.Request, error)
NewExecAiSandboxRequestWithBody constructs an http.Request for the ExecAiSandbox method, with any body, and a specified content type
func NewForceStopVmRequest ¶
NewForceStopVmRequest constructs an http.Request for the ForceStopVm method
func NewGetAccountDeletedVmBackupRetentionRequest ¶
NewGetAccountDeletedVmBackupRetentionRequest constructs an http.Request for the GetAccountDeletedVmBackupRetention method
func NewGetAccountLimitsRequest ¶
NewGetAccountLimitsRequest constructs an http.Request for the GetAccountLimits method
func NewGetAccountRequest ¶
NewGetAccountRequest constructs an http.Request for the GetAccount method
func NewGetAiSandboxRequest ¶
NewGetAiSandboxRequest constructs an http.Request for the GetAiSandbox method
func NewGetAiSandboxTemplateRequest ¶
NewGetAiSandboxTemplateRequest constructs an http.Request for the GetAiSandboxTemplate method
func NewGetBillingAccrualRequest ¶
func NewGetBillingAccrualRequest(server string, params *GetBillingAccrualParams) (*http.Request, error)
NewGetBillingAccrualRequest constructs an http.Request for the GetBillingAccrual method
func NewGetBillingBalanceRequest ¶
NewGetBillingBalanceRequest constructs an http.Request for the GetBillingBalance method
func NewGetBillingDetailsRequest ¶
NewGetBillingDetailsRequest constructs an http.Request for the GetBillingDetails method
func NewGetBucketCorsRequest ¶ added in v0.3.0
NewGetBucketCorsRequest constructs an http.Request for the GetBucketCors method
func NewGetBucketLifecycleRequest ¶ added in v0.3.0
NewGetBucketLifecycleRequest constructs an http.Request for the GetBucketLifecycle method
func NewGetBucketObjectMetadataRequest ¶ added in v0.3.0
func NewGetBucketObjectMetadataRequest(server string, id string, params *GetBucketObjectMetadataParams) (*http.Request, error)
NewGetBucketObjectMetadataRequest constructs an http.Request for the GetBucketObjectMetadata method
func NewGetBucketProtectionRequest ¶ added in v0.3.0
NewGetBucketProtectionRequest constructs an http.Request for the GetBucketProtection method
func NewGetBucketRequest ¶
NewGetBucketRequest constructs an http.Request for the GetBucket method
func NewGetBucketUsageRequest ¶
func NewGetBucketUsageRequest(server string, id string, params *GetBucketUsageParams) (*http.Request, error)
NewGetBucketUsageRequest constructs an http.Request for the GetBucketUsage method
func NewGetBucketVersioningRequest ¶
NewGetBucketVersioningRequest constructs an http.Request for the GetBucketVersioning method
func NewGetCardLinkRequest ¶
NewGetCardLinkRequest constructs an http.Request for the GetCardLink method
func NewGetKubernetesClusterKubeconfigRequest ¶
NewGetKubernetesClusterKubeconfigRequest constructs an http.Request for the GetKubernetesClusterKubeconfig method
func NewGetKubernetesClusterManagedVpnKubeconfigRequest ¶
func NewGetKubernetesClusterManagedVpnKubeconfigRequest(server string, id string) (*http.Request, error)
NewGetKubernetesClusterManagedVpnKubeconfigRequest constructs an http.Request for the GetKubernetesClusterManagedVpnKubeconfig method
func NewGetKubernetesClusterRequest ¶
NewGetKubernetesClusterRequest constructs an http.Request for the GetKubernetesCluster method
func NewGetKubernetesNodeMetricRequest ¶
func NewGetKubernetesNodeMetricRequest(server string, id string, vmId string, metric string, params *GetKubernetesNodeMetricParams) (*http.Request, error)
NewGetKubernetesNodeMetricRequest constructs an http.Request for the GetKubernetesNodeMetric method
func NewGetMeRequest ¶
NewGetMeRequest constructs an http.Request for the GetMe method
func NewGetOperationRequest ¶
NewGetOperationRequest constructs an http.Request for the GetOperation method
func NewGetPlacementFeasibilityRequest ¶
func NewGetPlacementFeasibilityRequest(server string, params *GetPlacementFeasibilityParams) (*http.Request, error)
NewGetPlacementFeasibilityRequest constructs an http.Request for the GetPlacementFeasibility method
func NewGetPlacementGroupRequest ¶
NewGetPlacementGroupRequest constructs an http.Request for the GetPlacementGroup method
func NewGetProjectRequest ¶
NewGetProjectRequest constructs an http.Request for the GetProject method
func NewGetSupportTicketAttachmentRequest ¶
func NewGetSupportTicketAttachmentRequest(server string, id string, attachmentId string) (*http.Request, error)
NewGetSupportTicketAttachmentRequest constructs an http.Request for the GetSupportTicketAttachment method
func NewGetSupportTicketRequest ¶
NewGetSupportTicketRequest constructs an http.Request for the GetSupportTicket method
func NewGetVmBackupPolicyRequest ¶
NewGetVmBackupPolicyRequest constructs an http.Request for the GetVmBackupPolicy method
func NewGetVmRequest ¶
NewGetVmRequest constructs an http.Request for the GetVm method
func NewGetVpcRequest ¶
NewGetVpcRequest constructs an http.Request for the GetVpc method
func NewGrantBucketKeyBucketAccessRequest ¶
func NewGrantBucketKeyBucketAccessRequest(server string, keyId string, bucketId string) (*http.Request, error)
NewGrantBucketKeyBucketAccessRequest constructs an http.Request for the GrantBucketKeyBucketAccess method
func NewGrowKubernetesClusterStorageRequest ¶
func NewGrowKubernetesClusterStorageRequest(server string, id string, params *GrowKubernetesClusterStorageParams, body GrowKubernetesClusterStorageJSONRequestBody) (*http.Request, error)
NewGrowKubernetesClusterStorageRequest calls the generic GrowKubernetesClusterStorage builder with application/json body
func NewGrowKubernetesClusterStorageRequestWithBody ¶
func NewGrowKubernetesClusterStorageRequestWithBody(server string, id string, params *GrowKubernetesClusterStorageParams, contentType string, body io.Reader) (*http.Request, error)
NewGrowKubernetesClusterStorageRequestWithBody constructs an http.Request for the GrowKubernetesClusterStorage method, with any body, and a specified content type
func NewListActivityRequest ¶
func NewListActivityRequest(server string, params *ListActivityParams) (*http.Request, error)
NewListActivityRequest constructs an http.Request for the ListActivity method
func NewListAiSandboxTemplatesRequest ¶
func NewListAiSandboxTemplatesRequest(server string, params *ListAiSandboxTemplatesParams) (*http.Request, error)
NewListAiSandboxTemplatesRequest constructs an http.Request for the ListAiSandboxTemplates method
func NewListAiSandboxesRequest ¶
func NewListAiSandboxesRequest(server string, params *ListAiSandboxesParams) (*http.Request, error)
NewListAiSandboxesRequest constructs an http.Request for the ListAiSandboxes method
func NewListBackupPoliciesRequest ¶
func NewListBackupPoliciesRequest(server string, params *ListBackupPoliciesParams) (*http.Request, error)
NewListBackupPoliciesRequest constructs an http.Request for the ListBackupPolicies method
func NewListBackupWindowsRequest ¶
NewListBackupWindowsRequest constructs an http.Request for the ListBackupWindows method
func NewListBucketDeletedObjectsRequest ¶ added in v0.3.0
func NewListBucketDeletedObjectsRequest(server string, id string, params *ListBucketDeletedObjectsParams) (*http.Request, error)
NewListBucketDeletedObjectsRequest constructs an http.Request for the ListBucketDeletedObjects method
func NewListBucketKeysRequest ¶
func NewListBucketKeysRequest(server string, params *ListBucketKeysParams) (*http.Request, error)
NewListBucketKeysRequest constructs an http.Request for the ListBucketKeys method
func NewListBucketObjectVersionsRequest ¶ added in v0.3.0
func NewListBucketObjectVersionsRequest(server string, id string, params *ListBucketObjectVersionsParams) (*http.Request, error)
NewListBucketObjectVersionsRequest constructs an http.Request for the ListBucketObjectVersions method
func NewListBucketObjectsRequest ¶ added in v0.3.0
func NewListBucketObjectsRequest(server string, id string, params *ListBucketObjectsParams) (*http.Request, error)
NewListBucketObjectsRequest constructs an http.Request for the ListBucketObjects method
func NewListBucketsRequest ¶
func NewListBucketsRequest(server string, params *ListBucketsParams) (*http.Request, error)
NewListBucketsRequest constructs an http.Request for the ListBuckets method
func NewListCardsRequest ¶
func NewListCardsRequest(server string, params *ListCardsParams) (*http.Request, error)
NewListCardsRequest constructs an http.Request for the ListCards method
func NewListIpAddressesRequest ¶
func NewListIpAddressesRequest(server string, params *ListIpAddressesParams) (*http.Request, error)
NewListIpAddressesRequest constructs an http.Request for the ListIpAddresses method
func NewListKubernetesClustersRequest ¶
func NewListKubernetesClustersRequest(server string, params *ListKubernetesClustersParams) (*http.Request, error)
NewListKubernetesClustersRequest constructs an http.Request for the ListKubernetesClusters method
func NewListMembersRequest ¶
func NewListMembersRequest(server string, params *ListMembersParams) (*http.Request, error)
NewListMembersRequest constructs an http.Request for the ListMembers method
func NewListOsImagesRequest ¶
func NewListOsImagesRequest(server string, params *ListOsImagesParams) (*http.Request, error)
NewListOsImagesRequest constructs an http.Request for the ListOsImages method
func NewListPlacementGroupDatacentersRequest ¶
NewListPlacementGroupDatacentersRequest constructs an http.Request for the ListPlacementGroupDatacenters method
func NewListPlacementGroupsRequest ¶
func NewListPlacementGroupsRequest(server string, params *ListPlacementGroupsParams) (*http.Request, error)
NewListPlacementGroupsRequest constructs an http.Request for the ListPlacementGroups method
func NewListProjectResourcesRequest ¶
func NewListProjectResourcesRequest(server string, id string, params *ListProjectResourcesParams) (*http.Request, error)
NewListProjectResourcesRequest constructs an http.Request for the ListProjectResources method
func NewListProjectsRequest ¶
func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
NewListProjectsRequest constructs an http.Request for the ListProjects method
func NewListSshKeysRequest ¶
func NewListSshKeysRequest(server string, params *ListSshKeysParams) (*http.Request, error)
NewListSshKeysRequest constructs an http.Request for the ListSshKeys method
func NewListSupportTicketsRequest ¶
func NewListSupportTicketsRequest(server string, params *ListSupportTicketsParams) (*http.Request, error)
NewListSupportTicketsRequest constructs an http.Request for the ListSupportTickets method
func NewListTransactionsRequest ¶
func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error)
NewListTransactionsRequest constructs an http.Request for the ListTransactions method
func NewListVipsRequest ¶
func NewListVipsRequest(server string, params *ListVipsParams) (*http.Request, error)
NewListVipsRequest constructs an http.Request for the ListVips method
func NewListVmBackupRestoreSitesRequest ¶
func NewListVmBackupRestoreSitesRequest(server string, id string, startedAt int64) (*http.Request, error)
NewListVmBackupRestoreSitesRequest constructs an http.Request for the ListVmBackupRestoreSites method
func NewListVmBackupsRequest ¶
func NewListVmBackupsRequest(server string, id string, params *ListVmBackupsParams) (*http.Request, error)
NewListVmBackupsRequest constructs an http.Request for the ListVmBackups method
func NewListVmDisksRequest ¶
func NewListVmDisksRequest(server string, id string, params *ListVmDisksParams) (*http.Request, error)
NewListVmDisksRequest constructs an http.Request for the ListVmDisks method
func NewListVmFirewallRulesRequest ¶
NewListVmFirewallRulesRequest constructs an http.Request for the ListVmFirewallRules method
func NewListVmNetworkInterfacesRequest ¶
func NewListVmNetworkInterfacesRequest(server string, id string, params *ListVmNetworkInterfacesParams) (*http.Request, error)
NewListVmNetworkInterfacesRequest constructs an http.Request for the ListVmNetworkInterfaces method
func NewListVmPrivateIpsRequest ¶
func NewListVmPrivateIpsRequest(server string, id string, params *ListVmPrivateIpsParams) (*http.Request, error)
NewListVmPrivateIpsRequest constructs an http.Request for the ListVmPrivateIps method
func NewListVmPublicIpsRequest ¶
func NewListVmPublicIpsRequest(server string, id string, params *ListVmPublicIpsParams) (*http.Request, error)
NewListVmPublicIpsRequest constructs an http.Request for the ListVmPublicIps method
func NewListVmSshKeysRequest ¶
func NewListVmSshKeysRequest(server string, id string, params *ListVmSshKeysParams) (*http.Request, error)
NewListVmSshKeysRequest constructs an http.Request for the ListVmSshKeys method
func NewListVmsRequest ¶
func NewListVmsRequest(server string, params *ListVmsParams) (*http.Request, error)
NewListVmsRequest constructs an http.Request for the ListVms method
func NewListVpcFirewallRulesRequest ¶
NewListVpcFirewallRulesRequest constructs an http.Request for the ListVpcFirewallRules method
func NewListVpcReservedIpsRequest ¶
func NewListVpcReservedIpsRequest(server string, id string, params *ListVpcReservedIpsParams) (*http.Request, error)
NewListVpcReservedIpsRequest constructs an http.Request for the ListVpcReservedIps method
func NewListVpcVipFirewallRulesRequest ¶
func NewListVpcVipFirewallRulesRequest(server string, id string, vipId string) (*http.Request, error)
NewListVpcVipFirewallRulesRequest constructs an http.Request for the ListVpcVipFirewallRules method
func NewListVpcsRequest ¶
func NewListVpcsRequest(server string, params *ListVpcsParams) (*http.Request, error)
NewListVpcsRequest constructs an http.Request for the ListVpcs method
func NewMoveProjectResourceRequest ¶
func NewMoveProjectResourceRequest(server string, id string, resourceId string) (*http.Request, error)
NewMoveProjectResourceRequest constructs an http.Request for the MoveProjectResource method
func NewPauseAiSandboxRequest ¶
NewPauseAiSandboxRequest constructs an http.Request for the PauseAiSandbox method
func NewPreviewVmBackupPolicyRotationRequest ¶
func NewPreviewVmBackupPolicyRotationRequest(server string, id string, body PreviewVmBackupPolicyRotationJSONRequestBody) (*http.Request, error)
NewPreviewVmBackupPolicyRotationRequest calls the generic PreviewVmBackupPolicyRotation builder with application/json body
func NewPreviewVmBackupPolicyRotationRequestWithBody ¶
func NewPreviewVmBackupPolicyRotationRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPreviewVmBackupPolicyRotationRequestWithBody constructs an http.Request for the PreviewVmBackupPolicyRotation method, with any body, and a specified content type
func NewReadAiSandboxFileRequest ¶
func NewReadAiSandboxFileRequest(server string, sandboxId string, params *ReadAiSandboxFileParams) (*http.Request, error)
NewReadAiSandboxFileRequest constructs an http.Request for the ReadAiSandboxFile method
func NewRebootVmRequest ¶
NewRebootVmRequest constructs an http.Request for the RebootVm method
func NewRemovePlacementGroupMemberRequest ¶
func NewRemovePlacementGroupMemberRequest(server string, id string, vmId string) (*http.Request, error)
NewRemovePlacementGroupMemberRequest constructs an http.Request for the RemovePlacementGroupMember method
func NewRemoveVmFromVipRequest ¶
NewRemoveVmFromVipRequest constructs an http.Request for the RemoveVmFromVip method
func NewRenameVmRequest ¶
func NewRenameVmRequest(server string, id string, body RenameVmJSONRequestBody) (*http.Request, error)
NewRenameVmRequest calls the generic RenameVm builder with application/json body
func NewRenameVmRequestWithBody ¶
func NewRenameVmRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRenameVmRequestWithBody constructs an http.Request for the RenameVm method, with any body, and a specified content type
func NewReplaceBucketCorsRequest ¶ added in v0.3.0
func NewReplaceBucketCorsRequest(server string, id string, body ReplaceBucketCorsJSONRequestBody) (*http.Request, error)
NewReplaceBucketCorsRequest calls the generic ReplaceBucketCors builder with application/json body
func NewReplaceBucketCorsRequestWithBody ¶ added in v0.3.0
func NewReplaceBucketCorsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewReplaceBucketCorsRequestWithBody constructs an http.Request for the ReplaceBucketCors method, with any body, and a specified content type
func NewReplaceBucketLifecycleRequest ¶ added in v0.3.0
func NewReplaceBucketLifecycleRequest(server string, id string, body ReplaceBucketLifecycleJSONRequestBody) (*http.Request, error)
NewReplaceBucketLifecycleRequest calls the generic ReplaceBucketLifecycle builder with application/json body
func NewReplaceBucketLifecycleRequestWithBody ¶ added in v0.3.0
func NewReplaceBucketLifecycleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewReplaceBucketLifecycleRequestWithBody constructs an http.Request for the ReplaceBucketLifecycle method, with any body, and a specified content type
func NewResendMemberInvitationRequest ¶
NewResendMemberInvitationRequest constructs an http.Request for the ResendMemberInvitation method
func NewResizeKubernetesClusterRequest ¶
func NewResizeKubernetesClusterRequest(server string, id string, params *ResizeKubernetesClusterParams, body ResizeKubernetesClusterJSONRequestBody) (*http.Request, error)
NewResizeKubernetesClusterRequest calls the generic ResizeKubernetesCluster builder with application/json body
func NewResizeKubernetesClusterRequestWithBody ¶
func NewResizeKubernetesClusterRequestWithBody(server string, id string, params *ResizeKubernetesClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeKubernetesClusterRequestWithBody constructs an http.Request for the ResizeKubernetesCluster method, with any body, and a specified content type
func NewResizeVmRequest ¶
func NewResizeVmRequest(server string, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody) (*http.Request, error)
NewResizeVmRequest calls the generic ResizeVm builder with application/json body
func NewResizeVmRequestWithBody ¶
func NewResizeVmRequestWithBody(server string, id string, params *ResizeVmParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeVmRequestWithBody constructs an http.Request for the ResizeVm method, with any body, and a specified content type
func NewResolveSupportTicketRequest ¶
NewResolveSupportTicketRequest constructs an http.Request for the ResolveSupportTicket method
func NewRestartKubernetesClusterNodesRequest ¶
NewRestartKubernetesClusterNodesRequest constructs an http.Request for the RestartKubernetesClusterNodes method
func NewRestoreVmBackupToNewVmRequest ¶
func NewRestoreVmBackupToNewVmRequest(server string, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, body RestoreVmBackupToNewVmJSONRequestBody) (*http.Request, error)
NewRestoreVmBackupToNewVmRequest calls the generic RestoreVmBackupToNewVm builder with application/json body
func NewRestoreVmBackupToNewVmRequestWithBody ¶
func NewRestoreVmBackupToNewVmRequestWithBody(server string, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, contentType string, body io.Reader) (*http.Request, error)
NewRestoreVmBackupToNewVmRequestWithBody constructs an http.Request for the RestoreVmBackupToNewVm method, with any body, and a specified content type
func NewRestoreVmRequest ¶
func NewRestoreVmRequest(server string, id string, body RestoreVmJSONRequestBody) (*http.Request, error)
NewRestoreVmRequest calls the generic RestoreVm builder with application/json body
func NewRestoreVmRequestWithBody ¶
func NewRestoreVmRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreVmRequestWithBody constructs an http.Request for the RestoreVm method, with any body, and a specified content type
func NewResumeAiSandboxRequest ¶
NewResumeAiSandboxRequest constructs an http.Request for the ResumeAiSandbox method
func NewRevealBucketKeySecretRequest ¶
NewRevealBucketKeySecretRequest constructs an http.Request for the RevealBucketKeySecret method
func NewRevokeBucketKeyBucketAccessRequest ¶
func NewRevokeBucketKeyBucketAccessRequest(server string, keyId string, bucketId string) (*http.Request, error)
NewRevokeBucketKeyBucketAccessRequest constructs an http.Request for the RevokeBucketKeyBucketAccess method
func NewSaveAiSandboxTemplateRequest ¶
func NewSaveAiSandboxTemplateRequest(server string, sandboxId string, params *SaveAiSandboxTemplateParams, body SaveAiSandboxTemplateJSONRequestBody) (*http.Request, error)
NewSaveAiSandboxTemplateRequest calls the generic SaveAiSandboxTemplate builder with application/json body
func NewSaveAiSandboxTemplateRequestWithBody ¶
func NewSaveAiSandboxTemplateRequestWithBody(server string, sandboxId string, params *SaveAiSandboxTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewSaveAiSandboxTemplateRequestWithBody constructs an http.Request for the SaveAiSandboxTemplate method, with any body, and a specified content type
func NewScaleKubernetesClusterRequest ¶
func NewScaleKubernetesClusterRequest(server string, id string, params *ScaleKubernetesClusterParams, body ScaleKubernetesClusterJSONRequestBody) (*http.Request, error)
NewScaleKubernetesClusterRequest calls the generic ScaleKubernetesCluster builder with application/json body
func NewScaleKubernetesClusterRequestWithBody ¶
func NewScaleKubernetesClusterRequestWithBody(server string, id string, params *ScaleKubernetesClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewScaleKubernetesClusterRequestWithBody constructs an http.Request for the ScaleKubernetesCluster method, with any body, and a specified content type
func NewSetDefaultCardRequest ¶
NewSetDefaultCardRequest constructs an http.Request for the SetDefaultCard method
func NewSetVpcVipFirewallRuleDescriptionRequest ¶
func NewSetVpcVipFirewallRuleDescriptionRequest(server string, id string, vipId string, ruleId string, body SetVpcVipFirewallRuleDescriptionJSONRequestBody) (*http.Request, error)
NewSetVpcVipFirewallRuleDescriptionRequest calls the generic SetVpcVipFirewallRuleDescription builder with application/json body
func NewSetVpcVipFirewallRuleDescriptionRequestWithBody ¶
func NewSetVpcVipFirewallRuleDescriptionRequestWithBody(server string, id string, vipId string, ruleId string, contentType string, body io.Reader) (*http.Request, error)
NewSetVpcVipFirewallRuleDescriptionRequestWithBody constructs an http.Request for the SetVpcVipFirewallRuleDescription method, with any body, and a specified content type
func NewShutdownVmRequest ¶
func NewShutdownVmRequest(server string, id string, params *ShutdownVmParams) (*http.Request, error)
NewShutdownVmRequest constructs an http.Request for the ShutdownVm method
func NewStartVmRequest ¶
NewStartVmRequest constructs an http.Request for the StartVm method
func NewUpdateBillingDetailsRequest ¶
func NewUpdateBillingDetailsRequest(server string, body UpdateBillingDetailsJSONRequestBody) (*http.Request, error)
NewUpdateBillingDetailsRequest calls the generic UpdateBillingDetails builder with application/json body
func NewUpdateBillingDetailsRequestWithBody ¶
func NewUpdateBillingDetailsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBillingDetailsRequestWithBody constructs an http.Request for the UpdateBillingDetails method, with any body, and a specified content type
func NewUpdateBucketVersioningRequest ¶
func NewUpdateBucketVersioningRequest(server string, id string, body UpdateBucketVersioningJSONRequestBody) (*http.Request, error)
NewUpdateBucketVersioningRequest calls the generic UpdateBucketVersioning builder with application/json body
func NewUpdateBucketVersioningRequestWithBody ¶
func NewUpdateBucketVersioningRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBucketVersioningRequestWithBody constructs an http.Request for the UpdateBucketVersioning method, with any body, and a specified content type
func NewUpdateMemberRoleRequest ¶
func NewUpdateMemberRoleRequest(server string, userId string, body UpdateMemberRoleJSONRequestBody) (*http.Request, error)
NewUpdateMemberRoleRequest calls the generic UpdateMemberRole builder with application/json body
func NewUpdateMemberRoleRequestWithBody ¶
func NewUpdateMemberRoleRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMemberRoleRequestWithBody constructs an http.Request for the UpdateMemberRole method, with any body, and a specified content type
func NewUpdateProjectRequest ¶
func NewUpdateProjectRequest(server string, id string, body UpdateProjectJSONRequestBody) (*http.Request, error)
NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body
func NewUpdateProjectRequestWithBody ¶
func NewUpdateProjectRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRequestWithBody constructs an http.Request for the UpdateProject method, with any body, and a specified content type
func NewUpdateSshKeyRequest ¶
func NewUpdateSshKeyRequest(server string, id string, body UpdateSshKeyJSONRequestBody) (*http.Request, error)
NewUpdateSshKeyRequest calls the generic UpdateSshKey builder with application/json body
func NewUpdateSshKeyRequestWithBody ¶
func NewUpdateSshKeyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSshKeyRequestWithBody constructs an http.Request for the UpdateSshKey method, with any body, and a specified content type
func NewUpdateVmBackupPolicyRequest ¶
func NewUpdateVmBackupPolicyRequest(server string, id string, body UpdateVmBackupPolicyJSONRequestBody) (*http.Request, error)
NewUpdateVmBackupPolicyRequest calls the generic UpdateVmBackupPolicy builder with application/json body
func NewUpdateVmBackupPolicyRequestWithBody ¶
func NewUpdateVmBackupPolicyRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVmBackupPolicyRequestWithBody constructs an http.Request for the UpdateVmBackupPolicy method, with any body, and a specified content type
func NewUpdateVmBackupProtectionRequest ¶
func NewUpdateVmBackupProtectionRequest(server string, id string, startedAt int64, body UpdateVmBackupProtectionJSONRequestBody) (*http.Request, error)
NewUpdateVmBackupProtectionRequest calls the generic UpdateVmBackupProtection builder with application/json body
func NewUpdateVmBackupProtectionRequestWithBody ¶
func NewUpdateVmBackupProtectionRequestWithBody(server string, id string, startedAt int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVmBackupProtectionRequestWithBody constructs an http.Request for the UpdateVmBackupProtection method, with any body, and a specified content type
func NewUpdateVmFirewallRuleRequest ¶
func NewUpdateVmFirewallRuleRequest(server string, id string, ruleId string, body UpdateVmFirewallRuleJSONRequestBody) (*http.Request, error)
NewUpdateVmFirewallRuleRequest calls the generic UpdateVmFirewallRule builder with application/json body
func NewUpdateVmFirewallRuleRequestWithBody ¶
func NewUpdateVmFirewallRuleRequestWithBody(server string, id string, ruleId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVmFirewallRuleRequestWithBody constructs an http.Request for the UpdateVmFirewallRule method, with any body, and a specified content type
func NewUpdateVpcRequest ¶
func NewUpdateVpcRequest(server string, id string, body UpdateVpcJSONRequestBody) (*http.Request, error)
NewUpdateVpcRequest calls the generic UpdateVpc builder with application/json body
func NewUpdateVpcRequestWithBody ¶
func NewUpdateVpcRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVpcRequestWithBody constructs an http.Request for the UpdateVpc method, with any body, and a specified content type
func NewUpgradeKubernetesClusterWorkersRequest ¶ added in v0.2.0
func NewUpgradeKubernetesClusterWorkersRequest(server string, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody) (*http.Request, error)
NewUpgradeKubernetesClusterWorkersRequest calls the generic UpgradeKubernetesClusterWorkers builder with application/json body
func NewUpgradeKubernetesClusterWorkersRequestWithBody ¶ added in v0.2.0
func NewUpgradeKubernetesClusterWorkersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpgradeKubernetesClusterWorkersRequestWithBody constructs an http.Request for the UpgradeKubernetesClusterWorkers method, with any body, and a specified content type
func NewWriteAiSandboxFileRequestWithBody ¶
func NewWriteAiSandboxFileRequestWithBody(server string, sandboxId string, params *WriteAiSandboxFileParams, contentType string, body io.Reader) (*http.Request, error)
NewWriteAiSandboxFileRequestWithBody constructs an http.Request for the WriteAiSandboxFile method, with any body, and a specified content type
func OperationPath ¶
OperationPath is the request path for an operation id.
Types ¶
type APIError ¶
type APIError struct {
Type string
Title string
Status int
Detail string
Instance string
RequestID string
TraceID string
Violations []FieldViolation
Key string
Scope string
Limit int64
Used int64
}
APIError is an application/problem+json error response.
type AddPlacementGroupMemberResponse ¶
type AddPlacementGroupMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementGroupDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseAddPlacementGroupMemberResponse ¶
func ParseAddPlacementGroupMemberResponse(rsp *http.Response) (*AddPlacementGroupMemberResponse, error)
ParseAddPlacementGroupMemberResponse parses an HTTP response from a AddPlacementGroupMemberWithResponse call
func (AddPlacementGroupMemberResponse) ContentType ¶
func (r AddPlacementGroupMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON401 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON403 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON404 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON409 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON429 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetApplicationproblemJSON500 ¶
func (r AddPlacementGroupMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AddPlacementGroupMemberResponse) GetBody ¶
func (r AddPlacementGroupMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddPlacementGroupMemberResponse) GetJSON200 ¶
func (r AddPlacementGroupMemberResponse) GetJSON200() *PublicPlacementGroupDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddPlacementGroupMemberResponse) Status ¶
func (r AddPlacementGroupMemberResponse) Status() string
Status returns HTTPResponse.Status
func (AddPlacementGroupMemberResponse) StatusCode ¶
func (r AddPlacementGroupMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddVmDiskJSONRequestBody ¶
type AddVmDiskJSONRequestBody = PublicAddDiskRequest
AddVmDiskJSONRequestBody defines body for AddVmDisk for application/json ContentType.
type AddVmDiskParams ¶
type AddVmDiskParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
AddVmDiskParams defines parameters for AddVmDisk.
type AddVmDiskResponse ¶
type AddVmDiskResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *AddVmDiskResponse202Headers
}
func ParseAddVmDiskResponse ¶
func ParseAddVmDiskResponse(rsp *http.Response) (*AddVmDiskResponse, error)
ParseAddVmDiskResponse parses an HTTP response from a AddVmDiskWithResponse call
func (AddVmDiskResponse) ContentType ¶
func (r AddVmDiskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddVmDiskResponse) GetApplicationproblemJSON400 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON401 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON403 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON404 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON409 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON422 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON429 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AddVmDiskResponse) GetApplicationproblemJSON500 ¶
func (r AddVmDiskResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AddVmDiskResponse) GetBody ¶
func (r AddVmDiskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddVmDiskResponse) GetJSON202 ¶
func (r AddVmDiskResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AddVmDiskResponse) Status ¶
func (r AddVmDiskResponse) Status() string
Status returns HTTPResponse.Status
func (AddVmDiskResponse) StatusCode ¶
func (r AddVmDiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddVmDiskResponse202Headers ¶
type AddVmDiskResponse202Headers struct {
Location *string
}
AddVmDiskResponse202Headers the declared response headers of an HTTP 202 response for AddVmDisk
type AddVmToVipResponse ¶
type AddVmToVipResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *AddVmToVipResponse202Headers
}
func ParseAddVmToVipResponse ¶
func ParseAddVmToVipResponse(rsp *http.Response) (*AddVmToVipResponse, error)
ParseAddVmToVipResponse parses an HTTP response from a AddVmToVipWithResponse call
func (AddVmToVipResponse) ContentType ¶
func (r AddVmToVipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddVmToVipResponse) GetApplicationproblemJSON401 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AddVmToVipResponse) GetApplicationproblemJSON403 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AddVmToVipResponse) GetApplicationproblemJSON404 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AddVmToVipResponse) GetApplicationproblemJSON409 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AddVmToVipResponse) GetApplicationproblemJSON429 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AddVmToVipResponse) GetApplicationproblemJSON500 ¶
func (r AddVmToVipResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AddVmToVipResponse) GetBody ¶
func (r AddVmToVipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddVmToVipResponse) GetJSON202 ¶
func (r AddVmToVipResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AddVmToVipResponse) Status ¶
func (r AddVmToVipResponse) Status() string
Status returns HTTPResponse.Status
func (AddVmToVipResponse) StatusCode ¶
func (r AddVmToVipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddVmToVipResponse202Headers ¶
type AddVmToVipResponse202Headers struct {
Location *string
}
AddVmToVipResponse202Headers the declared response headers of an HTTP 202 response for AddVmToVip
type ApplyVmPendingRestartParams ¶
type ApplyVmPendingRestartParams struct {
// Timeout Seconds the shutdown phase waits for the guest before giving up. Default 60.
Timeout *int32 `form:"timeout,omitempty" json:"timeout,omitempty"`
}
ApplyVmPendingRestartParams defines parameters for ApplyVmPendingRestart.
type ApplyVmPendingRestartResponse ¶
type ApplyVmPendingRestartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ApplyVmPendingRestartResponse202Headers
}
func ParseApplyVmPendingRestartResponse ¶
func ParseApplyVmPendingRestartResponse(rsp *http.Response) (*ApplyVmPendingRestartResponse, error)
ParseApplyVmPendingRestartResponse parses an HTTP response from a ApplyVmPendingRestartWithResponse call
func (ApplyVmPendingRestartResponse) ContentType ¶
func (r ApplyVmPendingRestartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyVmPendingRestartResponse) GetApplicationproblemJSON404 ¶
func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ApplyVmPendingRestartResponse) GetApplicationproblemJSON409 ¶
func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ApplyVmPendingRestartResponse) GetApplicationproblemJSON429 ¶
func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ApplyVmPendingRestartResponse) GetApplicationproblemJSON500 ¶
func (r ApplyVmPendingRestartResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ApplyVmPendingRestartResponse) GetBody ¶
func (r ApplyVmPendingRestartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApplyVmPendingRestartResponse) GetJSON202 ¶
func (r ApplyVmPendingRestartResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ApplyVmPendingRestartResponse) Status ¶
func (r ApplyVmPendingRestartResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyVmPendingRestartResponse) StatusCode ¶
func (r ApplyVmPendingRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyVmPendingRestartResponse202Headers ¶
type ApplyVmPendingRestartResponse202Headers struct {
Location *string
}
ApplyVmPendingRestartResponse202Headers the declared response headers of an HTTP 202 response for ApplyVmPendingRestart
type AttachVmNetworkInterfaceJSONRequestBody ¶
type AttachVmNetworkInterfaceJSONRequestBody = PublicAttachNicRequest
AttachVmNetworkInterfaceJSONRequestBody defines body for AttachVmNetworkInterface for application/json ContentType.
type AttachVmNetworkInterfaceParams ¶
type AttachVmNetworkInterfaceParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
AttachVmNetworkInterfaceParams defines parameters for AttachVmNetworkInterface.
type AttachVmNetworkInterfaceResponse ¶
type AttachVmNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *AttachVmNetworkInterfaceResponse202Headers
}
func ParseAttachVmNetworkInterfaceResponse ¶
func ParseAttachVmNetworkInterfaceResponse(rsp *http.Response) (*AttachVmNetworkInterfaceResponse, error)
ParseAttachVmNetworkInterfaceResponse parses an HTTP response from a AttachVmNetworkInterfaceWithResponse call
func (AttachVmNetworkInterfaceResponse) ContentType ¶
func (r AttachVmNetworkInterfaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON400 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON401 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON403 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON404 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON409 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON422 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON429 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON500 ¶
func (r AttachVmNetworkInterfaceResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AttachVmNetworkInterfaceResponse) GetBody ¶
func (r AttachVmNetworkInterfaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AttachVmNetworkInterfaceResponse) GetJSON202 ¶
func (r AttachVmNetworkInterfaceResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AttachVmNetworkInterfaceResponse) Status ¶
func (r AttachVmNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVmNetworkInterfaceResponse) StatusCode ¶
func (r AttachVmNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVmNetworkInterfaceResponse202Headers ¶
type AttachVmNetworkInterfaceResponse202Headers struct {
Location *string
}
AttachVmNetworkInterfaceResponse202Headers the declared response headers of an HTTP 202 response for AttachVmNetworkInterface
type AttachVmPublicIpParams ¶
type AttachVmPublicIpParams struct {
// PrivateLeaseId The private address to pair the public IP with.
PrivateLeaseId *string `form:"privateLeaseId,omitempty" json:"privateLeaseId,omitempty"`
// ReservedIpId An unattached Reserved IP of the account to attach, instead of one drawn from the pool.
ReservedIpId *string `form:"reservedIpId,omitempty" json:"reservedIpId,omitempty"`
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
AttachVmPublicIpParams defines parameters for AttachVmPublicIp.
type AttachVmPublicIpResponse ¶
type AttachVmPublicIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *AttachVmPublicIpResponse202Headers
}
func ParseAttachVmPublicIpResponse ¶
func ParseAttachVmPublicIpResponse(rsp *http.Response) (*AttachVmPublicIpResponse, error)
ParseAttachVmPublicIpResponse parses an HTTP response from a AttachVmPublicIpWithResponse call
func (AttachVmPublicIpResponse) ContentType ¶
func (r AttachVmPublicIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AttachVmPublicIpResponse) GetApplicationproblemJSON400 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON401 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON403 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON404 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON409 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON422 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON429 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AttachVmPublicIpResponse) GetApplicationproblemJSON500 ¶
func (r AttachVmPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AttachVmPublicIpResponse) GetBody ¶
func (r AttachVmPublicIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AttachVmPublicIpResponse) GetJSON202 ¶
func (r AttachVmPublicIpResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AttachVmPublicIpResponse) Status ¶
func (r AttachVmPublicIpResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVmPublicIpResponse) StatusCode ¶
func (r AttachVmPublicIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVmPublicIpResponse202Headers ¶
type AttachVmPublicIpResponse202Headers struct {
Location *string
}
AttachVmPublicIpResponse202Headers the declared response headers of an HTTP 202 response for AttachVmPublicIp
type AttachVmSshKeyResponse ¶
type AttachVmSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseAttachVmSshKeyResponse ¶
func ParseAttachVmSshKeyResponse(rsp *http.Response) (*AttachVmSshKeyResponse, error)
ParseAttachVmSshKeyResponse parses an HTTP response from a AttachVmSshKeyWithResponse call
func (AttachVmSshKeyResponse) ContentType ¶
func (r AttachVmSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AttachVmSshKeyResponse) GetApplicationproblemJSON401 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AttachVmSshKeyResponse) GetApplicationproblemJSON403 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AttachVmSshKeyResponse) GetApplicationproblemJSON404 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AttachVmSshKeyResponse) GetApplicationproblemJSON409 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AttachVmSshKeyResponse) GetApplicationproblemJSON429 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AttachVmSshKeyResponse) GetApplicationproblemJSON500 ¶
func (r AttachVmSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AttachVmSshKeyResponse) GetBody ¶
func (r AttachVmSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AttachVmSshKeyResponse) Status ¶
func (r AttachVmSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVmSshKeyResponse) StatusCode ¶
func (r AttachVmSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVpcVipPublicIpParams ¶
type AttachVpcVipPublicIpParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
AttachVpcVipPublicIpParams defines parameters for AttachVpcVipPublicIp.
type AttachVpcVipPublicIpResponse ¶
type AttachVpcVipPublicIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVipDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseAttachVpcVipPublicIpResponse ¶
func ParseAttachVpcVipPublicIpResponse(rsp *http.Response) (*AttachVpcVipPublicIpResponse, error)
ParseAttachVpcVipPublicIpResponse parses an HTTP response from a AttachVpcVipPublicIpWithResponse call
func (AttachVpcVipPublicIpResponse) ContentType ¶
func (r AttachVpcVipPublicIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON401 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON403 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON404 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON409 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON422 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON429 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetApplicationproblemJSON500 ¶
func (r AttachVpcVipPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (AttachVpcVipPublicIpResponse) GetBody ¶
func (r AttachVpcVipPublicIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AttachVpcVipPublicIpResponse) GetJSON200 ¶
func (r AttachVpcVipPublicIpResponse) GetJSON200() *PublicVipDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AttachVpcVipPublicIpResponse) Status ¶
func (r AttachVpcVipPublicIpResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVpcVipPublicIpResponse) StatusCode ¶
func (r AttachVpcVipPublicIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupVmJSONRequestBody ¶
type BackupVmJSONRequestBody = PublicBackupTriggerRequest
BackupVmJSONRequestBody defines body for BackupVm for application/json ContentType.
type BackupVmParams ¶
type BackupVmParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
BackupVmParams defines parameters for BackupVm.
type BackupVmResponse ¶
type BackupVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *BackupVmResponse202Headers
}
func ParseBackupVmResponse ¶
func ParseBackupVmResponse(rsp *http.Response) (*BackupVmResponse, error)
ParseBackupVmResponse parses an HTTP response from a BackupVmWithResponse call
func (BackupVmResponse) ContentType ¶
func (r BackupVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackupVmResponse) GetApplicationproblemJSON400 ¶
func (r BackupVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON401 ¶
func (r BackupVmResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON403 ¶
func (r BackupVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON404 ¶
func (r BackupVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON409 ¶
func (r BackupVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON429 ¶
func (r BackupVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (BackupVmResponse) GetApplicationproblemJSON500 ¶
func (r BackupVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (BackupVmResponse) GetBody ¶
func (r BackupVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackupVmResponse) GetJSON202 ¶
func (r BackupVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (BackupVmResponse) Status ¶
func (r BackupVmResponse) Status() string
Status returns HTTPResponse.Status
func (BackupVmResponse) StatusCode ¶
func (r BackupVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupVmResponse202Headers ¶
type BackupVmResponse202Headers struct {
Location *string
}
BackupVmResponse202Headers the declared response headers of an HTTP 202 response for BackupVm
type CancelMemberInvitationResponse ¶
type CancelMemberInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCancelMemberInvitationResponse ¶
func ParseCancelMemberInvitationResponse(rsp *http.Response) (*CancelMemberInvitationResponse, error)
ParseCancelMemberInvitationResponse parses an HTTP response from a CancelMemberInvitationWithResponse call
func (CancelMemberInvitationResponse) ContentType ¶
func (r CancelMemberInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelMemberInvitationResponse) GetApplicationproblemJSON401 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CancelMemberInvitationResponse) GetApplicationproblemJSON403 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CancelMemberInvitationResponse) GetApplicationproblemJSON404 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CancelMemberInvitationResponse) GetApplicationproblemJSON409 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CancelMemberInvitationResponse) GetApplicationproblemJSON429 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CancelMemberInvitationResponse) GetApplicationproblemJSON500 ¶
func (r CancelMemberInvitationResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CancelMemberInvitationResponse) GetBody ¶
func (r CancelMemberInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelMemberInvitationResponse) Status ¶
func (r CancelMemberInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CancelMemberInvitationResponse) StatusCode ¶
func (r CancelMemberInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelOperationResponse ¶
type CancelOperationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCancelOperationResponse ¶
func ParseCancelOperationResponse(rsp *http.Response) (*CancelOperationResponse, error)
ParseCancelOperationResponse parses an HTTP response from a CancelOperationWithResponse call
func (CancelOperationResponse) ContentType ¶
func (r CancelOperationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelOperationResponse) GetApplicationproblemJSON403 ¶
func (r CancelOperationResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CancelOperationResponse) GetApplicationproblemJSON404 ¶
func (r CancelOperationResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CancelOperationResponse) GetApplicationproblemJSON409 ¶
func (r CancelOperationResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CancelOperationResponse) GetApplicationproblemJSON429 ¶
func (r CancelOperationResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CancelOperationResponse) GetApplicationproblemJSON500 ¶
func (r CancelOperationResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CancelOperationResponse) GetBody ¶
func (r CancelOperationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelOperationResponse) Status ¶
func (r CancelOperationResponse) Status() string
Status returns HTTPResponse.Status
func (CancelOperationResponse) StatusCode ¶
func (r CancelOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
API *ClientWithResponses
// contains filtered or unexported fields
}
Client talks to the CloudAfrica API. API exposes the generated calls; they all go through the retrying, key-stamping transport.
func New ¶
func New(endpoint string, ts TokenSource, opts ...Option) (*Client, error)
New builds a client for endpoint (e.g. https://api.cloudafrica.net, without /v1). Every request, retries included, takes its bearer credential from ts. The client sends requests only to endpoint's scheme and host: a redirect or operation Location naming another origin is refused, so the credential never leaves it.
func (*Client) WaitForOperation ¶
WaitForOperation polls loc while the operation is pending or running, and returns once it is complete, failed or cancelled. loc is the 202's Location header or OperationPath(id). A path is joined onto the endpoint verbatim (operation ids contain "/" and must not be escaped); an absolute URL is used as given and must name the endpoint's origin. A failed or cancelled operation returns the operation together with an *OperationError. An error response (a 404, for example) ends the wait with an *APIError; a state other than the five documented ones ends it with an error naming the state.
type ClientInterface ¶
type ClientInterface interface {
// GetAccount Introspect the calling token + account
//
// The account this API token is bound to, the token's active scopes, and the remaining rate-limit budget.
//
// Corresponds with GET /v1/account (the `GetAccount` operationId).
GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountDeletedVmBackupRetention How long a deleted virtual machine's newest backup is kept
//
// A live platform value, not a constant: read it here rather than hardcoding it. 0 means the newest backup is removed on the next sweep after the VM is deleted.
//
// Corresponds with GET /v1/account/deleted-vm-backup-retention (the `GetAccountDeletedVmBackupRetention` operationId).
GetAccountDeletedVmBackupRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountLimits List the account's limits
//
// Every limit that applies to the account, with current usage where it has one. Readable by any token of the account; it needs no scope.
//
// Corresponds with GET /v1/account/limits (the `GetAccountLimits` operationId).
GetAccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivity List activity
//
// Two modes on one route. The account feed takes `types`, `cursor` and `limit` and returns the account's activity newest first; pass the previous response's nextCursor as `cursor` for the next page. The subject history takes `subjectType` and `subjectId` (and `limit`) and returns that one subject's newest activity, at most `limit` rows and never a nextCursor. Mixing the two is 400. `limit` is 1 to 50 and defaults to 50. Rows are limited to what the token's scopes could read directly, and rows show teammates' short display names, or "Service token" for an account service token. Readable by any token of the account; it needs no scope of its own.
//
// Corresponds with GET /v1/activity (the `ListActivity` operationId).
ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAiSandboxes List the account's sandboxes
//
// Running, paused and in-transition sandboxes, oldest first; a failed or deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/ai/sandboxes (the `ListAiSandboxes` operationId).
ListAiSandboxes(ctx context.Context, params *ListAiSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAiSandboxWithBody Create a sandbox
//
// Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
CreateAiSandboxWithBody(ctx context.Context, params *CreateAiSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAiSandbox Create a sandbox
//
// Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
CreateAiSandbox(ctx context.Context, params *CreateAiSandboxParams, body CreateAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAiSandboxTemplates List the account's sandbox templates
//
// BUILDING, READY and DELETING templates, oldest first; a failed or fully deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/ai/sandboxes/templates (the `ListAiSandboxTemplates` operationId).
ListAiSandboxTemplates(ctx context.Context, params *ListAiSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAiSandboxTemplate Delete a sandbox template
//
// Removes the template and its stored image. Sandboxes already started from it are unaffected. Refuses with 409 template_building while it is still being saved.
//
// Corresponds with DELETE /v1/ai/sandboxes/templates/{templateId} (the `DeleteAiSandboxTemplate` operationId).
DeleteAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAiSandboxTemplate Get a sandbox template
//
// A FAILED template is readable by id so a save can be seen to have failed.
//
// Corresponds with GET /v1/ai/sandboxes/templates/{templateId} (the `GetAiSandboxTemplate` operationId).
GetAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAiSandbox Delete a sandbox
//
// Deletes the sandbox and, if paused, its snapshot.
//
// Corresponds with DELETE /v1/ai/sandboxes/{sandboxId} (the `DeleteAiSandbox` operationId).
DeleteAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAiSandbox Get a sandbox
//
// Corresponds with GET /v1/ai/sandboxes/{sandboxId} (the `GetAiSandbox` operationId).
GetAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecAiSandboxWithBody Run a command in a sandbox
//
// Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
ExecAiSandboxWithBody(ctx context.Context, sandboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecAiSandbox Run a command in a sandbox
//
// Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
ExecAiSandbox(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseAiSandbox Pause a sandbox
//
// Snapshots and stops a running sandbox; billing stops. The snapshot lives on the same host and is not durable, and the sandbox is still deleted at its original expiry. Refuses with 409 when the sandbox is not running or the host has no room for the snapshot.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/pause (the `PauseAiSandbox` operationId).
PauseAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeAiSandbox Resume a paused sandbox
//
// Restores the sandbox on its own host. Refuses with 409 when the account is at a cap or the host is full or unreachable.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/resume (the `ResumeAiSandbox` operationId).
ResumeAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAiSandboxTemplateWithBody Save a paused sandbox as a template
//
// Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
SaveAiSandboxTemplateWithBody(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAiSandboxTemplate Save a paused sandbox as a template
//
// Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
SaveAiSandboxTemplate(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, body SaveAiSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadAiSandboxFile Read a file from a running sandbox
//
// The file's bytes, at most 16 MiB.
//
// Corresponds with GET /v1/ai/sandboxes/{sandboxId}/files (the `ReadAiSandboxFile` operationId).
ReadAiSandboxFile(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WriteAiSandboxFileWithBody Write a file into a running sandbox
//
// The request body is the file's bytes, at most 16 MiB (400 above). mode is an octal string such as 0644. The sandbox runs as root, so a written file can be run: needs protected:sandboxes and, for a personal token, a paired elevation secret in X-CloudAfrica-Elevation; without the pairing it answers 403 not-paired.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/ai/sandboxes/{sandboxId}/files (the `WriteAiSandboxFile` operationId).
WriteAiSandboxFileWithBody(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupPolicies List the account's backup policies
//
// Each live virtual machine's backup policy, tagged with the VM's id. Only live VMs are listed: a deleted VM's policy is not, though /v1/vms/{id}/backup-policy still answers it. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/backup-policies (the `ListBackupPolicies` operationId).
ListBackupPolicies(ctx context.Context, params *ListBackupPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupWindows The backup window catalogue
//
// The four windows in cycle order (overnight, morning, afternoon, evening) as they are configured right now. Platform-wide; boundaries are operator-editable.
//
// Corresponds with GET /v1/backup-windows (the `ListBackupWindows` operationId).
ListBackupWindows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingAccrual Get the account's month-to-date accrual
//
// A reading from the usage ledger, not an invoice: one total for the whole account across every billed resource type (VMs, backups, buckets, VPCs), never for one type. `total` is in rands. Optionally as-of a past instant; the window is always clamped to the meter's coverage frontier.
//
// Corresponds with GET /v1/billing/accrual (the `GetBillingAccrual` operationId).
GetBillingAccrual(ctx context.Context, params *GetBillingAccrualParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingBalance Get the account's outstanding balance
//
// Corresponds with GET /v1/billing/balance (the `GetBillingBalance` operationId).
GetBillingBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingDetails Get the account's billing details
//
// Corresponds with GET /v1/billing/details (the `GetBillingDetails` operationId).
GetBillingDetails(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBillingDetailsWithBody Update the account's billing details
//
// Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
UpdateBillingDetailsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBillingDetails Update the account's billing details
//
// Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
UpdateBillingDetails(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBucketKeys List object storage access keys in the account
//
// Includes the account's master key, which is attached to no bucket. Never carries a secret. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/bucket-keys (the `ListBucketKeys` operationId).
ListBucketKeys(ctx context.Context, params *ListBucketKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBucketKeyWithBody Create an object storage access key
//
// Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
CreateBucketKeyWithBody(ctx context.Context, params *CreateBucketKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBucketKey Create an object storage access key
//
// Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
CreateBucketKey(ctx context.Context, params *CreateBucketKeyParams, body CreateBucketKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBucketKey Delete an object storage access key
//
// Detaches the key from every bucket, then removes it. The account's master key cannot be deleted — that would orphan every bucket it owns. Requires protected:s3. Returns 204.
//
// Corresponds with DELETE /v1/bucket-keys/{keyId} (the `DeleteBucketKey` operationId).
DeleteBucketKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevealBucketKeySecret Reveal the secret the backend holds for a key
//
// Requires protected:s3. 200 with the secret, or 200 with available=false and no secret when the backend holds none — a key created before secret storage was backfilled. 404 only for a key that is not in this account. Answered no-store: a live credential must not sit in a response an intermediary may cache. A retry carrying the same Idempotency-Key replays the 200 without the secret, so call it again without that header to read one.
//
// Corresponds with POST /v1/bucket-keys/{keyId}/actions/reveal-secret (the `RevealBucketKeySecret` operationId).
RevealBucketKeySecret(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeBucketKeyBucketAccess Revoke a key's access to a bucket
//
// Rewrites the bucket's policy without the key; the key itself stays in the account. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
//
// Corresponds with DELETE /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `RevokeBucketKeyBucketAccess` operationId).
RevokeBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrantBucketKeyBucketAccess Grant a key access to a bucket
//
// Grants the key's recorded permission on the bucket, and rewrites the bucket's policy to name it. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
//
// Corresponds with PUT /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `GrantBucketKeyBucketAccess` operationId).
GrantBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBuckets List object storage buckets in the account
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/buckets (the `ListBuckets` operationId).
ListBuckets(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBucketWithBody Order a new object storage bucket
//
// Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
CreateBucketWithBody(ctx context.Context, params *CreateBucketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBucket Order a new object storage bucket
//
// Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
CreateBucket(ctx context.Context, params *CreateBucketParams, body CreateBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucket Get an object storage bucket
//
// Corresponds with GET /v1/buckets/{id} (the `GetBucket` operationId).
GetBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBucketWithBody Delete a bucket and everything in it
//
// Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
DeleteBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBucket Delete a bucket and everything in it
//
// Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
DeleteBucket(ctx context.Context, id string, body DeleteBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketCors A bucket's CORS rules
//
// Read live from the storage cluster.
//
// Corresponds with GET /v1/buckets/{id}/cors (the `GetBucketCors` operationId).
GetBucketCors(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceBucketCorsWithBody Replace a bucket's CORS rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
ReplaceBucketCorsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceBucketCors Replace a bucket's CORS rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
ReplaceBucketCors(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketLifecycle A bucket's lifecycle rules
//
// Read live from the storage cluster. `unsupported` means the bucket also holds rules this API cannot represent.
//
// Corresponds with GET /v1/buckets/{id}/lifecycle (the `GetBucketLifecycle` operationId).
GetBucketLifecycle(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceBucketLifecycleWithBody Replace a bucket's lifecycle rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
ReplaceBucketLifecycleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceBucketLifecycle Replace a bucket's lifecycle rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
ReplaceBucketLifecycle(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBucketObjects List the objects in a bucket
//
// Lists the objects under `prefix`, or every object when it is omitted, in key order. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Corresponds with GET /v1/buckets/{id}/objects (the `ListBucketObjects` operationId).
ListBucketObjects(ctx context.Context, id string, params *ListBucketObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBucketDeletedObjects List deleted objects that can still be recovered
//
// Lists the keys whose current version is a delete marker, under `prefix` or across the bucket: deleted, with earlier versions still held. Each row is that delete marker. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Corresponds with GET /v1/buckets/{id}/objects/deleted (the `ListBucketDeletedObjects` operationId).
ListBucketDeletedObjects(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateObjectDownloadUrlWithBody Mint a short-lived URL that downloads one object
//
// Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
CreateObjectDownloadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateObjectDownloadUrl Mint a short-lived URL that downloads one object
//
// Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
CreateObjectDownloadUrl(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketObjectMetadata Get one object's metadata, tags and retention
//
// Reads the current version's content headers, user metadata, tags and object-lock retention. 404 for a missing key, and for an object whose current version is a delete marker.
//
// Corresponds with GET /v1/buckets/{id}/objects/metadata (the `GetBucketObjectMetadata` operationId).
GetBucketObjectMetadata(ctx context.Context, id string, params *GetBucketObjectMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateObjectUploadUrlWithBody Mint a short-lived URL that uploads one new object
//
// Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
CreateObjectUploadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateObjectUploadUrl Mint a short-lived URL that uploads one new object
//
// Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
CreateObjectUploadUrl(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBucketObjectVersions List the versions of one object
//
// Lists every version of exactly one key, delete markers included: the current version first, then newest first. A bucket that was never versioned lists one entry with a null versionId. Cursor-paginated; a version written between two pages can list the version it replaced again, now as noncurrent, and when the newest versions are permanently deleted between pages, the version that becomes current can be skipped. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Corresponds with GET /v1/buckets/{id}/objects/versions (the `ListBucketObjectVersions` operationId).
ListBucketObjectVersions(ctx context.Context, id string, params *ListBucketObjectVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketProtection A bucket's object lock and default encryption
//
// Read-only: object lock is chosen when the bucket is ordered.
//
// Corresponds with GET /v1/buckets/{id}/protection (the `GetBucketProtection` operationId).
GetBucketProtection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketUsage A bucket's storage usage and traffic over a window
//
// Not the billing basis — egress is billed differently. See the field docs.
//
// Corresponds with GET /v1/buckets/{id}/usage (the `GetBucketUsage` operationId).
GetBucketUsage(ctx context.Context, id string, params *GetBucketUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBucketVersioning A bucket's current versioning state
//
// Corresponds with GET /v1/buckets/{id}/versioning (the `GetBucketVersioning` operationId).
GetBucketVersioning(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBucketVersioningWithBody Change a bucket's versioning state
//
// Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
UpdateBucketVersioningWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBucketVersioning Change a bucket's versioning state
//
// Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
UpdateBucketVersioning(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCards List the account's saved cards
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/cards (the `ListCards` operationId).
ListCards(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCardCheckout Start a card capture checkout
//
// Nothing is charged: the checkout tokenises a card at zero amount. Must carry an Idempotency-Key header; use a fresh key for each checkout attempt. Returns the checkoutId to link or poll and the entityId the payment provider's own form is mounted with — without it the capture cannot be completed.
//
// Corresponds with POST /v1/cards/checkout (the `CreateCardCheckout` operationId).
CreateCardCheckout(ctx context.Context, params *CreateCardCheckoutParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCardLink Poll a card link
//
// Requires `write:billing`: the backend gates this read on the account's manage tier, so the scope is a ceiling and a read-only token is refused. Not a write — it spends the read rate-limit bucket.
//
// Corresponds with GET /v1/cards/links/{checkoutId} (the `GetCardLink` operationId).
GetCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCardLink Link the card a completed checkout captured
//
// Idempotent per checkout: a repeat returns the same link's state rather than a second card.
//
// Corresponds with POST /v1/cards/links/{checkoutId} (the `CreateCardLink` operationId).
CreateCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCard Remove a saved card
//
// `id` is the card id `GET /v1/cards` returns.
//
// Corresponds with DELETE /v1/cards/{id} (the `DeleteCard` operationId).
DeleteCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDefaultCard Make a card the account's default
//
// `id` is the card id `GET /v1/cards` returns.
//
// Corresponds with POST /v1/cards/{id}/actions/set-default (the `SetDefaultCard` operationId).
SetDefaultCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateElevationRequestWithBody Request to pair this client
//
// Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
CreateElevationRequestWithBody(ctx context.Context, params *CreateElevationRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateElevationRequest Request to pair this client
//
// Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
CreateElevationRequest(ctx context.Context, params *CreateElevationRequestParams, body CreateElevationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIpAddresses List every IP address the account holds
//
// Attached or not, public and private alike. Ordered public-before-private, then by owner name, then by address. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/ip-addresses (the `ListIpAddresses` operationId).
ListIpAddresses(ctx context.Context, params *ListIpAddressesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListKubernetesClusters List the account's Kubernetes clusters
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/kubernetes/clusters (the `ListKubernetesClusters` operationId).
ListKubernetesClusters(ctx context.Context, params *ListKubernetesClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateKubernetesClusterWithBody Create a Kubernetes cluster
//
// Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
CreateKubernetesClusterWithBody(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateKubernetesCluster Create a Kubernetes cluster
//
// Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
CreateKubernetesCluster(ctx context.Context, params *CreateKubernetesClusterParams, body CreateKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteKubernetesCluster Delete a Kubernetes cluster
//
// Destroys the cluster and its workers; this cannot be undone. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 again while the destroy is already running; 409 when the cluster's state does not allow it.
//
// Corresponds with DELETE /v1/kubernetes/clusters/{id} (the `DeleteKubernetesCluster` operationId).
DeleteKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKubernetesCluster Get a Kubernetes cluster
//
// One cluster and its live workers.
//
// Corresponds with GET /v1/kubernetes/clusters/{id} (the `GetKubernetesCluster` operationId).
GetKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrowKubernetesClusterStorageWithBody Grow a Kubernetes cluster's worker data disks
//
// Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
GrowKubernetesClusterStorageWithBody(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrowKubernetesClusterStorage Grow a Kubernetes cluster's worker data disks
//
// Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
GrowKubernetesClusterStorage(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, body GrowKubernetesClusterStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeKubernetesClusterWithBody Resize a Kubernetes cluster's workers
//
// Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
ResizeKubernetesClusterWithBody(ctx context.Context, id string, params *ResizeKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeKubernetesCluster Resize a Kubernetes cluster's workers
//
// Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
ResizeKubernetesCluster(ctx context.Context, id string, params *ResizeKubernetesClusterParams, body ResizeKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestartKubernetesClusterNodes Restart the workers that are owed a restart
//
// Restarts the workers owed a restart (a grown disk, or a change the node does not show yet), one at a time: drained, shut down, started, uncordoned. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also when no worker is owed a restart. 409 when the cluster's state does not allow it or another change is running.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/restart-nodes (the `RestartKubernetesClusterNodes` operationId).
RestartKubernetesClusterNodes(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaleKubernetesClusterWithBody Scale a Kubernetes cluster
//
// Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
ScaleKubernetesClusterWithBody(ctx context.Context, id string, params *ScaleKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaleKubernetesCluster Scale a Kubernetes cluster
//
// Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
ScaleKubernetesCluster(ctx context.Context, id string, params *ScaleKubernetesClusterParams, body ScaleKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpgradeKubernetesClusterWorkersWithBody Upgrade a Kubernetes cluster's workers
//
// Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
UpgradeKubernetesClusterWorkersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpgradeKubernetesClusterWorkers Upgrade a Kubernetes cluster's workers
//
// Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
UpgradeKubernetesClusterWorkers(ctx context.Context, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKubernetesClusterKubeconfig Download a cluster's kubeconfig
//
// A kubeconfig that logs in with your API token: it holds no credential. It reads the token, and the paired elevation secret that cluster access needs, from the two environment variables its exec entry names. Only an account owner or admin can use it. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet.
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig (the `GetKubernetesClusterKubeconfig` operationId).
GetKubernetesClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKubernetesClusterManagedVpnKubeconfig Download a cluster's kubeconfig for Managed VPN
//
// The same kubeconfig, pointed at the cluster's address inside the Managed VPN. 404 also while Managed VPN is off for the account or none of its networks has an active gateway; 409 when the cluster's address cannot be routed over the VPN.
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig/managed-vpn (the `GetKubernetesClusterManagedVpnKubeconfig` operationId).
GetKubernetesClusterManagedVpnKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKubernetesNodeMetric Get one worker's CPU or memory series
//
// `metric` is `cpu` (percent) or `memory` (bytes). `range` is one of 15m, 1h, 2h, 6h, 24h, 7d, 30d; 2h when absent. `vmId` is a worker's `vmId` from GET /v1/kubernetes/clusters/{id}. 200 with `unavailable` true when the series cannot be read now; 400 for a metric or range outside those lists; 404 for an unknown cluster or a worker that is not this cluster's.
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/nodes/{vmId}/metrics/{metric} (the `GetKubernetesNodeMetric` operationId).
GetKubernetesNodeMetric(ctx context.Context, id string, vmId string, metric string, params *GetKubernetesNodeMetricParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateKubernetesClusterToken Get a 15-minute cluster token
//
// Trades your API token for a Kubernetes cluster token, answered in the shape kubectl's exec plugin reads. The token has cluster-admin rights on that one cluster and expires after 15 minutes. Needs protected:compute and a paired elevation secret in X-CloudAfrica-Elevation. Only an account owner or admin's own personal token can mint; a token without manage rights on the account is answered 403, any other caller 404. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet. An Idempotency-Key on this call replays an empty 200, not the token: mint again without one.
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/token (the `CreateKubernetesClusterToken` operationId).
CreateKubernetesClusterToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMe Introspect the calling token's identity
//
// The calling token's own identity — principal kind, subject, name and scopes.
//
// Corresponds with GET /v1/me (the `GetMe` operationId).
GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMembers List the account's team members
//
// Includes pending invitees, as the Users section of the portal's Account page does. Ordered by name, or by email where there is none. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/members (the `ListMembers` operationId).
ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMemberWithBody Invite someone to the account's team
//
// The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/members (the `CreateMember` operationId).
CreateMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMember Invite someone to the account's team
//
// The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/members (the `CreateMember` operationId).
CreateMember(ctx context.Context, body CreateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMember Remove a member from the account's team
//
// Also revokes that person's personal API tokens for this account, so a credential they already hold stops working here — removing the membership alone would leave a token that keeps confirming the account. A repeat is 404: they are no longer a member. `userId` is the id `GET /v1/members` returns. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Corresponds with DELETE /v1/members/{userId} (the `DeleteMember` operationId).
DeleteMember(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelMemberInvitation Cancel a pending invitation
//
// Withdraws an invitation that has not been accepted yet. Pending invitations only: 409 means the invitation was already accepted. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
//
// Corresponds with POST /v1/members/{userId}/actions/cancel-invitation (the `CancelMemberInvitation` operationId).
CancelMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendMemberInvitation Resend a pending invitation
//
// Sends the invitation again to someone who has not accepted yet. Pending invitations only: 409 means the invitation was already accepted, or the invitee has no identity to send to. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
//
// Corresponds with POST /v1/members/{userId}/actions/resend-invitation (the `ResendMemberInvitation` operationId).
ResendMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMemberRoleWithBody Change a member's role
//
// `operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
UpdateMemberRoleWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMemberRole Change a member's role
//
// `operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
UpdateMemberRole(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOperation Get an operation
//
// Corresponds with GET /v1/operations/{id} (the `GetOperation` operationId).
GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelOperation Request cancellation of an operation
//
// 202 when the request was accepted; the operation reaches its terminal state later.
//
// Corresponds with POST /v1/operations/{id}/cancel (the `CancelOperation` operationId).
CancelOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOsImages List the images a virtual machine can be created from
//
// Every image you can create from. `id` is the `osImageId` that POST /v1/vms takes. `requiresSshKey` says whether the create must carry at least one SSH key (true) or refuses keys (false, for Windows images). Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/os-images (the `ListOsImages` operationId).
ListOsImages(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlacementGroups List placement groups in the account
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/placement-groups (the `ListPlacementGroups` operationId).
ListPlacementGroups(ctx context.Context, params *ListPlacementGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlacementGroupWithBody Create a placement group
//
// Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
CreatePlacementGroupWithBody(ctx context.Context, params *CreatePlacementGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlacementGroup Create a placement group
//
// Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
CreatePlacementGroup(ctx context.Context, params *CreatePlacementGroupParams, body CreatePlacementGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlacementGroupDatacenters List the datacenters a placement group can be created in
//
// The slug on each entry is the only value create accepts as `datacenterId`. Create refuses anything else — a display name, or a site this account cannot place into — because a group in a site the placement engine cannot match is silently inert. Read the slug from here rather than composing one.
//
// Corresponds with GET /v1/placement-groups/datacenters (the `ListPlacementGroupDatacenters` operationId).
ListPlacementGroupDatacenters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePlacementGroup Delete a placement group
//
// Releases the group; its members stay where they are, since a group only ever constrained future placement.
//
// Corresponds with DELETE /v1/placement-groups/{id} (the `DeletePlacementGroup` operationId).
DeletePlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlacementGroup Get a placement group by id
//
// Corresponds with GET /v1/placement-groups/{id} (the `GetPlacementGroup` operationId).
GetPlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemovePlacementGroupMember Remove a VM from a placement group
//
// The VM stays where it is; the constraint no longer applies to it. Synchronous: returns 200 with the group as it stands.
//
// Corresponds with DELETE /v1/placement-groups/{id}/members/{vmId} (the `RemovePlacementGroupMember` operationId).
RemovePlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPlacementGroupMember Add a VM to a placement group
//
// Constrains where the VM is placed next; it does not move a running VM. Synchronous: returns 200 with the group as it stands. Idempotent, which is why it is a PUT: re-adding a VM that is already in THIS group answers 200 with the group unchanged, so a client whose first response was lost can safely resend. Refuses with 409 when the VM belongs to a DIFFERENT placement group, or when this group is at its member-count cap.
//
// Corresponds with PUT /v1/placement-groups/{id}/members/{vmId} (the `AddPlacementGroupMember` operationId).
AddPlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlacementFeasibility Check whether a datacenter can take a VM shape
//
// Answers how many of `count` VMs of this shape would be placed in the datacenter, optionally joining a placement group. Read-only: nothing is reserved. `count` defaults to 1 and the answer never exceeds it; the platform may clamp a large `count`, which the response's `requested` reports. `extraDisksGib` is the TOTAL of the extra disks a create would request, not one disk, and defaults to 0.
//
// Corresponds with GET /v1/placement/feasibility (the `GetPlacementFeasibility` operationId).
GetPlacementFeasibility(ctx context.Context, params *GetPlacementFeasibilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjects List projects
//
// The account's projects, the default project first and then by name. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/projects (the `ListProjects` operationId).
ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody Create a project
//
// Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProject Create a project
//
// Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProject Delete a project
//
// Only an empty project that is not the account's default and not managed by the platform can be deleted; anything else answers 409, so move its resources out first. Only an account admin's personal token can delete a project: every account-service token is refused with 403.
//
// Corresponds with DELETE /v1/projects/{id} (the `DeleteProject` operationId).
DeleteProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProject Get a project
//
// Corresponds with GET /v1/projects/{id} (the `GetProject` operationId).
GetProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectWithBody Rename a project
//
// Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
UpdateProjectWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProject Rename a project
//
// Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
UpdateProject(ctx context.Context, id string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectResources List the resources in a project
//
// Every live resource the project holds, including kinds that cannot be moved out of it: they still count toward the project's resourceCount and its delete guard. Ordered by name. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/projects/{id}/resources (the `ListProjectResources` operationId).
ListProjectResources(ctx context.Context, id string, params *ListProjectResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveProjectResource Move a resource into a project
//
// Files the resource in this project, moving it out of whichever project it is in now; repeating the call is harmless. Answers with the destination project. Within one account only, and not every kind of resource can be moved: those authorized through a parent, such as public IPs and firewall rules, are refused. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Corresponds with PUT /v1/projects/{id}/resources/{resourceId} (the `MoveProjectResource` operationId).
MoveProjectResource(ctx context.Context, id string, resourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSshKeys List the token's own SSH keys
//
// Keys are person-owned. A CUSTOMER_PAT sees its own person's keys; an ACCOUNT_SERVICE token has no person and is refused. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/ssh-keys (the `ListSshKeys` operationId).
ListSshKeys(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSshKeyWithBody Register an SSH public key
//
// The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithBody(ctx context.Context, params *CreateSshKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSshKey Register an SSH public key
//
// The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
CreateSshKey(ctx context.Context, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSshKey Delete an SSH key
//
// Refused with 409 while the key is still linked to a virtual machine — unlink it from them first, then delete it.
//
// Corresponds with DELETE /v1/ssh-keys/{id} (the `DeleteSshKey` operationId).
DeleteSshKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSshKeyWithBody Rename an SSH key
//
// Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
UpdateSshKeyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSshKey Rename an SSH key
//
// Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
UpdateSshKey(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSupportTickets List the account's support tickets
//
// Cursor-paginated, most recently updated first. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Filter with `status` (repeatable: open, waiting-on-you, resolved, closed) and `q` (free text). The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
ListSupportTickets(ctx context.Context, params *ListSupportTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportTicketWithBody Raise a support ticket
//
// Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
CreateSupportTicketWithBody(ctx context.Context, params *CreateSupportTicketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportTicket Raise a support ticket
//
// Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
CreateSupportTicket(ctx context.Context, params *CreateSupportTicketParams, body CreateSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportTicket Get a support ticket and its conversation
//
// The ticket, its original description and its visible conversation, oldest first. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Corresponds with GET /v1/support/tickets/{id} (the `GetSupportTicket` operationId).
GetSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveSupportTicket Resolve a support ticket
//
// Marks the ticket resolved and answers with the ticket summary. A later reply reopens it.
//
// Corresponds with POST /v1/support/tickets/{id}/actions/resolve (the `ResolveSupportTicket` operationId).
ResolveSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportTicketAttachment Download a ticket attachment
//
// The attachment's bytes, always served as an opaque download. 404 if the ticket has no such attachment among those the caller can see. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Corresponds with GET /v1/support/tickets/{id}/attachments/{attachmentId} (the `GetSupportTicketAttachment` operationId).
GetSupportTicketAttachment(ctx context.Context, id string, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportTicketReplyWithBody Reply on a support ticket
//
// Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
CreateSupportTicketReplyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportTicketReply Reply on a support ticket
//
// Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
CreateSupportTicketReply(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTransactions List transactions for the account
//
// Invoices and credit notes, cursor-paginated, newest first. Credit notes are negative and appear once posted to the accounting system. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Answers 502 when credit notes cannot be read, rather than a page without them.
//
// Corresponds with GET /v1/transactions (the `ListTransactions` operationId).
ListTransactions(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVips List the account's virtual IPs
//
// One entry per VIP, with its private address, its public overlay address if it has one, and the VMs declared to serve it. In the order /v1/ip-addresses lists their first row. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vips (the `ListVips` operationId).
ListVips(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVms List virtual machines in the account
//
// Cursor-paginated: pass `cursor` from the previous response's nextCursor to fetch the next page. Use this to find a VM when you do not have its id: filter by current display name with `slug`, or read every VM in the account. Each row is the full VM, so no second call is needed for its details. When you already hold the VM's id, call getVm instead of listing.
//
// Corresponds with GET /v1/vms (the `ListVms` operationId).
ListVms(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmWithBody Create a virtual machine
//
// Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms (the `CreateVm` operationId).
CreateVmWithBody(ctx context.Context, params *CreateVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVm Create a virtual machine
//
// Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms (the `CreateVm` operationId).
CreateVm(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVm Delete a virtual machine
//
// Destroys the VM and its disks. Irreversible. Requires protected:compute. The VM must be stopped: a running VM is refused with 409. Asynchronous: returns 202 with the operation to poll.
//
// Corresponds with DELETE /v1/vms/{id} (the `DeleteVm` operationId).
DeleteVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVm Get a virtual machine by id
//
// Get one virtual machine by its id, with its current state. Use this when you already hold the id, from listVms or an earlier call. It cannot look a VM up by name: to find an id from a name, call listVms with `slug`. A 404 means no VM of that id in this account.
//
// Corresponds with GET /v1/vms/{id} (the `GetVm` operationId).
GetVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddVmDiskWithBody Attach a data disk to a virtual machine
//
// Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
AddVmDiskWithBody(ctx context.Context, id string, params *AddVmDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddVmDisk Attach a data disk to a virtual machine
//
// Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
AddVmDisk(ctx context.Context, id string, params *AddVmDiskParams, body AddVmDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyVmPendingRestart Apply a pending configuration change by restarting the virtual machine
//
// For a change (such as a resize) that takes effect only after a power cycle: shuts the guest down, then starts it again, as one operation. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with POST /v1/vms/{id}/actions/apply-pending-restart (the `ApplyVmPendingRestart` operationId).
ApplyVmPendingRestart(ctx context.Context, id string, params *ApplyVmPendingRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupVmWithBody Back a virtual machine up now
//
// An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
BackupVmWithBody(ctx context.Context, id string, params *BackupVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackupVm Back a virtual machine up now
//
// An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
BackupVm(ctx context.Context, id string, params *BackupVmParams, body BackupVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForceStopVm Force a virtual machine off
//
// Cuts power without asking the guest; unflushed writes may be lost. Asynchronous: returns 202 with the operation to poll.
//
// Corresponds with POST /v1/vms/{id}/actions/force-stop (the `ForceStopVm` operationId).
ForceStopVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebootVm Restart a virtual machine
//
// Shuts the virtual machine down and starts it again. Asynchronous: returns 202 with the operation to poll.
//
// Corresponds with POST /v1/vms/{id}/actions/reboot (the `RebootVm` operationId).
RebootVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameVmWithBody Rename a virtual machine
//
// Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
RenameVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameVm Rename a virtual machine
//
// Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
RenameVm(ctx context.Context, id string, body RenameVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVmWithBody Resize a virtual machine
//
// Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
ResizeVmWithBody(ctx context.Context, id string, params *ResizeVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVm Resize a virtual machine
//
// Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
ResizeVm(ctx context.Context, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreVmWithBody Restore a virtual machine from one of its backups
//
// Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
RestoreVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreVm Restore a virtual machine from one of its backups
//
// Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
RestoreVm(ctx context.Context, id string, body RestoreVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShutdownVm Shut down a virtual machine gracefully
//
// Asks the guest OS to shut down. Asynchronous: returns 202 with the operation to poll.
//
// Corresponds with POST /v1/vms/{id}/actions/shutdown (the `ShutdownVm` operationId).
ShutdownVm(ctx context.Context, id string, params *ShutdownVmParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartVm Start a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with POST /v1/vms/{id}/actions/start (the `StartVm` operationId).
StartVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmBackupPolicy Remove a virtual machine's backup policy
//
// Stops future scheduled backups. Nothing is deleted: every existing backup stays where it is. 404 when the VM had no policy.
//
// Corresponds with DELETE /v1/vms/{id}/backup-policy (the `DeleteVmBackupPolicy` operationId).
DeleteVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmBackupPolicy Get a virtual machine's backup policy
//
// 404 for either an unknown VM or a VM with no policy — absence is the status, not a policy with empty fields.
//
// Corresponds with GET /v1/vms/{id}/backup-policy (the `GetVmBackupPolicy` operationId).
GetVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmBackupPolicyWithBody Set a virtual machine's backup policy
//
// Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
UpdateVmBackupPolicyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmBackupPolicy Set a virtual machine's backup policy
//
// Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
UpdateVmBackupPolicy(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewVmBackupPolicyRotationWithBody Preview what a retention set would delete
//
// A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
PreviewVmBackupPolicyRotationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewVmBackupPolicyRotation Preview what a retention set would delete
//
// A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
PreviewVmBackupPolicyRotation(ctx context.Context, id string, body PreviewVmBackupPolicyRotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmBackups List a virtual machine's backups
//
// Newest first. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/backups (the `ListVmBackups` operationId).
ListVmBackups(ctx context.Context, id string, params *ListVmBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmBackup Forget one backup of a virtual machine
//
// Requires protected:backup. Permanently deletes the named backup's archive. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Corresponds with DELETE /v1/vms/{id}/backups/{startedAt} (the `DeleteVmBackup` operationId).
DeleteVmBackup(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreVmBackupToNewVmWithBody Restore a backup onto a new virtual machine
//
// Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
RestoreVmBackupToNewVmWithBody(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreVmBackupToNewVm Restore a backup onto a new virtual machine
//
// Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
RestoreVmBackupToNewVm(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, body RestoreVmBackupToNewVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmBackupProtectionWithBody Protect or release one backup
//
// A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
UpdateVmBackupProtectionWithBody(ctx context.Context, id string, startedAt int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmBackupProtection Protect or release one backup
//
// A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
UpdateVmBackupProtection(ctx context.Context, id string, startedAt int64, body UpdateVmBackupProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmBackupRestoreSites List the datacenters a backup can be restored to as a new VM
//
// The datacenters that can take this backup as a new virtual machine, each with whether it has room. An empty list means the backup cannot be restored to a new VM. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Corresponds with GET /v1/vms/{id}/backups/{startedAt}/restore-sites (the `ListVmBackupRestoreSites` operationId).
ListVmBackupRestoreSites(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmDisks List a virtual machine's disks
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/disks (the `ListVmDisks` operationId).
ListVmDisks(ctx context.Context, id string, params *ListVmDisksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmFirewallRules List firewall rules that apply to a virtual machine
//
// Corresponds with GET /v1/vms/{id}/firewall-rules (the `ListVmFirewallRules` operationId).
ListVmFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmFirewallRuleWithBody Add a firewall rule to a virtual machine
//
// Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
CreateVmFirewallRuleWithBody(ctx context.Context, id string, params *CreateVmFirewallRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmFirewallRule Add a firewall rule to a virtual machine
//
// Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
CreateVmFirewallRule(ctx context.Context, id string, params *CreateVmFirewallRuleParams, body CreateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmFirewallRulesWithBody Remove several firewall rules from a virtual machine
//
// Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
DeleteVmFirewallRulesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmFirewallRules Remove several firewall rules from a virtual machine
//
// Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
DeleteVmFirewallRules(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmFirewallRule Remove a firewall rule from a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with DELETE /v1/vms/{id}/firewall-rules/{ruleId} (the `DeleteVmFirewallRule` operationId).
DeleteVmFirewallRule(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmFirewallRuleWithBody Update a firewall rule on a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
UpdateVmFirewallRuleWithBody(ctx context.Context, id string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmFirewallRule Update a firewall rule on a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
UpdateVmFirewallRule(ctx context.Context, id string, ruleId string, body UpdateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmNetworkInterfaces List a virtual machine's network interfaces
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/network-interfaces (the `ListVmNetworkInterfaces` operationId).
ListVmNetworkInterfaces(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVmNetworkInterfaceWithBody Attach a network interface to a virtual machine
//
// Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
AttachVmNetworkInterfaceWithBody(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVmNetworkInterface Attach a network interface to a virtual machine
//
// Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
AttachVmNetworkInterface(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, body AttachVmNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVmNetworkInterface Detach a network interface from a virtual machine
//
// Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with DELETE /v1/vms/{id}/network-interfaces/{nicId} (the `DetachVmNetworkInterface` operationId).
DetachVmNetworkInterface(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmPrivateIps List the private IP addresses leased to a virtual machine
//
// One entry per lease, across all of the VM's network interfaces. The id is the leaseId that privateLeaseId on POST /v1/vms/{id}/public-ips takes. Private addresses cannot be released through the API. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/private-ips (the `ListVmPrivateIps` operationId).
ListVmPrivateIps(ctx context.Context, id string, params *ListVmPrivateIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmPrivateIpWithBody Add a private IP address to a virtual machine's network interface
//
// Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
CreateVmPrivateIpWithBody(ctx context.Context, id string, params *CreateVmPrivateIpParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmPrivateIp Add a private IP address to a virtual machine's network interface
//
// Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
CreateVmPrivateIp(ctx context.Context, id string, params *CreateVmPrivateIpParams, body CreateVmPrivateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmPublicIps List public IPs attached to a virtual machine
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/public-ips (the `ListVmPublicIps` operationId).
ListVmPublicIps(ctx context.Context, id string, params *ListVmPublicIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVmPublicIp Attach a public IP to a virtual machine
//
// Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the VM's public-IP cap (the PUBLIC_IPS_PER_VM key) or the account's (the PUBLIC_IP key), and with a transitional 409 while THIS VM already has an attach in flight — the guard is keyed on the VM, so a concurrent attach on another of the account's VMs is not refused. privateLeaseId optionally names the VM's private address (a leaseId from GET /v1/vms/{id}/private-ips) the public IP is NATed to; absent keeps the primary interface's address. The operation fails if the named private address already has a public IP, or if the guest's firewall would not pass traffic to it. reservedIpId optionally names one of the account's unattached Reserved IPs (GET /v1/vpcs/{id}/reserved-ips) to attach instead of drawing one from the pool: 404 if the account does not hold it, 409 if it is already attached. It is exempt from the account's PUBLIC_IP cap, which already counts it, but not from the VM's. Detaching it later keeps the reservation.
//
// Corresponds with POST /v1/vms/{id}/public-ips (the `AttachVmPublicIp` operationId).
AttachVmPublicIp(ctx context.Context, id string, params *AttachVmPublicIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVmPublicIp Detach a public IP from a virtual machine
//
// Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location. Refuses with a transitional 409 while THAT ADDRESS already has a release in flight — keyed on the address, not the VM.
//
// Corresponds with DELETE /v1/vms/{id}/public-ips/{publicIpId} (the `DetachVmPublicIp` operationId).
DetachVmPublicIp(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVmSshKeys List the SSH keys linked to a virtual machine
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vms/{id}/ssh-keys (the `ListVmSshKeys` operationId).
ListVmSshKeys(ctx context.Context, id string, params *ListVmSshKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVmSshKey Take an SSH key away from a virtual machine
//
// Does not delete the key; it stops being installed on this VM.
//
// Corresponds with DELETE /v1/vms/{id}/ssh-keys/{keyId} (the `DetachVmSshKey` operationId).
DetachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVmSshKey Make an SSH key usable by a virtual machine
//
// The key must belong to the token's own person — a key is never usable by an account at large. Use `GET /v1/ssh-keys` for the ids.
//
// Corresponds with PUT /v1/vms/{id}/ssh-keys/{keyId} (the `AttachVmSshKey` operationId).
AttachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveVmFromVip Take a VM out of a VIP's members
//
// Requires protected:network, and manage access to both the VM and the VIP's VPC. Withdraws the VM's declaration; the permits it no longer needs come off shortly after the operation completes, and traffic to the VIP stops reaching the VM. Refuses as bind does. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with DELETE /v1/vms/{id}/vips/{vipId} (the `RemoveVmFromVip` operationId).
RemoveVmFromVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddVmToVip Make a VM a member of a VIP
//
// Requires protected:network, and manage access to both the VM and the VIP's VPC. Declares the VM as a server that answers for the VIP's address and permits the VIP's traffic to it; the platform does not elect a holder, so the guest must configure the address itself. Declaring a VM that is already a member changes nothing. Refuses with 409 for a VIP that a Kubernetes cluster's LoadBalancer Service owns, a VM the platform manages, and a VIP with no VPC on record. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with POST /v1/vms/{id}/vips/{vipId} (the `AddVmToVip` operationId).
AddVmToVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVpcs List VPCs in the account
//
// Ordered by name, case-insensitively. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vpcs (the `ListVpcs` operationId).
ListVpcs(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpcWithBody Create a VPC
//
// Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
CreateVpcWithBody(ctx context.Context, params *CreateVpcParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpc Create a VPC
//
// Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
CreateVpc(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpc Delete a VPC
//
// Retracts the VPC and returns its range to the pool. Irreversible. Requires protected:network. Synchronous: returns 204. Refuses with 409 while a VM still holds a lease on its private network. The backend's typed blocker list is not forwarded, and its body carries no detail for the gateway to read, so the 409 names neither the VMs nor how many: the detail is this API's generic conflict sentence.
//
// Corresponds with DELETE /v1/vpcs/{id} (the `DeleteVpc` operationId).
DeleteVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpc Get a VPC by id
//
// Corresponds with GET /v1/vpcs/{id} (the `GetVpc` operationId).
GetVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVpcWithBody Rename a VPC
//
// Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
UpdateVpcWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVpc Rename a VPC
//
// Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
UpdateVpc(ctx context.Context, id string, body UpdateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVpcFirewallRules List firewall rules that apply to a VPC
//
// Corresponds with GET /v1/vpcs/{id}/firewall-rules (the `ListVpcFirewallRules` operationId).
ListVpcFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVpcReservedIps List the account's reserved public IPs
//
// Requires read:network. The account's reservations in address order, attached or idle; the VPC in the path is only the object the request is authorised on. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Corresponds with GET /v1/vpcs/{id}/reserved-ips (the `ListVpcReservedIps` operationId).
ListVpcReservedIps(ctx context.Context, id string, params *ListVpcReservedIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpcReservedIp Reserve a public IP
//
// Requires write:network. Must carry an Idempotency-Key header. Takes a free public address from the pool and holds it for the account until it is released; the address is not a parameter. Synchronous: returns 200 with the reservation. Refuses with 409 when no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key), which a reservation counts against whether or not it is attached. A retry with the same Idempotency-Key replays a 200 already returned; after a timeout or 5xx, or under a new key, it may reserve a second address, so list GET /v1/vpcs/{id}/reserved-ips first.
//
// Corresponds with POST /v1/vpcs/{id}/reserved-ips (the `CreateVpcReservedIp` operationId).
CreateVpcReservedIp(ctx context.Context, id string, params *CreateVpcReservedIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpcReservedIp Release a reserved public IP
//
// Requires protected:network. Returns the address to the pool. Synchronous: returns 204. Refuses with 409 while a VM or a VIP holds the address; detach it first. A retry after a lost answer is a 404, the address no longer being the account's.
//
// Corresponds with DELETE /v1/vpcs/{id}/reserved-ips/{publicIpId} (the `DeleteVpcReservedIp` operationId).
DeleteVpcReservedIp(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpcVip Reserve a VIP in a VPC
//
// Requires write:network. Must carry an Idempotency-Key header. Takes a free private address from the VPC's network; the address is not a parameter. Asynchronous: returns 202 with the operation to poll at Location; a succeeded operation's createdResource names the new VIP, whose id the other /v1/vpcs/{id}/vips routes take.
//
// Corresponds with POST /v1/vpcs/{id}/vips (the `CreateVpcVip` operationId).
CreateVpcVip(ctx context.Context, id string, params *CreateVpcVipParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpcVip Release a VIP
//
// Requires protected:network. Returns the private address to the VPC's network; it may be given to someone else. Refuses with 409 while the VIP has a public IP: detach it first. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId} (the `DeleteVpcVip` operationId).
DeleteVpcVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVpcVipFirewallRules List firewall rules that apply to a VIP
//
// The rules addressed to the VIP's public IP that name no VM.
//
// Corresponds with GET /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `ListVpcVipFirewallRules` operationId).
ListVpcVipFirewallRules(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpcVipFirewallRuleWithBody Add a firewall rule to a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
CreateVpcVipFirewallRuleWithBody(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpcVipFirewallRule Add a firewall rule to a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
CreateVpcVipFirewallRule(ctx context.Context, id string, vipId string, body CreateVpcVipFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpcVipFirewallRulesWithBody Remove several firewall rules from a VIP
//
// Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
DeleteVpcVipFirewallRulesWithBody(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpcVipFirewallRules Remove several firewall rules from a VIP
//
// Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
DeleteVpcVipFirewallRules(ctx context.Context, id string, vipId string, body DeleteVpcVipFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpcVipFirewallRule Remove a firewall rule from a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId} (the `DeleteVpcVipFirewallRule` operationId).
DeleteVpcVipFirewallRule(ctx context.Context, id string, vipId string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVpcVipFirewallRuleDescriptionWithBody Set the description of a VIP firewall rule
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
SetVpcVipFirewallRuleDescriptionWithBody(ctx context.Context, id string, vipId string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVpcVipFirewallRuleDescription Set the description of a VIP firewall rule
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
SetVpcVipFirewallRuleDescription(ctx context.Context, id string, vipId string, ruleId string, body SetVpcVipFirewallRuleDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVpcVipPublicIp Take a VIP's public IP off
//
// Requires protected:network. Returns the address to the pool. Synchronous: returns 200 with the VIP; a VIP with no public IP answers 200 unchanged. Refuses with 409 while firewall rules on the VIP remain (remove them with /v1/vpcs/{id}/vips/{vipId}/firewall-rules first), and for a VIP the platform manages.
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/public-ip (the `DetachVpcVipPublicIp` operationId).
DetachVpcVipPublicIp(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVpcVipPublicIp Give a VIP a public IP
//
// Requires protected:network. Must carry an Idempotency-Key header. Takes a free public address from the pool; the address is not a parameter. Synchronous: returns 200 with the VIP. Refuses with 409 when the VIP already has a public IP or no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key). If the answer to an attach is lost, a retry with the same Idempotency-Key replays the 200; under a new key it answers 409, so list GET /v1/vips and treat a VIP that now has a publicAddress as attached.
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/public-ip (the `AttachVpcVipPublicIp` operationId).
AttachVpcVipPublicIp(ctx context.Context, id string, vipId string, params *AttachVpcVipPublicIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddPlacementGroupMemberWithResponse ¶
func (c *ClientWithResponses) AddPlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*AddPlacementGroupMemberResponse, error)
AddPlacementGroupMemberWithResponse Add a VM to a placement group
Constrains where the VM is placed next; it does not move a running VM. Synchronous: returns 200 with the group as it stands. Idempotent, which is why it is a PUT: re-adding a VM that is already in THIS group answers 200 with the group unchanged, so a client whose first response was lost can safely resend. Refuses with 409 when the VM belongs to a DIFFERENT placement group, or when this group is at its member-count cap.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/placement-groups/{id}/members/{vmId} (the `AddPlacementGroupMember` operationId).
func (*ClientWithResponses) AddVmDiskWithBodyWithResponse ¶
func (c *ClientWithResponses) AddVmDiskWithBodyWithResponse(ctx context.Context, id string, params *AddVmDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVmDiskResponse, error)
AddVmDiskWithBodyWithResponse Attach a data disk to a virtual machine
Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
func (*ClientWithResponses) AddVmDiskWithResponse ¶
func (c *ClientWithResponses) AddVmDiskWithResponse(ctx context.Context, id string, params *AddVmDiskParams, body AddVmDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*AddVmDiskResponse, error)
AddVmDiskWithResponse Attach a data disk to a virtual machine
Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
func (*ClientWithResponses) AddVmToVipWithResponse ¶
func (c *ClientWithResponses) AddVmToVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*AddVmToVipResponse, error)
AddVmToVipWithResponse Make a VM a member of a VIP
Requires protected:network, and manage access to both the VM and the VIP's VPC. Declares the VM as a server that answers for the VIP's address and permits the VIP's traffic to it; the platform does not elect a holder, so the guest must configure the address itself. Declaring a VM that is already a member changes nothing. Refuses with 409 for a VIP that a Kubernetes cluster's LoadBalancer Service owns, a VM the platform manages, and a VIP with no VPC on record. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/vips/{vipId} (the `AddVmToVip` operationId).
func (*ClientWithResponses) ApplyVmPendingRestartWithResponse ¶
func (c *ClientWithResponses) ApplyVmPendingRestartWithResponse(ctx context.Context, id string, params *ApplyVmPendingRestartParams, reqEditors ...RequestEditorFn) (*ApplyVmPendingRestartResponse, error)
ApplyVmPendingRestartWithResponse Apply a pending configuration change by restarting the virtual machine
For a change (such as a resize) that takes effect only after a power cycle: shuts the guest down, then starts it again, as one operation. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/apply-pending-restart (the `ApplyVmPendingRestart` operationId).
func (*ClientWithResponses) AttachVmNetworkInterfaceWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachVmNetworkInterfaceWithBodyWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVmNetworkInterfaceResponse, error)
AttachVmNetworkInterfaceWithBodyWithResponse Attach a network interface to a virtual machine
Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
func (*ClientWithResponses) AttachVmNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) AttachVmNetworkInterfaceWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, body AttachVmNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVmNetworkInterfaceResponse, error)
AttachVmNetworkInterfaceWithResponse Attach a network interface to a virtual machine
Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
func (*ClientWithResponses) AttachVmPublicIpWithResponse ¶
func (c *ClientWithResponses) AttachVmPublicIpWithResponse(ctx context.Context, id string, params *AttachVmPublicIpParams, reqEditors ...RequestEditorFn) (*AttachVmPublicIpResponse, error)
AttachVmPublicIpWithResponse Attach a public IP to a virtual machine
Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the VM's public-IP cap (the PUBLIC_IPS_PER_VM key) or the account's (the PUBLIC_IP key), and with a transitional 409 while THIS VM already has an attach in flight — the guard is keyed on the VM, so a concurrent attach on another of the account's VMs is not refused. privateLeaseId optionally names the VM's private address (a leaseId from GET /v1/vms/{id}/private-ips) the public IP is NATed to; absent keeps the primary interface's address. The operation fails if the named private address already has a public IP, or if the guest's firewall would not pass traffic to it. reservedIpId optionally names one of the account's unattached Reserved IPs (GET /v1/vpcs/{id}/reserved-ips) to attach instead of drawing one from the pool: 404 if the account does not hold it, 409 if it is already attached. It is exempt from the account's PUBLIC_IP cap, which already counts it, but not from the VM's. Detaching it later keeps the reservation.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/public-ips (the `AttachVmPublicIp` operationId).
func (*ClientWithResponses) AttachVmSshKeyWithResponse ¶
func (c *ClientWithResponses) AttachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*AttachVmSshKeyResponse, error)
AttachVmSshKeyWithResponse Make an SSH key usable by a virtual machine
The key must belong to the token's own person — a key is never usable by an account at large. Use `GET /v1/ssh-keys` for the ids.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/ssh-keys/{keyId} (the `AttachVmSshKey` operationId).
func (*ClientWithResponses) AttachVpcVipPublicIpWithResponse ¶
func (c *ClientWithResponses) AttachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, params *AttachVpcVipPublicIpParams, reqEditors ...RequestEditorFn) (*AttachVpcVipPublicIpResponse, error)
AttachVpcVipPublicIpWithResponse Give a VIP a public IP
Requires protected:network. Must carry an Idempotency-Key header. Takes a free public address from the pool; the address is not a parameter. Synchronous: returns 200 with the VIP. Refuses with 409 when the VIP already has a public IP or no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key). If the answer to an attach is lost, a retry with the same Idempotency-Key replays the 200; under a new key it answers 409, so list GET /v1/vips and treat a VIP that now has a publicAddress as attached.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/public-ip (the `AttachVpcVipPublicIp` operationId).
func (*ClientWithResponses) BackupVmWithBodyWithResponse ¶
func (c *ClientWithResponses) BackupVmWithBodyWithResponse(ctx context.Context, id string, params *BackupVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupVmResponse, error)
BackupVmWithBodyWithResponse Back a virtual machine up now
An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
func (*ClientWithResponses) BackupVmWithResponse ¶
func (c *ClientWithResponses) BackupVmWithResponse(ctx context.Context, id string, params *BackupVmParams, body BackupVmJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupVmResponse, error)
BackupVmWithResponse Back a virtual machine up now
An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
func (*ClientWithResponses) CancelMemberInvitationWithResponse ¶
func (c *ClientWithResponses) CancelMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*CancelMemberInvitationResponse, error)
CancelMemberInvitationWithResponse Cancel a pending invitation
Withdraws an invitation that has not been accepted yet. Pending invitations only: 409 means the invitation was already accepted. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/members/{userId}/actions/cancel-invitation (the `CancelMemberInvitation` operationId).
func (*ClientWithResponses) CancelOperationWithResponse ¶
func (c *ClientWithResponses) CancelOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CancelOperationResponse, error)
CancelOperationWithResponse Request cancellation of an operation
202 when the request was accepted; the operation reaches its terminal state later.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/operations/{id}/cancel (the `CancelOperation` operationId).
func (*ClientWithResponses) CreateAiSandboxWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAiSandboxWithBodyWithResponse(ctx context.Context, params *CreateAiSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAiSandboxResponse, error)
CreateAiSandboxWithBodyWithResponse Create a sandbox
Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
func (*ClientWithResponses) CreateAiSandboxWithResponse ¶
func (c *ClientWithResponses) CreateAiSandboxWithResponse(ctx context.Context, params *CreateAiSandboxParams, body CreateAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAiSandboxResponse, error)
CreateAiSandboxWithResponse Create a sandbox
Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
func (*ClientWithResponses) CreateBucketKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBucketKeyWithBodyWithResponse(ctx context.Context, params *CreateBucketKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBucketKeyResponse, error)
CreateBucketKeyWithBodyWithResponse Create an object storage access key
Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
func (*ClientWithResponses) CreateBucketKeyWithResponse ¶
func (c *ClientWithResponses) CreateBucketKeyWithResponse(ctx context.Context, params *CreateBucketKeyParams, body CreateBucketKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBucketKeyResponse, error)
CreateBucketKeyWithResponse Create an object storage access key
Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
func (*ClientWithResponses) CreateBucketWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBucketWithBodyWithResponse(ctx context.Context, params *CreateBucketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBucketResponse, error)
CreateBucketWithBodyWithResponse Order a new object storage bucket
Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
func (*ClientWithResponses) CreateBucketWithResponse ¶
func (c *ClientWithResponses) CreateBucketWithResponse(ctx context.Context, params *CreateBucketParams, body CreateBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBucketResponse, error)
CreateBucketWithResponse Order a new object storage bucket
Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
func (*ClientWithResponses) CreateCardCheckoutWithResponse ¶
func (c *ClientWithResponses) CreateCardCheckoutWithResponse(ctx context.Context, params *CreateCardCheckoutParams, reqEditors ...RequestEditorFn) (*CreateCardCheckoutResponse, error)
CreateCardCheckoutWithResponse Start a card capture checkout
Nothing is charged: the checkout tokenises a card at zero amount. Must carry an Idempotency-Key header; use a fresh key for each checkout attempt. Returns the checkoutId to link or poll and the entityId the payment provider's own form is mounted with — without it the capture cannot be completed.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cards/checkout (the `CreateCardCheckout` operationId).
func (*ClientWithResponses) CreateCardLinkWithResponse ¶
func (c *ClientWithResponses) CreateCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*CreateCardLinkResponse, error)
CreateCardLinkWithResponse Link the card a completed checkout captured
Idempotent per checkout: a repeat returns the same link's state rather than a second card.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cards/links/{checkoutId} (the `CreateCardLink` operationId).
func (*ClientWithResponses) CreateElevationRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateElevationRequestWithBodyWithResponse(ctx context.Context, params *CreateElevationRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElevationRequestResponse, error)
CreateElevationRequestWithBodyWithResponse Request to pair this client
Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
func (*ClientWithResponses) CreateElevationRequestWithResponse ¶
func (c *ClientWithResponses) CreateElevationRequestWithResponse(ctx context.Context, params *CreateElevationRequestParams, body CreateElevationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElevationRequestResponse, error)
CreateElevationRequestWithResponse Request to pair this client
Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
func (*ClientWithResponses) CreateKubernetesClusterTokenWithResponse ¶
func (c *ClientWithResponses) CreateKubernetesClusterTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterTokenResponse, error)
CreateKubernetesClusterTokenWithResponse Get a 15-minute cluster token
Trades your API token for a Kubernetes cluster token, answered in the shape kubectl's exec plugin reads. The token has cluster-admin rights on that one cluster and expires after 15 minutes. Needs protected:compute and a paired elevation secret in X-CloudAfrica-Elevation. Only an account owner or admin's own personal token can mint; a token without manage rights on the account is answered 403, any other caller 404. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet. An Idempotency-Key on this call replays an empty 200, not the token: mint again without one.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/token (the `CreateKubernetesClusterToken` operationId).
func (*ClientWithResponses) CreateKubernetesClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateKubernetesClusterWithBodyWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterResponse, error)
CreateKubernetesClusterWithBodyWithResponse Create a Kubernetes cluster
Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
func (*ClientWithResponses) CreateKubernetesClusterWithResponse ¶
func (c *ClientWithResponses) CreateKubernetesClusterWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, body CreateKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterResponse, error)
CreateKubernetesClusterWithResponse Create a Kubernetes cluster
Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
func (*ClientWithResponses) CreateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMemberResponse, error)
CreateMemberWithBodyWithResponse Invite someone to the account's team
The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/members (the `CreateMember` operationId).
func (*ClientWithResponses) CreateMemberWithResponse ¶
func (c *ClientWithResponses) CreateMemberWithResponse(ctx context.Context, body CreateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMemberResponse, error)
CreateMemberWithResponse Invite someone to the account's team
The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/members (the `CreateMember` operationId).
func (*ClientWithResponses) CreateObjectDownloadUrlWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateObjectDownloadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObjectDownloadUrlResponse, error)
CreateObjectDownloadUrlWithBodyWithResponse Mint a short-lived URL that downloads one object
Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
func (*ClientWithResponses) CreateObjectDownloadUrlWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateObjectDownloadUrlWithResponse(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObjectDownloadUrlResponse, error)
CreateObjectDownloadUrlWithResponse Mint a short-lived URL that downloads one object
Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
func (*ClientWithResponses) CreateObjectUploadUrlWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateObjectUploadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObjectUploadUrlResponse, error)
CreateObjectUploadUrlWithBodyWithResponse Mint a short-lived URL that uploads one new object
Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
func (*ClientWithResponses) CreateObjectUploadUrlWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateObjectUploadUrlWithResponse(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObjectUploadUrlResponse, error)
CreateObjectUploadUrlWithResponse Mint a short-lived URL that uploads one new object
Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
func (*ClientWithResponses) CreatePlacementGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePlacementGroupWithBodyWithResponse(ctx context.Context, params *CreatePlacementGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlacementGroupResponse, error)
CreatePlacementGroupWithBodyWithResponse Create a placement group
Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
func (*ClientWithResponses) CreatePlacementGroupWithResponse ¶
func (c *ClientWithResponses) CreatePlacementGroupWithResponse(ctx context.Context, params *CreatePlacementGroupParams, body CreatePlacementGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePlacementGroupResponse, error)
CreatePlacementGroupWithResponse Create a placement group
Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse Create a project
Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithResponse Create a project
Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateSshKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSshKeyWithBodyWithResponse(ctx context.Context, params *CreateSshKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
CreateSshKeyWithBodyWithResponse Register an SSH public key
The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
func (*ClientWithResponses) CreateSshKeyWithResponse ¶
func (c *ClientWithResponses) CreateSshKeyWithResponse(ctx context.Context, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
CreateSshKeyWithResponse Register an SSH public key
The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
func (*ClientWithResponses) CreateSupportTicketReplyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSupportTicketReplyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportTicketReplyResponse, error)
CreateSupportTicketReplyWithBodyWithResponse Reply on a support ticket
Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
func (*ClientWithResponses) CreateSupportTicketReplyWithResponse ¶
func (c *ClientWithResponses) CreateSupportTicketReplyWithResponse(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportTicketReplyResponse, error)
CreateSupportTicketReplyWithResponse Reply on a support ticket
Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
func (*ClientWithResponses) CreateSupportTicketWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSupportTicketWithBodyWithResponse(ctx context.Context, params *CreateSupportTicketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportTicketResponse, error)
CreateSupportTicketWithBodyWithResponse Raise a support ticket
Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
func (*ClientWithResponses) CreateSupportTicketWithResponse ¶
func (c *ClientWithResponses) CreateSupportTicketWithResponse(ctx context.Context, params *CreateSupportTicketParams, body CreateSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportTicketResponse, error)
CreateSupportTicketWithResponse Raise a support ticket
Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
func (*ClientWithResponses) CreateVmFirewallRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmFirewallRuleResponse, error)
CreateVmFirewallRuleWithBodyWithResponse Add a firewall rule to a virtual machine
Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
func (*ClientWithResponses) CreateVmFirewallRuleWithResponse ¶
func (c *ClientWithResponses) CreateVmFirewallRuleWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, body CreateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmFirewallRuleResponse, error)
CreateVmFirewallRuleWithResponse Add a firewall rule to a virtual machine
Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
func (*ClientWithResponses) CreateVmPrivateIpWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVmPrivateIpWithBodyWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmPrivateIpResponse, error)
CreateVmPrivateIpWithBodyWithResponse Add a private IP address to a virtual machine's network interface
Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
func (*ClientWithResponses) CreateVmPrivateIpWithResponse ¶
func (c *ClientWithResponses) CreateVmPrivateIpWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, body CreateVmPrivateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmPrivateIpResponse, error)
CreateVmPrivateIpWithResponse Add a private IP address to a virtual machine's network interface
Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
func (*ClientWithResponses) CreateVmWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVmWithBodyWithResponse(ctx context.Context, params *CreateVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmResponse, error)
CreateVmWithBodyWithResponse Create a virtual machine
Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms (the `CreateVm` operationId).
func (*ClientWithResponses) CreateVmWithResponse ¶
func (c *ClientWithResponses) CreateVmWithResponse(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmResponse, error)
CreateVmWithResponse Create a virtual machine
Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms (the `CreateVm` operationId).
func (*ClientWithResponses) CreateVpcReservedIpWithResponse ¶
func (c *ClientWithResponses) CreateVpcReservedIpWithResponse(ctx context.Context, id string, params *CreateVpcReservedIpParams, reqEditors ...RequestEditorFn) (*CreateVpcReservedIpResponse, error)
CreateVpcReservedIpWithResponse Reserve a public IP
Requires write:network. Must carry an Idempotency-Key header. Takes a free public address from the pool and holds it for the account until it is released; the address is not a parameter. Synchronous: returns 200 with the reservation. Refuses with 409 when no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key), which a reservation counts against whether or not it is attached. A retry with the same Idempotency-Key replays a 200 already returned; after a timeout or 5xx, or under a new key, it may reserve a second address, so list GET /v1/vpcs/{id}/reserved-ips first.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/reserved-ips (the `CreateVpcReservedIp` operationId).
func (*ClientWithResponses) CreateVpcVipFirewallRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVpcVipFirewallRuleWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpcVipFirewallRuleResponse, error)
CreateVpcVipFirewallRuleWithBodyWithResponse Add a firewall rule to a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
func (*ClientWithResponses) CreateVpcVipFirewallRuleWithResponse ¶
func (c *ClientWithResponses) CreateVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, body CreateVpcVipFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpcVipFirewallRuleResponse, error)
CreateVpcVipFirewallRuleWithResponse Add a firewall rule to a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
func (*ClientWithResponses) CreateVpcVipWithResponse ¶
func (c *ClientWithResponses) CreateVpcVipWithResponse(ctx context.Context, id string, params *CreateVpcVipParams, reqEditors ...RequestEditorFn) (*CreateVpcVipResponse, error)
CreateVpcVipWithResponse Reserve a VIP in a VPC
Requires write:network. Must carry an Idempotency-Key header. Takes a free private address from the VPC's network; the address is not a parameter. Asynchronous: returns 202 with the operation to poll at Location; a succeeded operation's createdResource names the new VIP, whose id the other /v1/vpcs/{id}/vips routes take.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips (the `CreateVpcVip` operationId).
func (*ClientWithResponses) CreateVpcWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVpcWithBodyWithResponse(ctx context.Context, params *CreateVpcParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpcResponse, error)
CreateVpcWithBodyWithResponse Create a VPC
Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
func (*ClientWithResponses) CreateVpcWithResponse ¶
func (c *ClientWithResponses) CreateVpcWithResponse(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpcResponse, error)
CreateVpcWithResponse Create a VPC
Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
func (*ClientWithResponses) DeleteAiSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxTemplateResponse, error)
DeleteAiSandboxTemplateWithResponse Delete a sandbox template
Removes the template and its stored image. Sandboxes already started from it are unaffected. Refuses with 409 template_building while it is still being saved.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ai/sandboxes/templates/{templateId} (the `DeleteAiSandboxTemplate` operationId).
func (*ClientWithResponses) DeleteAiSandboxWithResponse ¶
func (c *ClientWithResponses) DeleteAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxResponse, error)
DeleteAiSandboxWithResponse Delete a sandbox
Deletes the sandbox and, if paused, its snapshot.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ai/sandboxes/{sandboxId} (the `DeleteAiSandbox` operationId).
func (*ClientWithResponses) DeleteBucketKeyWithResponse ¶
func (c *ClientWithResponses) DeleteBucketKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteBucketKeyResponse, error)
DeleteBucketKeyWithResponse Delete an object storage access key
Detaches the key from every bucket, then removes it. The account's master key cannot be deleted — that would orphan every bucket it owns. Requires protected:s3. Returns 204.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/bucket-keys/{keyId} (the `DeleteBucketKey` operationId).
func (*ClientWithResponses) DeleteBucketWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteBucketResponse, error)
DeleteBucketWithBodyWithResponse Delete a bucket and everything in it
Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
func (*ClientWithResponses) DeleteBucketWithResponse ¶
func (c *ClientWithResponses) DeleteBucketWithResponse(ctx context.Context, id string, body DeleteBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteBucketResponse, error)
DeleteBucketWithResponse Delete a bucket and everything in it
Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
func (*ClientWithResponses) DeleteCardWithResponse ¶
func (c *ClientWithResponses) DeleteCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCardResponse, error)
DeleteCardWithResponse Remove a saved card
`id` is the card id `GET /v1/cards` returns.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/cards/{id} (the `DeleteCard` operationId).
func (*ClientWithResponses) DeleteKubernetesClusterWithResponse ¶
func (c *ClientWithResponses) DeleteKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteKubernetesClusterResponse, error)
DeleteKubernetesClusterWithResponse Delete a Kubernetes cluster
Destroys the cluster and its workers; this cannot be undone. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 again while the destroy is already running; 409 when the cluster's state does not allow it.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/kubernetes/clusters/{id} (the `DeleteKubernetesCluster` operationId).
func (*ClientWithResponses) DeleteMemberWithResponse ¶
func (c *ClientWithResponses) DeleteMemberWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteMemberResponse, error)
DeleteMemberWithResponse Remove a member from the account's team
Also revokes that person's personal API tokens for this account, so a credential they already hold stops working here — removing the membership alone would leave a token that keeps confirming the account. A repeat is 404: they are no longer a member. `userId` is the id `GET /v1/members` returns. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/members/{userId} (the `DeleteMember` operationId).
func (*ClientWithResponses) DeletePlacementGroupWithResponse ¶
func (c *ClientWithResponses) DeletePlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlacementGroupResponse, error)
DeletePlacementGroupWithResponse Delete a placement group
Releases the group; its members stay where they are, since a group only ever constrained future placement.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/placement-groups/{id} (the `DeletePlacementGroup` operationId).
func (*ClientWithResponses) DeleteProjectWithResponse ¶
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse Delete a project
Only an empty project that is not the account's default and not managed by the platform can be deleted; anything else answers 409, so move its resources out first. Only an account admin's personal token can delete a project: every account-service token is refused with 403.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{id} (the `DeleteProject` operationId).
func (*ClientWithResponses) DeleteSshKeyWithResponse ¶
func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
DeleteSshKeyWithResponse Delete an SSH key
Refused with 409 while the key is still linked to a virtual machine — unlink it from them first, then delete it.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ssh-keys/{id} (the `DeleteSshKey` operationId).
func (*ClientWithResponses) DeleteVmBackupPolicyWithResponse ¶
func (c *ClientWithResponses) DeleteVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmBackupPolicyResponse, error)
DeleteVmBackupPolicyWithResponse Remove a virtual machine's backup policy
Stops future scheduled backups. Nothing is deleted: every existing backup stays where it is. 404 when the VM had no policy.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/backup-policy (the `DeleteVmBackupPolicy` operationId).
func (*ClientWithResponses) DeleteVmBackupWithResponse ¶
func (c *ClientWithResponses) DeleteVmBackupWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*DeleteVmBackupResponse, error)
DeleteVmBackupWithResponse Forget one backup of a virtual machine
Requires protected:backup. Permanently deletes the named backup's archive. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/backups/{startedAt} (the `DeleteVmBackup` operationId).
func (*ClientWithResponses) DeleteVmFirewallRuleWithResponse ¶
func (c *ClientWithResponses) DeleteVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRuleResponse, error)
DeleteVmFirewallRuleWithResponse Remove a firewall rule from a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/firewall-rules/{ruleId} (the `DeleteVmFirewallRule` operationId).
func (*ClientWithResponses) DeleteVmFirewallRulesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVmFirewallRulesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRulesResponse, error)
DeleteVmFirewallRulesWithBodyWithResponse Remove several firewall rules from a virtual machine
Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
func (*ClientWithResponses) DeleteVmFirewallRulesWithResponse ¶
func (c *ClientWithResponses) DeleteVmFirewallRulesWithResponse(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRulesResponse, error)
DeleteVmFirewallRulesWithResponse Remove several firewall rules from a virtual machine
Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
func (*ClientWithResponses) DeleteVmWithResponse ¶
func (c *ClientWithResponses) DeleteVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmResponse, error)
DeleteVmWithResponse Delete a virtual machine
Destroys the VM and its disks. Irreversible. Requires protected:compute. The VM must be stopped: a running VM is refused with 409. Asynchronous: returns 202 with the operation to poll.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id} (the `DeleteVm` operationId).
func (*ClientWithResponses) DeleteVpcReservedIpWithResponse ¶
func (c *ClientWithResponses) DeleteVpcReservedIpWithResponse(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*DeleteVpcReservedIpResponse, error)
DeleteVpcReservedIpWithResponse Release a reserved public IP
Requires protected:network. Returns the address to the pool. Synchronous: returns 204. Refuses with 409 while a VM or a VIP holds the address; detach it first. A retry after a lost answer is a 404, the address no longer being the account's.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vpcs/{id}/reserved-ips/{publicIpId} (the `DeleteVpcReservedIp` operationId).
func (*ClientWithResponses) DeleteVpcVipFirewallRuleWithResponse ¶
func (c *ClientWithResponses) DeleteVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRuleResponse, error)
DeleteVpcVipFirewallRuleWithResponse Remove a firewall rule from a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId} (the `DeleteVpcVipFirewallRule` operationId).
func (*ClientWithResponses) DeleteVpcVipFirewallRulesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVpcVipFirewallRulesWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRulesResponse, error)
DeleteVpcVipFirewallRulesWithBodyWithResponse Remove several firewall rules from a VIP
Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
func (*ClientWithResponses) DeleteVpcVipFirewallRulesWithResponse ¶
func (c *ClientWithResponses) DeleteVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, body DeleteVpcVipFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRulesResponse, error)
DeleteVpcVipFirewallRulesWithResponse Remove several firewall rules from a VIP
Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
func (*ClientWithResponses) DeleteVpcVipWithResponse ¶
func (c *ClientWithResponses) DeleteVpcVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DeleteVpcVipResponse, error)
DeleteVpcVipWithResponse Release a VIP
Requires protected:network. Returns the private address to the VPC's network; it may be given to someone else. Refuses with 409 while the VIP has a public IP: detach it first. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId} (the `DeleteVpcVip` operationId).
func (*ClientWithResponses) DeleteVpcWithResponse ¶
func (c *ClientWithResponses) DeleteVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVpcResponse, error)
DeleteVpcWithResponse Delete a VPC
Retracts the VPC and returns its range to the pool. Irreversible. Requires protected:network. Synchronous: returns 204. Refuses with 409 while a VM still holds a lease on its private network. The backend's typed blocker list is not forwarded, and its body carries no detail for the gateway to read, so the 409 names neither the VMs nor how many: the detail is this API's generic conflict sentence.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vpcs/{id} (the `DeleteVpc` operationId).
func (*ClientWithResponses) DetachVmNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) DetachVmNetworkInterfaceWithResponse(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*DetachVmNetworkInterfaceResponse, error)
DetachVmNetworkInterfaceWithResponse Detach a network interface from a virtual machine
Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/network-interfaces/{nicId} (the `DetachVmNetworkInterface` operationId).
func (*ClientWithResponses) DetachVmPublicIpWithResponse ¶
func (c *ClientWithResponses) DetachVmPublicIpWithResponse(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*DetachVmPublicIpResponse, error)
DetachVmPublicIpWithResponse Detach a public IP from a virtual machine
Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location. Refuses with a transitional 409 while THAT ADDRESS already has a release in flight — keyed on the address, not the VM.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/public-ips/{publicIpId} (the `DetachVmPublicIp` operationId).
func (*ClientWithResponses) DetachVmSshKeyWithResponse ¶
func (c *ClientWithResponses) DetachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*DetachVmSshKeyResponse, error)
DetachVmSshKeyWithResponse Take an SSH key away from a virtual machine
Does not delete the key; it stops being installed on this VM.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/ssh-keys/{keyId} (the `DetachVmSshKey` operationId).
func (*ClientWithResponses) DetachVpcVipPublicIpWithResponse ¶
func (c *ClientWithResponses) DetachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DetachVpcVipPublicIpResponse, error)
DetachVpcVipPublicIpWithResponse Take a VIP's public IP off
Requires protected:network. Returns the address to the pool. Synchronous: returns 200 with the VIP; a VIP with no public IP answers 200 unchanged. Refuses with 409 while firewall rules on the VIP remain (remove them with /v1/vpcs/{id}/vips/{vipId}/firewall-rules first), and for a VIP the platform manages.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/public-ip (the `DetachVpcVipPublicIp` operationId).
func (*ClientWithResponses) ExecAiSandboxWithBodyWithResponse ¶
func (c *ClientWithResponses) ExecAiSandboxWithBodyWithResponse(ctx context.Context, sandboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecAiSandboxResponse, error)
ExecAiSandboxWithBodyWithResponse Run a command in a sandbox
Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
func (*ClientWithResponses) ExecAiSandboxWithResponse ¶
func (c *ClientWithResponses) ExecAiSandboxWithResponse(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecAiSandboxResponse, error)
ExecAiSandboxWithResponse Run a command in a sandbox
Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
func (*ClientWithResponses) ForceStopVmWithResponse ¶
func (c *ClientWithResponses) ForceStopVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ForceStopVmResponse, error)
ForceStopVmWithResponse Force a virtual machine off
Cuts power without asking the guest; unflushed writes may be lost. Asynchronous: returns 202 with the operation to poll.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/force-stop (the `ForceStopVm` operationId).
func (*ClientWithResponses) GetAccountDeletedVmBackupRetentionWithResponse ¶
func (c *ClientWithResponses) GetAccountDeletedVmBackupRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountDeletedVmBackupRetentionResponse, error)
GetAccountDeletedVmBackupRetentionWithResponse How long a deleted virtual machine's newest backup is kept
A live platform value, not a constant: read it here rather than hardcoding it. 0 means the newest backup is removed on the next sweep after the VM is deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/deleted-vm-backup-retention (the `GetAccountDeletedVmBackupRetention` operationId).
func (*ClientWithResponses) GetAccountLimitsWithResponse ¶
func (c *ClientWithResponses) GetAccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountLimitsResponse, error)
GetAccountLimitsWithResponse List the account's limits
Every limit that applies to the account, with current usage where it has one. Readable by any token of the account; it needs no scope.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/limits (the `GetAccountLimits` operationId).
func (*ClientWithResponses) GetAccountWithResponse ¶
func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
GetAccountWithResponse Introspect the calling token + account
The account this API token is bound to, the token's active scopes, and the remaining rate-limit budget.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account (the `GetAccount` operationId).
func (*ClientWithResponses) GetAiSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) GetAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetAiSandboxTemplateResponse, error)
GetAiSandboxTemplateWithResponse Get a sandbox template
A FAILED template is readable by id so a save can be seen to have failed.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/sandboxes/templates/{templateId} (the `GetAiSandboxTemplate` operationId).
func (*ClientWithResponses) GetAiSandboxWithResponse ¶
func (c *ClientWithResponses) GetAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*GetAiSandboxResponse, error)
GetAiSandboxWithResponse Get a sandbox
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/sandboxes/{sandboxId} (the `GetAiSandbox` operationId).
func (*ClientWithResponses) GetBillingAccrualWithResponse ¶
func (c *ClientWithResponses) GetBillingAccrualWithResponse(ctx context.Context, params *GetBillingAccrualParams, reqEditors ...RequestEditorFn) (*GetBillingAccrualResponse, error)
GetBillingAccrualWithResponse Get the account's month-to-date accrual
A reading from the usage ledger, not an invoice: one total for the whole account across every billed resource type (VMs, backups, buckets, VPCs), never for one type. `total` is in rands. Optionally as-of a past instant; the window is always clamped to the meter's coverage frontier.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/billing/accrual (the `GetBillingAccrual` operationId).
func (*ClientWithResponses) GetBillingBalanceWithResponse ¶
func (c *ClientWithResponses) GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)
GetBillingBalanceWithResponse Get the account's outstanding balance
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/billing/balance (the `GetBillingBalance` operationId).
func (*ClientWithResponses) GetBillingDetailsWithResponse ¶
func (c *ClientWithResponses) GetBillingDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
GetBillingDetailsWithResponse Get the account's billing details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/billing/details (the `GetBillingDetails` operationId).
func (*ClientWithResponses) GetBucketCorsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) GetBucketCorsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketCorsResponse, error)
GetBucketCorsWithResponse A bucket's CORS rules
Read live from the storage cluster.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/cors (the `GetBucketCors` operationId).
func (*ClientWithResponses) GetBucketLifecycleWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) GetBucketLifecycleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketLifecycleResponse, error)
GetBucketLifecycleWithResponse A bucket's lifecycle rules
Read live from the storage cluster. `unsupported` means the bucket also holds rules this API cannot represent.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/lifecycle (the `GetBucketLifecycle` operationId).
func (*ClientWithResponses) GetBucketObjectMetadataWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) GetBucketObjectMetadataWithResponse(ctx context.Context, id string, params *GetBucketObjectMetadataParams, reqEditors ...RequestEditorFn) (*GetBucketObjectMetadataResponse, error)
GetBucketObjectMetadataWithResponse Get one object's metadata, tags and retention
Reads the current version's content headers, user metadata, tags and object-lock retention. 404 for a missing key, and for an object whose current version is a delete marker.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/objects/metadata (the `GetBucketObjectMetadata` operationId).
func (*ClientWithResponses) GetBucketProtectionWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) GetBucketProtectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketProtectionResponse, error)
GetBucketProtectionWithResponse A bucket's object lock and default encryption
Read-only: object lock is chosen when the bucket is ordered.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/protection (the `GetBucketProtection` operationId).
func (*ClientWithResponses) GetBucketUsageWithResponse ¶
func (c *ClientWithResponses) GetBucketUsageWithResponse(ctx context.Context, id string, params *GetBucketUsageParams, reqEditors ...RequestEditorFn) (*GetBucketUsageResponse, error)
GetBucketUsageWithResponse A bucket's storage usage and traffic over a window
Not the billing basis — egress is billed differently. See the field docs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/usage (the `GetBucketUsage` operationId).
func (*ClientWithResponses) GetBucketVersioningWithResponse ¶
func (c *ClientWithResponses) GetBucketVersioningWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketVersioningResponse, error)
GetBucketVersioningWithResponse A bucket's current versioning state
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/versioning (the `GetBucketVersioning` operationId).
func (*ClientWithResponses) GetBucketWithResponse ¶
func (c *ClientWithResponses) GetBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketResponse, error)
GetBucketWithResponse Get an object storage bucket
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id} (the `GetBucket` operationId).
func (*ClientWithResponses) GetCardLinkWithResponse ¶
func (c *ClientWithResponses) GetCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*GetCardLinkResponse, error)
GetCardLinkWithResponse Poll a card link
Requires `write:billing`: the backend gates this read on the account's manage tier, so the scope is a ceiling and a read-only token is refused. Not a write — it spends the read rate-limit bucket.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/cards/links/{checkoutId} (the `GetCardLink` operationId).
func (*ClientWithResponses) GetKubernetesClusterKubeconfigWithResponse ¶
func (c *ClientWithResponses) GetKubernetesClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterKubeconfigResponse, error)
GetKubernetesClusterKubeconfigWithResponse Download a cluster's kubeconfig
A kubeconfig that logs in with your API token: it holds no credential. It reads the token, and the paired elevation secret that cluster access needs, from the two environment variables its exec entry names. Only an account owner or admin can use it. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig (the `GetKubernetesClusterKubeconfig` operationId).
func (*ClientWithResponses) GetKubernetesClusterManagedVpnKubeconfigWithResponse ¶
func (c *ClientWithResponses) GetKubernetesClusterManagedVpnKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterManagedVpnKubeconfigResponse, error)
GetKubernetesClusterManagedVpnKubeconfigWithResponse Download a cluster's kubeconfig for Managed VPN
The same kubeconfig, pointed at the cluster's address inside the Managed VPN. 404 also while Managed VPN is off for the account or none of its networks has an active gateway; 409 when the cluster's address cannot be routed over the VPN.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig/managed-vpn (the `GetKubernetesClusterManagedVpnKubeconfig` operationId).
func (*ClientWithResponses) GetKubernetesClusterWithResponse ¶
func (c *ClientWithResponses) GetKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResponse, error)
GetKubernetesClusterWithResponse Get a Kubernetes cluster
One cluster and its live workers.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/kubernetes/clusters/{id} (the `GetKubernetesCluster` operationId).
func (*ClientWithResponses) GetKubernetesNodeMetricWithResponse ¶
func (c *ClientWithResponses) GetKubernetesNodeMetricWithResponse(ctx context.Context, id string, vmId string, metric string, params *GetKubernetesNodeMetricParams, reqEditors ...RequestEditorFn) (*GetKubernetesNodeMetricResponse, error)
GetKubernetesNodeMetricWithResponse Get one worker's CPU or memory series
`metric` is `cpu` (percent) or `memory` (bytes). `range` is one of 15m, 1h, 2h, 6h, 24h, 7d, 30d; 2h when absent. `vmId` is a worker's `vmId` from GET /v1/kubernetes/clusters/{id}. 200 with `unavailable` true when the series cannot be read now; 400 for a metric or range outside those lists; 404 for an unknown cluster or a worker that is not this cluster's.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/kubernetes/clusters/{id}/nodes/{vmId}/metrics/{metric} (the `GetKubernetesNodeMetric` operationId).
func (*ClientWithResponses) GetMeWithResponse ¶
func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
GetMeWithResponse Introspect the calling token's identity
The calling token's own identity — principal kind, subject, name and scopes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/me (the `GetMe` operationId).
func (*ClientWithResponses) GetOperationWithResponse ¶
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
GetOperationWithResponse Get an operation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/operations/{id} (the `GetOperation` operationId).
func (*ClientWithResponses) GetPlacementFeasibilityWithResponse ¶
func (c *ClientWithResponses) GetPlacementFeasibilityWithResponse(ctx context.Context, params *GetPlacementFeasibilityParams, reqEditors ...RequestEditorFn) (*GetPlacementFeasibilityResponse, error)
GetPlacementFeasibilityWithResponse Check whether a datacenter can take a VM shape
Answers how many of `count` VMs of this shape would be placed in the datacenter, optionally joining a placement group. Read-only: nothing is reserved. `count` defaults to 1 and the answer never exceeds it; the platform may clamp a large `count`, which the response's `requested` reports. `extraDisksGib` is the TOTAL of the extra disks a create would request, not one disk, and defaults to 0.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/placement/feasibility (the `GetPlacementFeasibility` operationId).
func (*ClientWithResponses) GetPlacementGroupWithResponse ¶
func (c *ClientWithResponses) GetPlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlacementGroupResponse, error)
GetPlacementGroupWithResponse Get a placement group by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/placement-groups/{id} (the `GetPlacementGroup` operationId).
func (*ClientWithResponses) GetProjectWithResponse ¶
func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
GetProjectWithResponse Get a project
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{id} (the `GetProject` operationId).
func (*ClientWithResponses) GetSupportTicketAttachmentWithResponse ¶
func (c *ClientWithResponses) GetSupportTicketAttachmentWithResponse(ctx context.Context, id string, attachmentId string, reqEditors ...RequestEditorFn) (*GetSupportTicketAttachmentResponse, error)
GetSupportTicketAttachmentWithResponse Download a ticket attachment
The attachment's bytes, always served as an opaque download. 404 if the ticket has no such attachment among those the caller can see. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/support/tickets/{id}/attachments/{attachmentId} (the `GetSupportTicketAttachment` operationId).
func (*ClientWithResponses) GetSupportTicketWithResponse ¶
func (c *ClientWithResponses) GetSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSupportTicketResponse, error)
GetSupportTicketWithResponse Get a support ticket and its conversation
The ticket, its original description and its visible conversation, oldest first. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/support/tickets/{id} (the `GetSupportTicket` operationId).
func (*ClientWithResponses) GetVmBackupPolicyWithResponse ¶
func (c *ClientWithResponses) GetVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmBackupPolicyResponse, error)
GetVmBackupPolicyWithResponse Get a virtual machine's backup policy
404 for either an unknown VM or a VM with no policy — absence is the status, not a policy with empty fields.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/backup-policy (the `GetVmBackupPolicy` operationId).
func (*ClientWithResponses) GetVmWithResponse ¶
func (c *ClientWithResponses) GetVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmResponse, error)
GetVmWithResponse Get a virtual machine by id
Get one virtual machine by its id, with its current state. Use this when you already hold the id, from listVms or an earlier call. It cannot look a VM up by name: to find an id from a name, call listVms with `slug`. A 404 means no VM of that id in this account.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id} (the `GetVm` operationId).
func (*ClientWithResponses) GetVpcWithResponse ¶
func (c *ClientWithResponses) GetVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVpcResponse, error)
GetVpcWithResponse Get a VPC by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vpcs/{id} (the `GetVpc` operationId).
func (*ClientWithResponses) GrantBucketKeyBucketAccessWithResponse ¶
func (c *ClientWithResponses) GrantBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*GrantBucketKeyBucketAccessResponse, error)
GrantBucketKeyBucketAccessWithResponse Grant a key access to a bucket
Grants the key's recorded permission on the bucket, and rewrites the bucket's policy to name it. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `GrantBucketKeyBucketAccess` operationId).
func (*ClientWithResponses) GrowKubernetesClusterStorageWithBodyWithResponse ¶
func (c *ClientWithResponses) GrowKubernetesClusterStorageWithBodyWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrowKubernetesClusterStorageResponse, error)
GrowKubernetesClusterStorageWithBodyWithResponse Grow a Kubernetes cluster's worker data disks
Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
func (*ClientWithResponses) GrowKubernetesClusterStorageWithResponse ¶
func (c *ClientWithResponses) GrowKubernetesClusterStorageWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, body GrowKubernetesClusterStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*GrowKubernetesClusterStorageResponse, error)
GrowKubernetesClusterStorageWithResponse Grow a Kubernetes cluster's worker data disks
Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
func (*ClientWithResponses) ListActivityWithResponse ¶
func (c *ClientWithResponses) ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
ListActivityWithResponse List activity
Two modes on one route. The account feed takes `types`, `cursor` and `limit` and returns the account's activity newest first; pass the previous response's nextCursor as `cursor` for the next page. The subject history takes `subjectType` and `subjectId` (and `limit`) and returns that one subject's newest activity, at most `limit` rows and never a nextCursor. Mixing the two is 400. `limit` is 1 to 50 and defaults to 50. Rows are limited to what the token's scopes could read directly, and rows show teammates' short display names, or "Service token" for an account service token. Readable by any token of the account; it needs no scope of its own.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/activity (the `ListActivity` operationId).
func (*ClientWithResponses) ListAiSandboxTemplatesWithResponse ¶
func (c *ClientWithResponses) ListAiSandboxTemplatesWithResponse(ctx context.Context, params *ListAiSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*ListAiSandboxTemplatesResponse, error)
ListAiSandboxTemplatesWithResponse List the account's sandbox templates
BUILDING, READY and DELETING templates, oldest first; a failed or fully deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/sandboxes/templates (the `ListAiSandboxTemplates` operationId).
func (*ClientWithResponses) ListAiSandboxesWithResponse ¶
func (c *ClientWithResponses) ListAiSandboxesWithResponse(ctx context.Context, params *ListAiSandboxesParams, reqEditors ...RequestEditorFn) (*ListAiSandboxesResponse, error)
ListAiSandboxesWithResponse List the account's sandboxes
Running, paused and in-transition sandboxes, oldest first; a failed or deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/sandboxes (the `ListAiSandboxes` operationId).
func (*ClientWithResponses) ListBackupPoliciesWithResponse ¶
func (c *ClientWithResponses) ListBackupPoliciesWithResponse(ctx context.Context, params *ListBackupPoliciesParams, reqEditors ...RequestEditorFn) (*ListBackupPoliciesResponse, error)
ListBackupPoliciesWithResponse List the account's backup policies
Each live virtual machine's backup policy, tagged with the VM's id. Only live VMs are listed: a deleted VM's policy is not, though /v1/vms/{id}/backup-policy still answers it. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/backup-policies (the `ListBackupPolicies` operationId).
func (*ClientWithResponses) ListBackupWindowsWithResponse ¶
func (c *ClientWithResponses) ListBackupWindowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBackupWindowsResponse, error)
ListBackupWindowsWithResponse The backup window catalogue
The four windows in cycle order (overnight, morning, afternoon, evening) as they are configured right now. Platform-wide; boundaries are operator-editable.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/backup-windows (the `ListBackupWindows` operationId).
func (*ClientWithResponses) ListBucketDeletedObjectsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListBucketDeletedObjectsWithResponse(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, reqEditors ...RequestEditorFn) (*ListBucketDeletedObjectsResponse, error)
ListBucketDeletedObjectsWithResponse List deleted objects that can still be recovered
Lists the keys whose current version is a delete marker, under `prefix` or across the bucket: deleted, with earlier versions still held. Each row is that delete marker. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/objects/deleted (the `ListBucketDeletedObjects` operationId).
func (*ClientWithResponses) ListBucketKeysWithResponse ¶
func (c *ClientWithResponses) ListBucketKeysWithResponse(ctx context.Context, params *ListBucketKeysParams, reqEditors ...RequestEditorFn) (*ListBucketKeysResponse, error)
ListBucketKeysWithResponse List object storage access keys in the account
Includes the account's master key, which is attached to no bucket. Never carries a secret. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/bucket-keys (the `ListBucketKeys` operationId).
func (*ClientWithResponses) ListBucketObjectVersionsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListBucketObjectVersionsWithResponse(ctx context.Context, id string, params *ListBucketObjectVersionsParams, reqEditors ...RequestEditorFn) (*ListBucketObjectVersionsResponse, error)
ListBucketObjectVersionsWithResponse List the versions of one object
Lists every version of exactly one key, delete markers included: the current version first, then newest first. A bucket that was never versioned lists one entry with a null versionId. Cursor-paginated; a version written between two pages can list the version it replaced again, now as noncurrent, and when the newest versions are permanently deleted between pages, the version that becomes current can be skipped. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/objects/versions (the `ListBucketObjectVersions` operationId).
func (*ClientWithResponses) ListBucketObjectsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListBucketObjectsWithResponse(ctx context.Context, id string, params *ListBucketObjectsParams, reqEditors ...RequestEditorFn) (*ListBucketObjectsResponse, error)
ListBucketObjectsWithResponse List the objects in a bucket
Lists the objects under `prefix`, or every object when it is omitted, in key order. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets/{id}/objects (the `ListBucketObjects` operationId).
func (*ClientWithResponses) ListBucketsWithResponse ¶
func (c *ClientWithResponses) ListBucketsWithResponse(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*ListBucketsResponse, error)
ListBucketsWithResponse List object storage buckets in the account
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/buckets (the `ListBuckets` operationId).
func (*ClientWithResponses) ListCardsWithResponse ¶
func (c *ClientWithResponses) ListCardsWithResponse(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*ListCardsResponse, error)
ListCardsWithResponse List the account's saved cards
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/cards (the `ListCards` operationId).
func (*ClientWithResponses) ListIpAddressesWithResponse ¶
func (c *ClientWithResponses) ListIpAddressesWithResponse(ctx context.Context, params *ListIpAddressesParams, reqEditors ...RequestEditorFn) (*ListIpAddressesResponse, error)
ListIpAddressesWithResponse List every IP address the account holds
Attached or not, public and private alike. Ordered public-before-private, then by owner name, then by address. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ip-addresses (the `ListIpAddresses` operationId).
func (*ClientWithResponses) ListKubernetesClustersWithResponse ¶
func (c *ClientWithResponses) ListKubernetesClustersWithResponse(ctx context.Context, params *ListKubernetesClustersParams, reqEditors ...RequestEditorFn) (*ListKubernetesClustersResponse, error)
ListKubernetesClustersWithResponse List the account's Kubernetes clusters
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/kubernetes/clusters (the `ListKubernetesClusters` operationId).
func (*ClientWithResponses) ListMembersWithResponse ¶
func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
ListMembersWithResponse List the account's team members
Includes pending invitees, as the Users section of the portal's Account page does. Ordered by name, or by email where there is none. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/members (the `ListMembers` operationId).
func (*ClientWithResponses) ListOsImagesWithResponse ¶
func (c *ClientWithResponses) ListOsImagesWithResponse(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*ListOsImagesResponse, error)
ListOsImagesWithResponse List the images a virtual machine can be created from
Every image you can create from. `id` is the `osImageId` that POST /v1/vms takes. `requiresSshKey` says whether the create must carry at least one SSH key (true) or refuses keys (false, for Windows images). Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/os-images (the `ListOsImages` operationId).
func (*ClientWithResponses) ListPlacementGroupDatacentersWithResponse ¶
func (c *ClientWithResponses) ListPlacementGroupDatacentersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlacementGroupDatacentersResponse, error)
ListPlacementGroupDatacentersWithResponse List the datacenters a placement group can be created in
The slug on each entry is the only value create accepts as `datacenterId`. Create refuses anything else — a display name, or a site this account cannot place into — because a group in a site the placement engine cannot match is silently inert. Read the slug from here rather than composing one.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/placement-groups/datacenters (the `ListPlacementGroupDatacenters` operationId).
func (*ClientWithResponses) ListPlacementGroupsWithResponse ¶
func (c *ClientWithResponses) ListPlacementGroupsWithResponse(ctx context.Context, params *ListPlacementGroupsParams, reqEditors ...RequestEditorFn) (*ListPlacementGroupsResponse, error)
ListPlacementGroupsWithResponse List placement groups in the account
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/placement-groups (the `ListPlacementGroups` operationId).
func (*ClientWithResponses) ListProjectResourcesWithResponse ¶
func (c *ClientWithResponses) ListProjectResourcesWithResponse(ctx context.Context, id string, params *ListProjectResourcesParams, reqEditors ...RequestEditorFn) (*ListProjectResourcesResponse, error)
ListProjectResourcesWithResponse List the resources in a project
Every live resource the project holds, including kinds that cannot be moved out of it: they still count toward the project's resourceCount and its delete guard. Ordered by name. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{id}/resources (the `ListProjectResources` operationId).
func (*ClientWithResponses) ListProjectsWithResponse ¶
func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
ListProjectsWithResponse List projects
The account's projects, the default project first and then by name. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects (the `ListProjects` operationId).
func (*ClientWithResponses) ListSshKeysWithResponse ¶
func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
ListSshKeysWithResponse List the token's own SSH keys
Keys are person-owned. A CUSTOMER_PAT sees its own person's keys; an ACCOUNT_SERVICE token has no person and is refused. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ssh-keys (the `ListSshKeys` operationId).
func (*ClientWithResponses) ListSupportTicketsWithResponse ¶
func (c *ClientWithResponses) ListSupportTicketsWithResponse(ctx context.Context, params *ListSupportTicketsParams, reqEditors ...RequestEditorFn) (*ListSupportTicketsResponse, error)
ListSupportTicketsWithResponse List the account's support tickets
Cursor-paginated, most recently updated first. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Filter with `status` (repeatable: open, waiting-on-you, resolved, closed) and `q` (free text). The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
func (*ClientWithResponses) ListTransactionsWithResponse ¶
func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*ListTransactionsResponse, error)
ListTransactionsWithResponse List transactions for the account
Invoices and credit notes, cursor-paginated, newest first. Credit notes are negative and appear once posted to the accounting system. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Answers 502 when credit notes cannot be read, rather than a page without them.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/transactions (the `ListTransactions` operationId).
func (*ClientWithResponses) ListVipsWithResponse ¶
func (c *ClientWithResponses) ListVipsWithResponse(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*ListVipsResponse, error)
ListVipsWithResponse List the account's virtual IPs
One entry per VIP, with its private address, its public overlay address if it has one, and the VMs declared to serve it. In the order /v1/ip-addresses lists their first row. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vips (the `ListVips` operationId).
func (*ClientWithResponses) ListVmBackupRestoreSitesWithResponse ¶
func (c *ClientWithResponses) ListVmBackupRestoreSitesWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*ListVmBackupRestoreSitesResponse, error)
ListVmBackupRestoreSitesWithResponse List the datacenters a backup can be restored to as a new VM
The datacenters that can take this backup as a new virtual machine, each with whether it has room. An empty list means the backup cannot be restored to a new VM. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/backups/{startedAt}/restore-sites (the `ListVmBackupRestoreSites` operationId).
func (*ClientWithResponses) ListVmBackupsWithResponse ¶
func (c *ClientWithResponses) ListVmBackupsWithResponse(ctx context.Context, id string, params *ListVmBackupsParams, reqEditors ...RequestEditorFn) (*ListVmBackupsResponse, error)
ListVmBackupsWithResponse List a virtual machine's backups
Newest first. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/backups (the `ListVmBackups` operationId).
func (*ClientWithResponses) ListVmDisksWithResponse ¶
func (c *ClientWithResponses) ListVmDisksWithResponse(ctx context.Context, id string, params *ListVmDisksParams, reqEditors ...RequestEditorFn) (*ListVmDisksResponse, error)
ListVmDisksWithResponse List a virtual machine's disks
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/disks (the `ListVmDisks` operationId).
func (*ClientWithResponses) ListVmFirewallRulesWithResponse ¶
func (c *ClientWithResponses) ListVmFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVmFirewallRulesResponse, error)
ListVmFirewallRulesWithResponse List firewall rules that apply to a virtual machine
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/firewall-rules (the `ListVmFirewallRules` operationId).
func (*ClientWithResponses) ListVmNetworkInterfacesWithResponse ¶
func (c *ClientWithResponses) ListVmNetworkInterfacesWithResponse(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, reqEditors ...RequestEditorFn) (*ListVmNetworkInterfacesResponse, error)
ListVmNetworkInterfacesWithResponse List a virtual machine's network interfaces
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/network-interfaces (the `ListVmNetworkInterfaces` operationId).
func (*ClientWithResponses) ListVmPrivateIpsWithResponse ¶
func (c *ClientWithResponses) ListVmPrivateIpsWithResponse(ctx context.Context, id string, params *ListVmPrivateIpsParams, reqEditors ...RequestEditorFn) (*ListVmPrivateIpsResponse, error)
ListVmPrivateIpsWithResponse List the private IP addresses leased to a virtual machine
One entry per lease, across all of the VM's network interfaces. The id is the leaseId that privateLeaseId on POST /v1/vms/{id}/public-ips takes. Private addresses cannot be released through the API. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/private-ips (the `ListVmPrivateIps` operationId).
func (*ClientWithResponses) ListVmPublicIpsWithResponse ¶
func (c *ClientWithResponses) ListVmPublicIpsWithResponse(ctx context.Context, id string, params *ListVmPublicIpsParams, reqEditors ...RequestEditorFn) (*ListVmPublicIpsResponse, error)
ListVmPublicIpsWithResponse List public IPs attached to a virtual machine
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/public-ips (the `ListVmPublicIps` operationId).
func (*ClientWithResponses) ListVmSshKeysWithResponse ¶
func (c *ClientWithResponses) ListVmSshKeysWithResponse(ctx context.Context, id string, params *ListVmSshKeysParams, reqEditors ...RequestEditorFn) (*ListVmSshKeysResponse, error)
ListVmSshKeysWithResponse List the SSH keys linked to a virtual machine
Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms/{id}/ssh-keys (the `ListVmSshKeys` operationId).
func (*ClientWithResponses) ListVmsWithResponse ¶
func (c *ClientWithResponses) ListVmsWithResponse(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*ListVmsResponse, error)
ListVmsWithResponse List virtual machines in the account
Cursor-paginated: pass `cursor` from the previous response's nextCursor to fetch the next page. Use this to find a VM when you do not have its id: filter by current display name with `slug`, or read every VM in the account. Each row is the full VM, so no second call is needed for its details. When you already hold the VM's id, call getVm instead of listing.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vms (the `ListVms` operationId).
func (*ClientWithResponses) ListVpcFirewallRulesWithResponse ¶
func (c *ClientWithResponses) ListVpcFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVpcFirewallRulesResponse, error)
ListVpcFirewallRulesWithResponse List firewall rules that apply to a VPC
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vpcs/{id}/firewall-rules (the `ListVpcFirewallRules` operationId).
func (*ClientWithResponses) ListVpcReservedIpsWithResponse ¶
func (c *ClientWithResponses) ListVpcReservedIpsWithResponse(ctx context.Context, id string, params *ListVpcReservedIpsParams, reqEditors ...RequestEditorFn) (*ListVpcReservedIpsResponse, error)
ListVpcReservedIpsWithResponse List the account's reserved public IPs
Requires read:network. The account's reservations in address order, attached or idle; the VPC in the path is only the object the request is authorised on. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vpcs/{id}/reserved-ips (the `ListVpcReservedIps` operationId).
func (*ClientWithResponses) ListVpcVipFirewallRulesWithResponse ¶
func (c *ClientWithResponses) ListVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*ListVpcVipFirewallRulesResponse, error)
ListVpcVipFirewallRulesWithResponse List firewall rules that apply to a VIP
The rules addressed to the VIP's public IP that name no VM.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `ListVpcVipFirewallRules` operationId).
func (*ClientWithResponses) ListVpcsWithResponse ¶
func (c *ClientWithResponses) ListVpcsWithResponse(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*ListVpcsResponse, error)
ListVpcsWithResponse List VPCs in the account
Ordered by name, case-insensitively. Cursor-paginated: follow nextCursor via `?cursor=`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/vpcs (the `ListVpcs` operationId).
func (*ClientWithResponses) MoveProjectResourceWithResponse ¶
func (c *ClientWithResponses) MoveProjectResourceWithResponse(ctx context.Context, id string, resourceId string, reqEditors ...RequestEditorFn) (*MoveProjectResourceResponse, error)
MoveProjectResourceWithResponse Move a resource into a project
Files the resource in this project, moving it out of whichever project it is in now; repeating the call is harmless. Answers with the destination project. Within one account only, and not every kind of resource can be moved: those authorized through a parent, such as public IPs and firewall rules, are refused. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{id}/resources/{resourceId} (the `MoveProjectResource` operationId).
func (*ClientWithResponses) PauseAiSandboxWithResponse ¶
func (c *ClientWithResponses) PauseAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*PauseAiSandboxResponse, error)
PauseAiSandboxWithResponse Pause a sandbox
Snapshots and stops a running sandbox; billing stops. The snapshot lives on the same host and is not durable, and the sandbox is still deleted at its original expiry. Refuses with 409 when the sandbox is not running or the host has no room for the snapshot.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/pause (the `PauseAiSandbox` operationId).
func (*ClientWithResponses) PreviewVmBackupPolicyRotationWithBodyWithResponse ¶
func (c *ClientWithResponses) PreviewVmBackupPolicyRotationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewVmBackupPolicyRotationResponse, error)
PreviewVmBackupPolicyRotationWithBodyWithResponse Preview what a retention set would delete
A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
func (*ClientWithResponses) PreviewVmBackupPolicyRotationWithResponse ¶
func (c *ClientWithResponses) PreviewVmBackupPolicyRotationWithResponse(ctx context.Context, id string, body PreviewVmBackupPolicyRotationJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewVmBackupPolicyRotationResponse, error)
PreviewVmBackupPolicyRotationWithResponse Preview what a retention set would delete
A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
func (*ClientWithResponses) ReadAiSandboxFileWithResponse ¶
func (c *ClientWithResponses) ReadAiSandboxFileWithResponse(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, reqEditors ...RequestEditorFn) (*ReadAiSandboxFileResponse, error)
ReadAiSandboxFileWithResponse Read a file from a running sandbox
The file's bytes, at most 16 MiB.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ai/sandboxes/{sandboxId}/files (the `ReadAiSandboxFile` operationId).
func (*ClientWithResponses) RebootVmWithResponse ¶
func (c *ClientWithResponses) RebootVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootVmResponse, error)
RebootVmWithResponse Restart a virtual machine
Shuts the virtual machine down and starts it again. Asynchronous: returns 202 with the operation to poll.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/reboot (the `RebootVm` operationId).
func (*ClientWithResponses) RemovePlacementGroupMemberWithResponse ¶
func (c *ClientWithResponses) RemovePlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*RemovePlacementGroupMemberResponse, error)
RemovePlacementGroupMemberWithResponse Remove a VM from a placement group
The VM stays where it is; the constraint no longer applies to it. Synchronous: returns 200 with the group as it stands.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/placement-groups/{id}/members/{vmId} (the `RemovePlacementGroupMember` operationId).
func (*ClientWithResponses) RemoveVmFromVipWithResponse ¶
func (c *ClientWithResponses) RemoveVmFromVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*RemoveVmFromVipResponse, error)
RemoveVmFromVipWithResponse Take a VM out of a VIP's members
Requires protected:network, and manage access to both the VM and the VIP's VPC. Withdraws the VM's declaration; the permits it no longer needs come off shortly after the operation completes, and traffic to the VIP stops reaching the VM. Refuses as bind does. Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/vms/{id}/vips/{vipId} (the `RemoveVmFromVip` operationId).
func (*ClientWithResponses) RenameVmWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameVmResponse, error)
RenameVmWithBodyWithResponse Rename a virtual machine
Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
func (*ClientWithResponses) RenameVmWithResponse ¶
func (c *ClientWithResponses) RenameVmWithResponse(ctx context.Context, id string, body RenameVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameVmResponse, error)
RenameVmWithResponse Rename a virtual machine
Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
func (*ClientWithResponses) ReplaceBucketCorsWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ReplaceBucketCorsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceBucketCorsResponse, error)
ReplaceBucketCorsWithBodyWithResponse Replace a bucket's CORS rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
func (*ClientWithResponses) ReplaceBucketCorsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ReplaceBucketCorsWithResponse(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceBucketCorsResponse, error)
ReplaceBucketCorsWithResponse Replace a bucket's CORS rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
func (*ClientWithResponses) ReplaceBucketLifecycleWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ReplaceBucketLifecycleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceBucketLifecycleResponse, error)
ReplaceBucketLifecycleWithBodyWithResponse Replace a bucket's lifecycle rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
func (*ClientWithResponses) ReplaceBucketLifecycleWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ReplaceBucketLifecycleWithResponse(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceBucketLifecycleResponse, error)
ReplaceBucketLifecycleWithResponse Replace a bucket's lifecycle rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
func (*ClientWithResponses) ResendMemberInvitationWithResponse ¶
func (c *ClientWithResponses) ResendMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ResendMemberInvitationResponse, error)
ResendMemberInvitationWithResponse Resend a pending invitation
Sends the invitation again to someone who has not accepted yet. Pending invitations only: 409 means the invitation was already accepted, or the invitee has no identity to send to. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/members/{userId}/actions/resend-invitation (the `ResendMemberInvitation` operationId).
func (*ClientWithResponses) ResizeKubernetesClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeKubernetesClusterResponse, error)
ResizeKubernetesClusterWithBodyWithResponse Resize a Kubernetes cluster's workers
Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
func (*ClientWithResponses) ResizeKubernetesClusterWithResponse ¶
func (c *ClientWithResponses) ResizeKubernetesClusterWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, body ResizeKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeKubernetesClusterResponse, error)
ResizeKubernetesClusterWithResponse Resize a Kubernetes cluster's workers
Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
func (*ClientWithResponses) ResizeVmWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeVmWithBodyWithResponse(ctx context.Context, id string, params *ResizeVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVmResponse, error)
ResizeVmWithBodyWithResponse Resize a virtual machine
Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
func (*ClientWithResponses) ResizeVmWithResponse ¶
func (c *ClientWithResponses) ResizeVmWithResponse(ctx context.Context, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVmResponse, error)
ResizeVmWithResponse Resize a virtual machine
Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
func (*ClientWithResponses) ResolveSupportTicketWithResponse ¶
func (c *ClientWithResponses) ResolveSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ResolveSupportTicketResponse, error)
ResolveSupportTicketWithResponse Resolve a support ticket
Marks the ticket resolved and answers with the ticket summary. A later reply reopens it.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/support/tickets/{id}/actions/resolve (the `ResolveSupportTicket` operationId).
func (*ClientWithResponses) RestartKubernetesClusterNodesWithResponse ¶
func (c *ClientWithResponses) RestartKubernetesClusterNodesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RestartKubernetesClusterNodesResponse, error)
RestartKubernetesClusterNodesWithResponse Restart the workers that are owed a restart
Restarts the workers owed a restart (a grown disk, or a change the node does not show yet), one at a time: drained, shut down, started, uncordoned. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also when no worker is owed a restart. 409 when the cluster's state does not allow it or another change is running.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/restart-nodes (the `RestartKubernetesClusterNodes` operationId).
func (*ClientWithResponses) RestoreVmBackupToNewVmWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreVmBackupToNewVmWithBodyWithResponse(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreVmBackupToNewVmResponse, error)
RestoreVmBackupToNewVmWithBodyWithResponse Restore a backup onto a new virtual machine
Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
func (*ClientWithResponses) RestoreVmBackupToNewVmWithResponse ¶
func (c *ClientWithResponses) RestoreVmBackupToNewVmWithResponse(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, body RestoreVmBackupToNewVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreVmBackupToNewVmResponse, error)
RestoreVmBackupToNewVmWithResponse Restore a backup onto a new virtual machine
Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
func (*ClientWithResponses) RestoreVmWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreVmResponse, error)
RestoreVmWithBodyWithResponse Restore a virtual machine from one of its backups
Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
func (*ClientWithResponses) RestoreVmWithResponse ¶
func (c *ClientWithResponses) RestoreVmWithResponse(ctx context.Context, id string, body RestoreVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreVmResponse, error)
RestoreVmWithResponse Restore a virtual machine from one of its backups
Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
func (*ClientWithResponses) ResumeAiSandboxWithResponse ¶
func (c *ClientWithResponses) ResumeAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*ResumeAiSandboxResponse, error)
ResumeAiSandboxWithResponse Resume a paused sandbox
Restores the sandbox on its own host. Refuses with 409 when the account is at a cap or the host is full or unreachable.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/resume (the `ResumeAiSandbox` operationId).
func (*ClientWithResponses) RevealBucketKeySecretWithResponse ¶
func (c *ClientWithResponses) RevealBucketKeySecretWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*RevealBucketKeySecretResponse, error)
RevealBucketKeySecretWithResponse Reveal the secret the backend holds for a key
Requires protected:s3. 200 with the secret, or 200 with available=false and no secret when the backend holds none — a key created before secret storage was backfilled. 404 only for a key that is not in this account. Answered no-store: a live credential must not sit in a response an intermediary may cache. A retry carrying the same Idempotency-Key replays the 200 without the secret, so call it again without that header to read one.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/bucket-keys/{keyId}/actions/reveal-secret (the `RevealBucketKeySecret` operationId).
func (*ClientWithResponses) RevokeBucketKeyBucketAccessWithResponse ¶
func (c *ClientWithResponses) RevokeBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*RevokeBucketKeyBucketAccessResponse, error)
RevokeBucketKeyBucketAccessWithResponse Revoke a key's access to a bucket
Rewrites the bucket's policy without the key; the key itself stays in the account. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `RevokeBucketKeyBucketAccess` operationId).
func (*ClientWithResponses) SaveAiSandboxTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) SaveAiSandboxTemplateWithBodyWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAiSandboxTemplateResponse, error)
SaveAiSandboxTemplateWithBodyWithResponse Save a paused sandbox as a template
Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
func (*ClientWithResponses) SaveAiSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) SaveAiSandboxTemplateWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, body SaveAiSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAiSandboxTemplateResponse, error)
SaveAiSandboxTemplateWithResponse Save a paused sandbox as a template
Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
func (*ClientWithResponses) ScaleKubernetesClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) ScaleKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleKubernetesClusterResponse, error)
ScaleKubernetesClusterWithBodyWithResponse Scale a Kubernetes cluster
Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
func (*ClientWithResponses) ScaleKubernetesClusterWithResponse ¶
func (c *ClientWithResponses) ScaleKubernetesClusterWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, body ScaleKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleKubernetesClusterResponse, error)
ScaleKubernetesClusterWithResponse Scale a Kubernetes cluster
Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
func (*ClientWithResponses) SetDefaultCardWithResponse ¶
func (c *ClientWithResponses) SetDefaultCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultCardResponse, error)
SetDefaultCardWithResponse Make a card the account's default
`id` is the card id `GET /v1/cards` returns.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/cards/{id}/actions/set-default (the `SetDefaultCard` operationId).
func (*ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithBodyWithResponse(ctx context.Context, id string, vipId string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVpcVipFirewallRuleDescriptionResponse, error)
SetVpcVipFirewallRuleDescriptionWithBodyWithResponse Set the description of a VIP firewall rule
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
func (*ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithResponse ¶
func (c *ClientWithResponses) SetVpcVipFirewallRuleDescriptionWithResponse(ctx context.Context, id string, vipId string, ruleId string, body SetVpcVipFirewallRuleDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVpcVipFirewallRuleDescriptionResponse, error)
SetVpcVipFirewallRuleDescriptionWithResponse Set the description of a VIP firewall rule
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
func (*ClientWithResponses) ShutdownVmWithResponse ¶
func (c *ClientWithResponses) ShutdownVmWithResponse(ctx context.Context, id string, params *ShutdownVmParams, reqEditors ...RequestEditorFn) (*ShutdownVmResponse, error)
ShutdownVmWithResponse Shut down a virtual machine gracefully
Asks the guest OS to shut down. Asynchronous: returns 202 with the operation to poll.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/shutdown (the `ShutdownVm` operationId).
func (*ClientWithResponses) StartVmWithResponse ¶
func (c *ClientWithResponses) StartVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartVmResponse, error)
StartVmWithResponse Start a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/vms/{id}/actions/start (the `StartVm` operationId).
func (*ClientWithResponses) UpdateBillingDetailsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBillingDetailsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBillingDetailsResponse, error)
UpdateBillingDetailsWithBodyWithResponse Update the account's billing details
Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
func (*ClientWithResponses) UpdateBillingDetailsWithResponse ¶
func (c *ClientWithResponses) UpdateBillingDetailsWithResponse(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBillingDetailsResponse, error)
UpdateBillingDetailsWithResponse Update the account's billing details
Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
func (*ClientWithResponses) UpdateBucketVersioningWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBucketVersioningWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBucketVersioningResponse, error)
UpdateBucketVersioningWithBodyWithResponse Change a bucket's versioning state
Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
func (*ClientWithResponses) UpdateBucketVersioningWithResponse ¶
func (c *ClientWithResponses) UpdateBucketVersioningWithResponse(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBucketVersioningResponse, error)
UpdateBucketVersioningWithResponse Change a bucket's versioning state
Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
func (*ClientWithResponses) UpdateMemberRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMemberRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberRoleResponse, error)
UpdateMemberRoleWithBodyWithResponse Change a member's role
`operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
func (*ClientWithResponses) UpdateMemberRoleWithResponse ¶
func (c *ClientWithResponses) UpdateMemberRoleWithResponse(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberRoleResponse, error)
UpdateMemberRoleWithResponse Change a member's role
`operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
func (*ClientWithResponses) UpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithBodyWithResponse Rename a project
Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateProjectWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, id string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithResponse Rename a project
Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateSshKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSshKeyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshKeyResponse, error)
UpdateSshKeyWithBodyWithResponse Rename an SSH key
Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
func (*ClientWithResponses) UpdateSshKeyWithResponse ¶
func (c *ClientWithResponses) UpdateSshKeyWithResponse(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshKeyResponse, error)
UpdateSshKeyWithResponse Rename an SSH key
Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
func (*ClientWithResponses) UpdateVmBackupPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVmBackupPolicyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmBackupPolicyResponse, error)
UpdateVmBackupPolicyWithBodyWithResponse Set a virtual machine's backup policy
Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
func (*ClientWithResponses) UpdateVmBackupPolicyWithResponse ¶
func (c *ClientWithResponses) UpdateVmBackupPolicyWithResponse(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmBackupPolicyResponse, error)
UpdateVmBackupPolicyWithResponse Set a virtual machine's backup policy
Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
func (*ClientWithResponses) UpdateVmBackupProtectionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVmBackupProtectionWithBodyWithResponse(ctx context.Context, id string, startedAt int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmBackupProtectionResponse, error)
UpdateVmBackupProtectionWithBodyWithResponse Protect or release one backup
A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
func (*ClientWithResponses) UpdateVmBackupProtectionWithResponse ¶
func (c *ClientWithResponses) UpdateVmBackupProtectionWithResponse(ctx context.Context, id string, startedAt int64, body UpdateVmBackupProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmBackupProtectionResponse, error)
UpdateVmBackupProtectionWithResponse Protect or release one backup
A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
func (*ClientWithResponses) UpdateVmFirewallRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmFirewallRuleResponse, error)
UpdateVmFirewallRuleWithBodyWithResponse Update a firewall rule on a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
func (*ClientWithResponses) UpdateVmFirewallRuleWithResponse ¶
func (c *ClientWithResponses) UpdateVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, body UpdateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmFirewallRuleResponse, error)
UpdateVmFirewallRuleWithResponse Update a firewall rule on a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
func (*ClientWithResponses) UpdateVpcWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVpcWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVpcResponse, error)
UpdateVpcWithBodyWithResponse Rename a VPC
Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
func (*ClientWithResponses) UpdateVpcWithResponse ¶
func (c *ClientWithResponses) UpdateVpcWithResponse(ctx context.Context, id string, body UpdateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVpcResponse, error)
UpdateVpcWithResponse Rename a VPC
Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
func (*ClientWithResponses) UpgradeKubernetesClusterWorkersWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpgradeKubernetesClusterWorkersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeKubernetesClusterWorkersResponse, error)
UpgradeKubernetesClusterWorkersWithBodyWithResponse Upgrade a Kubernetes cluster's workers
Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
func (*ClientWithResponses) UpgradeKubernetesClusterWorkersWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpgradeKubernetesClusterWorkersWithResponse(ctx context.Context, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeKubernetesClusterWorkersResponse, error)
UpgradeKubernetesClusterWorkersWithResponse Upgrade a Kubernetes cluster's workers
Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
func (*ClientWithResponses) WriteAiSandboxFileWithBodyWithResponse ¶
func (c *ClientWithResponses) WriteAiSandboxFileWithBodyWithResponse(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteAiSandboxFileResponse, error)
WriteAiSandboxFileWithBodyWithResponse Write a file into a running sandbox
The request body is the file's bytes, at most 16 MiB (400 above). mode is an octal string such as 0644. The sandbox runs as root, so a written file can be run: needs protected:sandboxes and, for a personal token, a paired elevation secret in X-CloudAfrica-Elevation; without the pairing it answers 403 not-paired.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/ai/sandboxes/{sandboxId}/files (the `WriteAiSandboxFile` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAccountWithResponse Introspect the calling token + account
//
// The account this API token is bound to, the token's active scopes, and the remaining rate-limit budget.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account (the `GetAccount` operationId).
GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
// GetAccountDeletedVmBackupRetentionWithResponse How long a deleted virtual machine's newest backup is kept
//
// A live platform value, not a constant: read it here rather than hardcoding it. 0 means the newest backup is removed on the next sweep after the VM is deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/deleted-vm-backup-retention (the `GetAccountDeletedVmBackupRetention` operationId).
GetAccountDeletedVmBackupRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountDeletedVmBackupRetentionResponse, error)
// GetAccountLimitsWithResponse List the account's limits
//
// Every limit that applies to the account, with current usage where it has one. Readable by any token of the account; it needs no scope.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/limits (the `GetAccountLimits` operationId).
GetAccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountLimitsResponse, error)
// ListActivityWithResponse List activity
//
// Two modes on one route. The account feed takes `types`, `cursor` and `limit` and returns the account's activity newest first; pass the previous response's nextCursor as `cursor` for the next page. The subject history takes `subjectType` and `subjectId` (and `limit`) and returns that one subject's newest activity, at most `limit` rows and never a nextCursor. Mixing the two is 400. `limit` is 1 to 50 and defaults to 50. Rows are limited to what the token's scopes could read directly, and rows show teammates' short display names, or "Service token" for an account service token. Readable by any token of the account; it needs no scope of its own.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/activity (the `ListActivity` operationId).
ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
// ListAiSandboxesWithResponse List the account's sandboxes
//
// Running, paused and in-transition sandboxes, oldest first; a failed or deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/sandboxes (the `ListAiSandboxes` operationId).
ListAiSandboxesWithResponse(ctx context.Context, params *ListAiSandboxesParams, reqEditors ...RequestEditorFn) (*ListAiSandboxesResponse, error)
// CreateAiSandboxWithBodyWithResponse Create a sandbox
//
// Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
CreateAiSandboxWithBodyWithResponse(ctx context.Context, params *CreateAiSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAiSandboxResponse, error)
// CreateAiSandboxWithResponse Create a sandbox
//
// Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
CreateAiSandboxWithResponse(ctx context.Context, params *CreateAiSandboxParams, body CreateAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAiSandboxResponse, error)
// ListAiSandboxTemplatesWithResponse List the account's sandbox templates
//
// BUILDING, READY and DELETING templates, oldest first; a failed or fully deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/sandboxes/templates (the `ListAiSandboxTemplates` operationId).
ListAiSandboxTemplatesWithResponse(ctx context.Context, params *ListAiSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*ListAiSandboxTemplatesResponse, error)
// DeleteAiSandboxTemplateWithResponse Delete a sandbox template
//
// Removes the template and its stored image. Sandboxes already started from it are unaffected. Refuses with 409 template_building while it is still being saved.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ai/sandboxes/templates/{templateId} (the `DeleteAiSandboxTemplate` operationId).
DeleteAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxTemplateResponse, error)
// GetAiSandboxTemplateWithResponse Get a sandbox template
//
// A FAILED template is readable by id so a save can be seen to have failed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/sandboxes/templates/{templateId} (the `GetAiSandboxTemplate` operationId).
GetAiSandboxTemplateWithResponse(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*GetAiSandboxTemplateResponse, error)
// DeleteAiSandboxWithResponse Delete a sandbox
//
// Deletes the sandbox and, if paused, its snapshot.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ai/sandboxes/{sandboxId} (the `DeleteAiSandbox` operationId).
DeleteAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*DeleteAiSandboxResponse, error)
// GetAiSandboxWithResponse Get a sandbox
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/sandboxes/{sandboxId} (the `GetAiSandbox` operationId).
GetAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*GetAiSandboxResponse, error)
// ExecAiSandboxWithBodyWithResponse Run a command in a sandbox
//
// Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
ExecAiSandboxWithBodyWithResponse(ctx context.Context, sandboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecAiSandboxResponse, error)
// ExecAiSandboxWithResponse Run a command in a sandbox
//
// Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
ExecAiSandboxWithResponse(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecAiSandboxResponse, error)
// PauseAiSandboxWithResponse Pause a sandbox
//
// Snapshots and stops a running sandbox; billing stops. The snapshot lives on the same host and is not durable, and the sandbox is still deleted at its original expiry. Refuses with 409 when the sandbox is not running or the host has no room for the snapshot.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/pause (the `PauseAiSandbox` operationId).
PauseAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*PauseAiSandboxResponse, error)
// ResumeAiSandboxWithResponse Resume a paused sandbox
//
// Restores the sandbox on its own host. Refuses with 409 when the account is at a cap or the host is full or unreachable.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/resume (the `ResumeAiSandbox` operationId).
ResumeAiSandboxWithResponse(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*ResumeAiSandboxResponse, error)
// SaveAiSandboxTemplateWithBodyWithResponse Save a paused sandbox as a template
//
// Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
SaveAiSandboxTemplateWithBodyWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAiSandboxTemplateResponse, error)
// SaveAiSandboxTemplateWithResponse Save a paused sandbox as a template
//
// Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
SaveAiSandboxTemplateWithResponse(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, body SaveAiSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAiSandboxTemplateResponse, error)
// ReadAiSandboxFileWithResponse Read a file from a running sandbox
//
// The file's bytes, at most 16 MiB.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ai/sandboxes/{sandboxId}/files (the `ReadAiSandboxFile` operationId).
ReadAiSandboxFileWithResponse(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, reqEditors ...RequestEditorFn) (*ReadAiSandboxFileResponse, error)
// WriteAiSandboxFileWithBodyWithResponse Write a file into a running sandbox
//
// The request body is the file's bytes, at most 16 MiB (400 above). mode is an octal string such as 0644. The sandbox runs as root, so a written file can be run: needs protected:sandboxes and, for a personal token, a paired elevation secret in X-CloudAfrica-Elevation; without the pairing it answers 403 not-paired.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/ai/sandboxes/{sandboxId}/files (the `WriteAiSandboxFile` operationId).
WriteAiSandboxFileWithBodyWithResponse(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteAiSandboxFileResponse, error)
// ListBackupPoliciesWithResponse List the account's backup policies
//
// Each live virtual machine's backup policy, tagged with the VM's id. Only live VMs are listed: a deleted VM's policy is not, though /v1/vms/{id}/backup-policy still answers it. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/backup-policies (the `ListBackupPolicies` operationId).
ListBackupPoliciesWithResponse(ctx context.Context, params *ListBackupPoliciesParams, reqEditors ...RequestEditorFn) (*ListBackupPoliciesResponse, error)
// ListBackupWindowsWithResponse The backup window catalogue
//
// The four windows in cycle order (overnight, morning, afternoon, evening) as they are configured right now. Platform-wide; boundaries are operator-editable.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/backup-windows (the `ListBackupWindows` operationId).
ListBackupWindowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBackupWindowsResponse, error)
// GetBillingAccrualWithResponse Get the account's month-to-date accrual
//
// A reading from the usage ledger, not an invoice: one total for the whole account across every billed resource type (VMs, backups, buckets, VPCs), never for one type. `total` is in rands. Optionally as-of a past instant; the window is always clamped to the meter's coverage frontier.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/billing/accrual (the `GetBillingAccrual` operationId).
GetBillingAccrualWithResponse(ctx context.Context, params *GetBillingAccrualParams, reqEditors ...RequestEditorFn) (*GetBillingAccrualResponse, error)
// GetBillingBalanceWithResponse Get the account's outstanding balance
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/billing/balance (the `GetBillingBalance` operationId).
GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)
// GetBillingDetailsWithResponse Get the account's billing details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/billing/details (the `GetBillingDetails` operationId).
GetBillingDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingDetailsResponse, error)
// UpdateBillingDetailsWithBodyWithResponse Update the account's billing details
//
// Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
UpdateBillingDetailsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBillingDetailsResponse, error)
// UpdateBillingDetailsWithResponse Update the account's billing details
//
// Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
UpdateBillingDetailsWithResponse(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBillingDetailsResponse, error)
// ListBucketKeysWithResponse List object storage access keys in the account
//
// Includes the account's master key, which is attached to no bucket. Never carries a secret. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/bucket-keys (the `ListBucketKeys` operationId).
ListBucketKeysWithResponse(ctx context.Context, params *ListBucketKeysParams, reqEditors ...RequestEditorFn) (*ListBucketKeysResponse, error)
// CreateBucketKeyWithBodyWithResponse Create an object storage access key
//
// Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
CreateBucketKeyWithBodyWithResponse(ctx context.Context, params *CreateBucketKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBucketKeyResponse, error)
// CreateBucketKeyWithResponse Create an object storage access key
//
// Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
CreateBucketKeyWithResponse(ctx context.Context, params *CreateBucketKeyParams, body CreateBucketKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBucketKeyResponse, error)
// DeleteBucketKeyWithResponse Delete an object storage access key
//
// Detaches the key from every bucket, then removes it. The account's master key cannot be deleted — that would orphan every bucket it owns. Requires protected:s3. Returns 204.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/bucket-keys/{keyId} (the `DeleteBucketKey` operationId).
DeleteBucketKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteBucketKeyResponse, error)
// RevealBucketKeySecretWithResponse Reveal the secret the backend holds for a key
//
// Requires protected:s3. 200 with the secret, or 200 with available=false and no secret when the backend holds none — a key created before secret storage was backfilled. 404 only for a key that is not in this account. Answered no-store: a live credential must not sit in a response an intermediary may cache. A retry carrying the same Idempotency-Key replays the 200 without the secret, so call it again without that header to read one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/bucket-keys/{keyId}/actions/reveal-secret (the `RevealBucketKeySecret` operationId).
RevealBucketKeySecretWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*RevealBucketKeySecretResponse, error)
// RevokeBucketKeyBucketAccessWithResponse Revoke a key's access to a bucket
//
// Rewrites the bucket's policy without the key; the key itself stays in the account. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `RevokeBucketKeyBucketAccess` operationId).
RevokeBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*RevokeBucketKeyBucketAccessResponse, error)
// GrantBucketKeyBucketAccessWithResponse Grant a key access to a bucket
//
// Grants the key's recorded permission on the bucket, and rewrites the bucket's policy to name it. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `GrantBucketKeyBucketAccess` operationId).
GrantBucketKeyBucketAccessWithResponse(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*GrantBucketKeyBucketAccessResponse, error)
// ListBucketsWithResponse List object storage buckets in the account
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets (the `ListBuckets` operationId).
ListBucketsWithResponse(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*ListBucketsResponse, error)
// CreateBucketWithBodyWithResponse Order a new object storage bucket
//
// Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
CreateBucketWithBodyWithResponse(ctx context.Context, params *CreateBucketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBucketResponse, error)
// CreateBucketWithResponse Order a new object storage bucket
//
// Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
CreateBucketWithResponse(ctx context.Context, params *CreateBucketParams, body CreateBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBucketResponse, error)
// GetBucketWithResponse Get an object storage bucket
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id} (the `GetBucket` operationId).
GetBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketResponse, error)
// DeleteBucketWithBodyWithResponse Delete a bucket and everything in it
//
// Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
DeleteBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteBucketResponse, error)
// DeleteBucketWithResponse Delete a bucket and everything in it
//
// Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
DeleteBucketWithResponse(ctx context.Context, id string, body DeleteBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteBucketResponse, error)
// GetBucketCorsWithResponse A bucket's CORS rules
//
// Read live from the storage cluster.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/cors (the `GetBucketCors` operationId).
GetBucketCorsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketCorsResponse, error)
// ReplaceBucketCorsWithBodyWithResponse Replace a bucket's CORS rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
ReplaceBucketCorsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceBucketCorsResponse, error)
// ReplaceBucketCorsWithResponse Replace a bucket's CORS rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
ReplaceBucketCorsWithResponse(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceBucketCorsResponse, error)
// GetBucketLifecycleWithResponse A bucket's lifecycle rules
//
// Read live from the storage cluster. `unsupported` means the bucket also holds rules this API cannot represent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/lifecycle (the `GetBucketLifecycle` operationId).
GetBucketLifecycleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketLifecycleResponse, error)
// ReplaceBucketLifecycleWithBodyWithResponse Replace a bucket's lifecycle rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
ReplaceBucketLifecycleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceBucketLifecycleResponse, error)
// ReplaceBucketLifecycleWithResponse Replace a bucket's lifecycle rules
//
// Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
ReplaceBucketLifecycleWithResponse(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceBucketLifecycleResponse, error)
// ListBucketObjectsWithResponse List the objects in a bucket
//
// Lists the objects under `prefix`, or every object when it is omitted, in key order. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/objects (the `ListBucketObjects` operationId).
ListBucketObjectsWithResponse(ctx context.Context, id string, params *ListBucketObjectsParams, reqEditors ...RequestEditorFn) (*ListBucketObjectsResponse, error)
// ListBucketDeletedObjectsWithResponse List deleted objects that can still be recovered
//
// Lists the keys whose current version is a delete marker, under `prefix` or across the bucket: deleted, with earlier versions still held. Each row is that delete marker. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/objects/deleted (the `ListBucketDeletedObjects` operationId).
ListBucketDeletedObjectsWithResponse(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, reqEditors ...RequestEditorFn) (*ListBucketDeletedObjectsResponse, error)
// CreateObjectDownloadUrlWithBodyWithResponse Mint a short-lived URL that downloads one object
//
// Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
CreateObjectDownloadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObjectDownloadUrlResponse, error)
// CreateObjectDownloadUrlWithResponse Mint a short-lived URL that downloads one object
//
// Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
CreateObjectDownloadUrlWithResponse(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObjectDownloadUrlResponse, error)
// GetBucketObjectMetadataWithResponse Get one object's metadata, tags and retention
//
// Reads the current version's content headers, user metadata, tags and object-lock retention. 404 for a missing key, and for an object whose current version is a delete marker.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/objects/metadata (the `GetBucketObjectMetadata` operationId).
GetBucketObjectMetadataWithResponse(ctx context.Context, id string, params *GetBucketObjectMetadataParams, reqEditors ...RequestEditorFn) (*GetBucketObjectMetadataResponse, error)
// CreateObjectUploadUrlWithBodyWithResponse Mint a short-lived URL that uploads one new object
//
// Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
CreateObjectUploadUrlWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObjectUploadUrlResponse, error)
// CreateObjectUploadUrlWithResponse Mint a short-lived URL that uploads one new object
//
// Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
CreateObjectUploadUrlWithResponse(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObjectUploadUrlResponse, error)
// ListBucketObjectVersionsWithResponse List the versions of one object
//
// Lists every version of exactly one key, delete markers included: the current version first, then newest first. A bucket that was never versioned lists one entry with a null versionId. Cursor-paginated; a version written between two pages can list the version it replaced again, now as noncurrent, and when the newest versions are permanently deleted between pages, the version that becomes current can be skipped. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/objects/versions (the `ListBucketObjectVersions` operationId).
ListBucketObjectVersionsWithResponse(ctx context.Context, id string, params *ListBucketObjectVersionsParams, reqEditors ...RequestEditorFn) (*ListBucketObjectVersionsResponse, error)
// GetBucketProtectionWithResponse A bucket's object lock and default encryption
//
// Read-only: object lock is chosen when the bucket is ordered.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/protection (the `GetBucketProtection` operationId).
GetBucketProtectionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketProtectionResponse, error)
// GetBucketUsageWithResponse A bucket's storage usage and traffic over a window
//
// Not the billing basis — egress is billed differently. See the field docs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/usage (the `GetBucketUsage` operationId).
GetBucketUsageWithResponse(ctx context.Context, id string, params *GetBucketUsageParams, reqEditors ...RequestEditorFn) (*GetBucketUsageResponse, error)
// GetBucketVersioningWithResponse A bucket's current versioning state
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/buckets/{id}/versioning (the `GetBucketVersioning` operationId).
GetBucketVersioningWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBucketVersioningResponse, error)
// UpdateBucketVersioningWithBodyWithResponse Change a bucket's versioning state
//
// Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
UpdateBucketVersioningWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBucketVersioningResponse, error)
// UpdateBucketVersioningWithResponse Change a bucket's versioning state
//
// Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
UpdateBucketVersioningWithResponse(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBucketVersioningResponse, error)
// ListCardsWithResponse List the account's saved cards
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/cards (the `ListCards` operationId).
ListCardsWithResponse(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*ListCardsResponse, error)
// CreateCardCheckoutWithResponse Start a card capture checkout
//
// Nothing is charged: the checkout tokenises a card at zero amount. Must carry an Idempotency-Key header; use a fresh key for each checkout attempt. Returns the checkoutId to link or poll and the entityId the payment provider's own form is mounted with — without it the capture cannot be completed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cards/checkout (the `CreateCardCheckout` operationId).
CreateCardCheckoutWithResponse(ctx context.Context, params *CreateCardCheckoutParams, reqEditors ...RequestEditorFn) (*CreateCardCheckoutResponse, error)
// GetCardLinkWithResponse Poll a card link
//
// Requires `write:billing`: the backend gates this read on the account's manage tier, so the scope is a ceiling and a read-only token is refused. Not a write — it spends the read rate-limit bucket.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/cards/links/{checkoutId} (the `GetCardLink` operationId).
GetCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*GetCardLinkResponse, error)
// CreateCardLinkWithResponse Link the card a completed checkout captured
//
// Idempotent per checkout: a repeat returns the same link's state rather than a second card.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cards/links/{checkoutId} (the `CreateCardLink` operationId).
CreateCardLinkWithResponse(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*CreateCardLinkResponse, error)
// DeleteCardWithResponse Remove a saved card
//
// `id` is the card id `GET /v1/cards` returns.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/cards/{id} (the `DeleteCard` operationId).
DeleteCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCardResponse, error)
// SetDefaultCardWithResponse Make a card the account's default
//
// `id` is the card id `GET /v1/cards` returns.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/cards/{id}/actions/set-default (the `SetDefaultCard` operationId).
SetDefaultCardWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SetDefaultCardResponse, error)
// CreateElevationRequestWithBodyWithResponse Request to pair this client
//
// Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
CreateElevationRequestWithBodyWithResponse(ctx context.Context, params *CreateElevationRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElevationRequestResponse, error)
// CreateElevationRequestWithResponse Request to pair this client
//
// Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
CreateElevationRequestWithResponse(ctx context.Context, params *CreateElevationRequestParams, body CreateElevationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElevationRequestResponse, error)
// ListIpAddressesWithResponse List every IP address the account holds
//
// Attached or not, public and private alike. Ordered public-before-private, then by owner name, then by address. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ip-addresses (the `ListIpAddresses` operationId).
ListIpAddressesWithResponse(ctx context.Context, params *ListIpAddressesParams, reqEditors ...RequestEditorFn) (*ListIpAddressesResponse, error)
// ListKubernetesClustersWithResponse List the account's Kubernetes clusters
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/kubernetes/clusters (the `ListKubernetesClusters` operationId).
ListKubernetesClustersWithResponse(ctx context.Context, params *ListKubernetesClustersParams, reqEditors ...RequestEditorFn) (*ListKubernetesClustersResponse, error)
// CreateKubernetesClusterWithBodyWithResponse Create a Kubernetes cluster
//
// Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
CreateKubernetesClusterWithBodyWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterResponse, error)
// CreateKubernetesClusterWithResponse Create a Kubernetes cluster
//
// Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
CreateKubernetesClusterWithResponse(ctx context.Context, params *CreateKubernetesClusterParams, body CreateKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterResponse, error)
// DeleteKubernetesClusterWithResponse Delete a Kubernetes cluster
//
// Destroys the cluster and its workers; this cannot be undone. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 again while the destroy is already running; 409 when the cluster's state does not allow it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/kubernetes/clusters/{id} (the `DeleteKubernetesCluster` operationId).
DeleteKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteKubernetesClusterResponse, error)
// GetKubernetesClusterWithResponse Get a Kubernetes cluster
//
// One cluster and its live workers.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/kubernetes/clusters/{id} (the `GetKubernetesCluster` operationId).
GetKubernetesClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResponse, error)
// GrowKubernetesClusterStorageWithBodyWithResponse Grow a Kubernetes cluster's worker data disks
//
// Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
GrowKubernetesClusterStorageWithBodyWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrowKubernetesClusterStorageResponse, error)
// GrowKubernetesClusterStorageWithResponse Grow a Kubernetes cluster's worker data disks
//
// Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
GrowKubernetesClusterStorageWithResponse(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, body GrowKubernetesClusterStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*GrowKubernetesClusterStorageResponse, error)
// ResizeKubernetesClusterWithBodyWithResponse Resize a Kubernetes cluster's workers
//
// Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
ResizeKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeKubernetesClusterResponse, error)
// ResizeKubernetesClusterWithResponse Resize a Kubernetes cluster's workers
//
// Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
ResizeKubernetesClusterWithResponse(ctx context.Context, id string, params *ResizeKubernetesClusterParams, body ResizeKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeKubernetesClusterResponse, error)
// RestartKubernetesClusterNodesWithResponse Restart the workers that are owed a restart
//
// Restarts the workers owed a restart (a grown disk, or a change the node does not show yet), one at a time: drained, shut down, started, uncordoned. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also when no worker is owed a restart. 409 when the cluster's state does not allow it or another change is running.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/restart-nodes (the `RestartKubernetesClusterNodes` operationId).
RestartKubernetesClusterNodesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RestartKubernetesClusterNodesResponse, error)
// ScaleKubernetesClusterWithBodyWithResponse Scale a Kubernetes cluster
//
// Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
ScaleKubernetesClusterWithBodyWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleKubernetesClusterResponse, error)
// ScaleKubernetesClusterWithResponse Scale a Kubernetes cluster
//
// Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
ScaleKubernetesClusterWithResponse(ctx context.Context, id string, params *ScaleKubernetesClusterParams, body ScaleKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleKubernetesClusterResponse, error)
// UpgradeKubernetesClusterWorkersWithBodyWithResponse Upgrade a Kubernetes cluster's workers
//
// Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
UpgradeKubernetesClusterWorkersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeKubernetesClusterWorkersResponse, error)
// UpgradeKubernetesClusterWorkersWithResponse Upgrade a Kubernetes cluster's workers
//
// Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
UpgradeKubernetesClusterWorkersWithResponse(ctx context.Context, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeKubernetesClusterWorkersResponse, error)
// GetKubernetesClusterKubeconfigWithResponse Download a cluster's kubeconfig
//
// A kubeconfig that logs in with your API token: it holds no credential. It reads the token, and the paired elevation secret that cluster access needs, from the two environment variables its exec entry names. Only an account owner or admin can use it. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig (the `GetKubernetesClusterKubeconfig` operationId).
GetKubernetesClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterKubeconfigResponse, error)
// GetKubernetesClusterManagedVpnKubeconfigWithResponse Download a cluster's kubeconfig for Managed VPN
//
// The same kubeconfig, pointed at the cluster's address inside the Managed VPN. 404 also while Managed VPN is off for the account or none of its networks has an active gateway; 409 when the cluster's address cannot be routed over the VPN.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig/managed-vpn (the `GetKubernetesClusterManagedVpnKubeconfig` operationId).
GetKubernetesClusterManagedVpnKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetKubernetesClusterManagedVpnKubeconfigResponse, error)
// GetKubernetesNodeMetricWithResponse Get one worker's CPU or memory series
//
// `metric` is `cpu` (percent) or `memory` (bytes). `range` is one of 15m, 1h, 2h, 6h, 24h, 7d, 30d; 2h when absent. `vmId` is a worker's `vmId` from GET /v1/kubernetes/clusters/{id}. 200 with `unavailable` true when the series cannot be read now; 400 for a metric or range outside those lists; 404 for an unknown cluster or a worker that is not this cluster's.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/kubernetes/clusters/{id}/nodes/{vmId}/metrics/{metric} (the `GetKubernetesNodeMetric` operationId).
GetKubernetesNodeMetricWithResponse(ctx context.Context, id string, vmId string, metric string, params *GetKubernetesNodeMetricParams, reqEditors ...RequestEditorFn) (*GetKubernetesNodeMetricResponse, error)
// CreateKubernetesClusterTokenWithResponse Get a 15-minute cluster token
//
// Trades your API token for a Kubernetes cluster token, answered in the shape kubectl's exec plugin reads. The token has cluster-admin rights on that one cluster and expires after 15 minutes. Needs protected:compute and a paired elevation secret in X-CloudAfrica-Elevation. Only an account owner or admin's own personal token can mint; a token without manage rights on the account is answered 403, any other caller 404. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet. An Idempotency-Key on this call replays an empty 200, not the token: mint again without one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/kubernetes/clusters/{id}/token (the `CreateKubernetesClusterToken` operationId).
CreateKubernetesClusterTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateKubernetesClusterTokenResponse, error)
// GetMeWithResponse Introspect the calling token's identity
//
// The calling token's own identity — principal kind, subject, name and scopes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/me (the `GetMe` operationId).
GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
// ListMembersWithResponse List the account's team members
//
// Includes pending invitees, as the Users section of the portal's Account page does. Ordered by name, or by email where there is none. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/members (the `ListMembers` operationId).
ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
// CreateMemberWithBodyWithResponse Invite someone to the account's team
//
// The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/members (the `CreateMember` operationId).
CreateMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMemberResponse, error)
// CreateMemberWithResponse Invite someone to the account's team
//
// The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/members (the `CreateMember` operationId).
CreateMemberWithResponse(ctx context.Context, body CreateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMemberResponse, error)
// DeleteMemberWithResponse Remove a member from the account's team
//
// Also revokes that person's personal API tokens for this account, so a credential they already hold stops working here — removing the membership alone would leave a token that keeps confirming the account. A repeat is 404: they are no longer a member. `userId` is the id `GET /v1/members` returns. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/members/{userId} (the `DeleteMember` operationId).
DeleteMemberWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteMemberResponse, error)
// CancelMemberInvitationWithResponse Cancel a pending invitation
//
// Withdraws an invitation that has not been accepted yet. Pending invitations only: 409 means the invitation was already accepted. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/members/{userId}/actions/cancel-invitation (the `CancelMemberInvitation` operationId).
CancelMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*CancelMemberInvitationResponse, error)
// ResendMemberInvitationWithResponse Resend a pending invitation
//
// Sends the invitation again to someone who has not accepted yet. Pending invitations only: 409 means the invitation was already accepted, or the invitee has no identity to send to. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/members/{userId}/actions/resend-invitation (the `ResendMemberInvitation` operationId).
ResendMemberInvitationWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ResendMemberInvitationResponse, error)
// UpdateMemberRoleWithBodyWithResponse Change a member's role
//
// `operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
UpdateMemberRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberRoleResponse, error)
// UpdateMemberRoleWithResponse Change a member's role
//
// `operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
UpdateMemberRoleWithResponse(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberRoleResponse, error)
// GetOperationWithResponse Get an operation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/operations/{id} (the `GetOperation` operationId).
GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
// CancelOperationWithResponse Request cancellation of an operation
//
// 202 when the request was accepted; the operation reaches its terminal state later.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/operations/{id}/cancel (the `CancelOperation` operationId).
CancelOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CancelOperationResponse, error)
// ListOsImagesWithResponse List the images a virtual machine can be created from
//
// Every image you can create from. `id` is the `osImageId` that POST /v1/vms takes. `requiresSshKey` says whether the create must carry at least one SSH key (true) or refuses keys (false, for Windows images). Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/os-images (the `ListOsImages` operationId).
ListOsImagesWithResponse(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*ListOsImagesResponse, error)
// ListPlacementGroupsWithResponse List placement groups in the account
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/placement-groups (the `ListPlacementGroups` operationId).
ListPlacementGroupsWithResponse(ctx context.Context, params *ListPlacementGroupsParams, reqEditors ...RequestEditorFn) (*ListPlacementGroupsResponse, error)
// CreatePlacementGroupWithBodyWithResponse Create a placement group
//
// Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
CreatePlacementGroupWithBodyWithResponse(ctx context.Context, params *CreatePlacementGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlacementGroupResponse, error)
// CreatePlacementGroupWithResponse Create a placement group
//
// Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
CreatePlacementGroupWithResponse(ctx context.Context, params *CreatePlacementGroupParams, body CreatePlacementGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePlacementGroupResponse, error)
// ListPlacementGroupDatacentersWithResponse List the datacenters a placement group can be created in
//
// The slug on each entry is the only value create accepts as `datacenterId`. Create refuses anything else — a display name, or a site this account cannot place into — because a group in a site the placement engine cannot match is silently inert. Read the slug from here rather than composing one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/placement-groups/datacenters (the `ListPlacementGroupDatacenters` operationId).
ListPlacementGroupDatacentersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlacementGroupDatacentersResponse, error)
// DeletePlacementGroupWithResponse Delete a placement group
//
// Releases the group; its members stay where they are, since a group only ever constrained future placement.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/placement-groups/{id} (the `DeletePlacementGroup` operationId).
DeletePlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePlacementGroupResponse, error)
// GetPlacementGroupWithResponse Get a placement group by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/placement-groups/{id} (the `GetPlacementGroup` operationId).
GetPlacementGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPlacementGroupResponse, error)
// RemovePlacementGroupMemberWithResponse Remove a VM from a placement group
//
// The VM stays where it is; the constraint no longer applies to it. Synchronous: returns 200 with the group as it stands.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/placement-groups/{id}/members/{vmId} (the `RemovePlacementGroupMember` operationId).
RemovePlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*RemovePlacementGroupMemberResponse, error)
// AddPlacementGroupMemberWithResponse Add a VM to a placement group
//
// Constrains where the VM is placed next; it does not move a running VM. Synchronous: returns 200 with the group as it stands. Idempotent, which is why it is a PUT: re-adding a VM that is already in THIS group answers 200 with the group unchanged, so a client whose first response was lost can safely resend. Refuses with 409 when the VM belongs to a DIFFERENT placement group, or when this group is at its member-count cap.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/placement-groups/{id}/members/{vmId} (the `AddPlacementGroupMember` operationId).
AddPlacementGroupMemberWithResponse(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*AddPlacementGroupMemberResponse, error)
// GetPlacementFeasibilityWithResponse Check whether a datacenter can take a VM shape
//
// Answers how many of `count` VMs of this shape would be placed in the datacenter, optionally joining a placement group. Read-only: nothing is reserved. `count` defaults to 1 and the answer never exceeds it; the platform may clamp a large `count`, which the response's `requested` reports. `extraDisksGib` is the TOTAL of the extra disks a create would request, not one disk, and defaults to 0.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/placement/feasibility (the `GetPlacementFeasibility` operationId).
GetPlacementFeasibilityWithResponse(ctx context.Context, params *GetPlacementFeasibilityParams, reqEditors ...RequestEditorFn) (*GetPlacementFeasibilityResponse, error)
// ListProjectsWithResponse List projects
//
// The account's projects, the default project first and then by name. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects (the `ListProjects` operationId).
ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
// CreateProjectWithBodyWithResponse Create a project
//
// Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// CreateProjectWithResponse Create a project
//
// Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// DeleteProjectWithResponse Delete a project
//
// Only an empty project that is not the account's default and not managed by the platform can be deleted; anything else answers 409, so move its resources out first. Only an account admin's personal token can delete a project: every account-service token is refused with 403.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{id} (the `DeleteProject` operationId).
DeleteProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
// GetProjectWithResponse Get a project
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{id} (the `GetProject` operationId).
GetProjectWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
// UpdateProjectWithBodyWithResponse Rename a project
//
// Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
UpdateProjectWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// UpdateProjectWithResponse Rename a project
//
// Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
UpdateProjectWithResponse(ctx context.Context, id string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// ListProjectResourcesWithResponse List the resources in a project
//
// Every live resource the project holds, including kinds that cannot be moved out of it: they still count toward the project's resourceCount and its delete guard. Ordered by name. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{id}/resources (the `ListProjectResources` operationId).
ListProjectResourcesWithResponse(ctx context.Context, id string, params *ListProjectResourcesParams, reqEditors ...RequestEditorFn) (*ListProjectResourcesResponse, error)
// MoveProjectResourceWithResponse Move a resource into a project
//
// Files the resource in this project, moving it out of whichever project it is in now; repeating the call is harmless. Answers with the destination project. Within one account only, and not every kind of resource can be moved: those authorized through a parent, such as public IPs and firewall rules, are refused. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{id}/resources/{resourceId} (the `MoveProjectResource` operationId).
MoveProjectResourceWithResponse(ctx context.Context, id string, resourceId string, reqEditors ...RequestEditorFn) (*MoveProjectResourceResponse, error)
// ListSshKeysWithResponse List the token's own SSH keys
//
// Keys are person-owned. A CUSTOMER_PAT sees its own person's keys; an ACCOUNT_SERVICE token has no person and is refused. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ssh-keys (the `ListSshKeys` operationId).
ListSshKeysWithResponse(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
// CreateSshKeyWithBodyWithResponse Register an SSH public key
//
// The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithBodyWithResponse(ctx context.Context, params *CreateSshKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
// CreateSshKeyWithResponse Register an SSH public key
//
// The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
CreateSshKeyWithResponse(ctx context.Context, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)
// DeleteSshKeyWithResponse Delete an SSH key
//
// Refused with 409 while the key is still linked to a virtual machine — unlink it from them first, then delete it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ssh-keys/{id} (the `DeleteSshKey` operationId).
DeleteSshKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
// UpdateSshKeyWithBodyWithResponse Rename an SSH key
//
// Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
UpdateSshKeyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshKeyResponse, error)
// UpdateSshKeyWithResponse Rename an SSH key
//
// Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
UpdateSshKeyWithResponse(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshKeyResponse, error)
// ListSupportTicketsWithResponse List the account's support tickets
//
// Cursor-paginated, most recently updated first. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Filter with `status` (repeatable: open, waiting-on-you, resolved, closed) and `q` (free text). The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
ListSupportTicketsWithResponse(ctx context.Context, params *ListSupportTicketsParams, reqEditors ...RequestEditorFn) (*ListSupportTicketsResponse, error)
// CreateSupportTicketWithBodyWithResponse Raise a support ticket
//
// Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
CreateSupportTicketWithBodyWithResponse(ctx context.Context, params *CreateSupportTicketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportTicketResponse, error)
// CreateSupportTicketWithResponse Raise a support ticket
//
// Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
CreateSupportTicketWithResponse(ctx context.Context, params *CreateSupportTicketParams, body CreateSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportTicketResponse, error)
// GetSupportTicketWithResponse Get a support ticket and its conversation
//
// The ticket, its original description and its visible conversation, oldest first. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/support/tickets/{id} (the `GetSupportTicket` operationId).
GetSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSupportTicketResponse, error)
// ResolveSupportTicketWithResponse Resolve a support ticket
//
// Marks the ticket resolved and answers with the ticket summary. A later reply reopens it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets/{id}/actions/resolve (the `ResolveSupportTicket` operationId).
ResolveSupportTicketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ResolveSupportTicketResponse, error)
// GetSupportTicketAttachmentWithResponse Download a ticket attachment
//
// The attachment's bytes, always served as an opaque download. 404 if the ticket has no such attachment among those the caller can see. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/support/tickets/{id}/attachments/{attachmentId} (the `GetSupportTicketAttachment` operationId).
GetSupportTicketAttachmentWithResponse(ctx context.Context, id string, attachmentId string, reqEditors ...RequestEditorFn) (*GetSupportTicketAttachmentResponse, error)
// CreateSupportTicketReplyWithBodyWithResponse Reply on a support ticket
//
// Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
CreateSupportTicketReplyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportTicketReplyResponse, error)
// CreateSupportTicketReplyWithResponse Reply on a support ticket
//
// Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
CreateSupportTicketReplyWithResponse(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportTicketReplyResponse, error)
// ListTransactionsWithResponse List transactions for the account
//
// Invoices and credit notes, cursor-paginated, newest first. Credit notes are negative and appear once posted to the accounting system. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Answers 502 when credit notes cannot be read, rather than a page without them.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/transactions (the `ListTransactions` operationId).
ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*ListTransactionsResponse, error)
// ListVipsWithResponse List the account's virtual IPs
//
// One entry per VIP, with its private address, its public overlay address if it has one, and the VMs declared to serve it. In the order /v1/ip-addresses lists their first row. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vips (the `ListVips` operationId).
ListVipsWithResponse(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*ListVipsResponse, error)
// ListVmsWithResponse List virtual machines in the account
//
// Cursor-paginated: pass `cursor` from the previous response's nextCursor to fetch the next page. Use this to find a VM when you do not have its id: filter by current display name with `slug`, or read every VM in the account. Each row is the full VM, so no second call is needed for its details. When you already hold the VM's id, call getVm instead of listing.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms (the `ListVms` operationId).
ListVmsWithResponse(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*ListVmsResponse, error)
// CreateVmWithBodyWithResponse Create a virtual machine
//
// Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms (the `CreateVm` operationId).
CreateVmWithBodyWithResponse(ctx context.Context, params *CreateVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmResponse, error)
// CreateVmWithResponse Create a virtual machine
//
// Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms (the `CreateVm` operationId).
CreateVmWithResponse(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmResponse, error)
// DeleteVmWithResponse Delete a virtual machine
//
// Destroys the VM and its disks. Irreversible. Requires protected:compute. The VM must be stopped: a running VM is refused with 409. Asynchronous: returns 202 with the operation to poll.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id} (the `DeleteVm` operationId).
DeleteVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmResponse, error)
// GetVmWithResponse Get a virtual machine by id
//
// Get one virtual machine by its id, with its current state. Use this when you already hold the id, from listVms or an earlier call. It cannot look a VM up by name: to find an id from a name, call listVms with `slug`. A 404 means no VM of that id in this account.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id} (the `GetVm` operationId).
GetVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmResponse, error)
// AddVmDiskWithBodyWithResponse Attach a data disk to a virtual machine
//
// Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
AddVmDiskWithBodyWithResponse(ctx context.Context, id string, params *AddVmDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVmDiskResponse, error)
// AddVmDiskWithResponse Attach a data disk to a virtual machine
//
// Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
AddVmDiskWithResponse(ctx context.Context, id string, params *AddVmDiskParams, body AddVmDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*AddVmDiskResponse, error)
// ApplyVmPendingRestartWithResponse Apply a pending configuration change by restarting the virtual machine
//
// For a change (such as a resize) that takes effect only after a power cycle: shuts the guest down, then starts it again, as one operation. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/apply-pending-restart (the `ApplyVmPendingRestart` operationId).
ApplyVmPendingRestartWithResponse(ctx context.Context, id string, params *ApplyVmPendingRestartParams, reqEditors ...RequestEditorFn) (*ApplyVmPendingRestartResponse, error)
// BackupVmWithBodyWithResponse Back a virtual machine up now
//
// An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
BackupVmWithBodyWithResponse(ctx context.Context, id string, params *BackupVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupVmResponse, error)
// BackupVmWithResponse Back a virtual machine up now
//
// An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
BackupVmWithResponse(ctx context.Context, id string, params *BackupVmParams, body BackupVmJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupVmResponse, error)
// ForceStopVmWithResponse Force a virtual machine off
//
// Cuts power without asking the guest; unflushed writes may be lost. Asynchronous: returns 202 with the operation to poll.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/force-stop (the `ForceStopVm` operationId).
ForceStopVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ForceStopVmResponse, error)
// RebootVmWithResponse Restart a virtual machine
//
// Shuts the virtual machine down and starts it again. Asynchronous: returns 202 with the operation to poll.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/reboot (the `RebootVm` operationId).
RebootVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootVmResponse, error)
// RenameVmWithBodyWithResponse Rename a virtual machine
//
// Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
RenameVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameVmResponse, error)
// RenameVmWithResponse Rename a virtual machine
//
// Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
RenameVmWithResponse(ctx context.Context, id string, body RenameVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameVmResponse, error)
// ResizeVmWithBodyWithResponse Resize a virtual machine
//
// Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
ResizeVmWithBodyWithResponse(ctx context.Context, id string, params *ResizeVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVmResponse, error)
// ResizeVmWithResponse Resize a virtual machine
//
// Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
ResizeVmWithResponse(ctx context.Context, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVmResponse, error)
// RestoreVmWithBodyWithResponse Restore a virtual machine from one of its backups
//
// Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
RestoreVmWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreVmResponse, error)
// RestoreVmWithResponse Restore a virtual machine from one of its backups
//
// Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
RestoreVmWithResponse(ctx context.Context, id string, body RestoreVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreVmResponse, error)
// ShutdownVmWithResponse Shut down a virtual machine gracefully
//
// Asks the guest OS to shut down. Asynchronous: returns 202 with the operation to poll.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/shutdown (the `ShutdownVm` operationId).
ShutdownVmWithResponse(ctx context.Context, id string, params *ShutdownVmParams, reqEditors ...RequestEditorFn) (*ShutdownVmResponse, error)
// StartVmWithResponse Start a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/actions/start (the `StartVm` operationId).
StartVmWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartVmResponse, error)
// DeleteVmBackupPolicyWithResponse Remove a virtual machine's backup policy
//
// Stops future scheduled backups. Nothing is deleted: every existing backup stays where it is. 404 when the VM had no policy.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/backup-policy (the `DeleteVmBackupPolicy` operationId).
DeleteVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVmBackupPolicyResponse, error)
// GetVmBackupPolicyWithResponse Get a virtual machine's backup policy
//
// 404 for either an unknown VM or a VM with no policy — absence is the status, not a policy with empty fields.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/backup-policy (the `GetVmBackupPolicy` operationId).
GetVmBackupPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVmBackupPolicyResponse, error)
// UpdateVmBackupPolicyWithBodyWithResponse Set a virtual machine's backup policy
//
// Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
UpdateVmBackupPolicyWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmBackupPolicyResponse, error)
// UpdateVmBackupPolicyWithResponse Set a virtual machine's backup policy
//
// Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
UpdateVmBackupPolicyWithResponse(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmBackupPolicyResponse, error)
// PreviewVmBackupPolicyRotationWithBodyWithResponse Preview what a retention set would delete
//
// A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
PreviewVmBackupPolicyRotationWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewVmBackupPolicyRotationResponse, error)
// PreviewVmBackupPolicyRotationWithResponse Preview what a retention set would delete
//
// A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
PreviewVmBackupPolicyRotationWithResponse(ctx context.Context, id string, body PreviewVmBackupPolicyRotationJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewVmBackupPolicyRotationResponse, error)
// ListVmBackupsWithResponse List a virtual machine's backups
//
// Newest first. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/backups (the `ListVmBackups` operationId).
ListVmBackupsWithResponse(ctx context.Context, id string, params *ListVmBackupsParams, reqEditors ...RequestEditorFn) (*ListVmBackupsResponse, error)
// DeleteVmBackupWithResponse Forget one backup of a virtual machine
//
// Requires protected:backup. Permanently deletes the named backup's archive. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/backups/{startedAt} (the `DeleteVmBackup` operationId).
DeleteVmBackupWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*DeleteVmBackupResponse, error)
// RestoreVmBackupToNewVmWithBodyWithResponse Restore a backup onto a new virtual machine
//
// Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
RestoreVmBackupToNewVmWithBodyWithResponse(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreVmBackupToNewVmResponse, error)
// RestoreVmBackupToNewVmWithResponse Restore a backup onto a new virtual machine
//
// Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
RestoreVmBackupToNewVmWithResponse(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, body RestoreVmBackupToNewVmJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreVmBackupToNewVmResponse, error)
// UpdateVmBackupProtectionWithBodyWithResponse Protect or release one backup
//
// A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
UpdateVmBackupProtectionWithBodyWithResponse(ctx context.Context, id string, startedAt int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmBackupProtectionResponse, error)
// UpdateVmBackupProtectionWithResponse Protect or release one backup
//
// A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
UpdateVmBackupProtectionWithResponse(ctx context.Context, id string, startedAt int64, body UpdateVmBackupProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmBackupProtectionResponse, error)
// ListVmBackupRestoreSitesWithResponse List the datacenters a backup can be restored to as a new VM
//
// The datacenters that can take this backup as a new virtual machine, each with whether it has room. An empty list means the backup cannot be restored to a new VM. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/backups/{startedAt}/restore-sites (the `ListVmBackupRestoreSites` operationId).
ListVmBackupRestoreSitesWithResponse(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*ListVmBackupRestoreSitesResponse, error)
// ListVmDisksWithResponse List a virtual machine's disks
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/disks (the `ListVmDisks` operationId).
ListVmDisksWithResponse(ctx context.Context, id string, params *ListVmDisksParams, reqEditors ...RequestEditorFn) (*ListVmDisksResponse, error)
// ListVmFirewallRulesWithResponse List firewall rules that apply to a virtual machine
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/firewall-rules (the `ListVmFirewallRules` operationId).
ListVmFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVmFirewallRulesResponse, error)
// CreateVmFirewallRuleWithBodyWithResponse Add a firewall rule to a virtual machine
//
// Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
CreateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmFirewallRuleResponse, error)
// CreateVmFirewallRuleWithResponse Add a firewall rule to a virtual machine
//
// Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
CreateVmFirewallRuleWithResponse(ctx context.Context, id string, params *CreateVmFirewallRuleParams, body CreateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmFirewallRuleResponse, error)
// DeleteVmFirewallRulesWithBodyWithResponse Remove several firewall rules from a virtual machine
//
// Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
DeleteVmFirewallRulesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRulesResponse, error)
// DeleteVmFirewallRulesWithResponse Remove several firewall rules from a virtual machine
//
// Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
DeleteVmFirewallRulesWithResponse(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRulesResponse, error)
// DeleteVmFirewallRuleWithResponse Remove a firewall rule from a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/firewall-rules/{ruleId} (the `DeleteVmFirewallRule` operationId).
DeleteVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteVmFirewallRuleResponse, error)
// UpdateVmFirewallRuleWithBodyWithResponse Update a firewall rule on a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
UpdateVmFirewallRuleWithBodyWithResponse(ctx context.Context, id string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmFirewallRuleResponse, error)
// UpdateVmFirewallRuleWithResponse Update a firewall rule on a virtual machine
//
// Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
UpdateVmFirewallRuleWithResponse(ctx context.Context, id string, ruleId string, body UpdateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmFirewallRuleResponse, error)
// ListVmNetworkInterfacesWithResponse List a virtual machine's network interfaces
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/network-interfaces (the `ListVmNetworkInterfaces` operationId).
ListVmNetworkInterfacesWithResponse(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, reqEditors ...RequestEditorFn) (*ListVmNetworkInterfacesResponse, error)
// AttachVmNetworkInterfaceWithBodyWithResponse Attach a network interface to a virtual machine
//
// Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
AttachVmNetworkInterfaceWithBodyWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVmNetworkInterfaceResponse, error)
// AttachVmNetworkInterfaceWithResponse Attach a network interface to a virtual machine
//
// Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
AttachVmNetworkInterfaceWithResponse(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, body AttachVmNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVmNetworkInterfaceResponse, error)
// DetachVmNetworkInterfaceWithResponse Detach a network interface from a virtual machine
//
// Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/network-interfaces/{nicId} (the `DetachVmNetworkInterface` operationId).
DetachVmNetworkInterfaceWithResponse(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*DetachVmNetworkInterfaceResponse, error)
// ListVmPrivateIpsWithResponse List the private IP addresses leased to a virtual machine
//
// One entry per lease, across all of the VM's network interfaces. The id is the leaseId that privateLeaseId on POST /v1/vms/{id}/public-ips takes. Private addresses cannot be released through the API. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/private-ips (the `ListVmPrivateIps` operationId).
ListVmPrivateIpsWithResponse(ctx context.Context, id string, params *ListVmPrivateIpsParams, reqEditors ...RequestEditorFn) (*ListVmPrivateIpsResponse, error)
// CreateVmPrivateIpWithBodyWithResponse Add a private IP address to a virtual machine's network interface
//
// Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
CreateVmPrivateIpWithBodyWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmPrivateIpResponse, error)
// CreateVmPrivateIpWithResponse Add a private IP address to a virtual machine's network interface
//
// Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
CreateVmPrivateIpWithResponse(ctx context.Context, id string, params *CreateVmPrivateIpParams, body CreateVmPrivateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmPrivateIpResponse, error)
// ListVmPublicIpsWithResponse List public IPs attached to a virtual machine
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/public-ips (the `ListVmPublicIps` operationId).
ListVmPublicIpsWithResponse(ctx context.Context, id string, params *ListVmPublicIpsParams, reqEditors ...RequestEditorFn) (*ListVmPublicIpsResponse, error)
// AttachVmPublicIpWithResponse Attach a public IP to a virtual machine
//
// Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the VM's public-IP cap (the PUBLIC_IPS_PER_VM key) or the account's (the PUBLIC_IP key), and with a transitional 409 while THIS VM already has an attach in flight — the guard is keyed on the VM, so a concurrent attach on another of the account's VMs is not refused. privateLeaseId optionally names the VM's private address (a leaseId from GET /v1/vms/{id}/private-ips) the public IP is NATed to; absent keeps the primary interface's address. The operation fails if the named private address already has a public IP, or if the guest's firewall would not pass traffic to it. reservedIpId optionally names one of the account's unattached Reserved IPs (GET /v1/vpcs/{id}/reserved-ips) to attach instead of drawing one from the pool: 404 if the account does not hold it, 409 if it is already attached. It is exempt from the account's PUBLIC_IP cap, which already counts it, but not from the VM's. Detaching it later keeps the reservation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/public-ips (the `AttachVmPublicIp` operationId).
AttachVmPublicIpWithResponse(ctx context.Context, id string, params *AttachVmPublicIpParams, reqEditors ...RequestEditorFn) (*AttachVmPublicIpResponse, error)
// DetachVmPublicIpWithResponse Detach a public IP from a virtual machine
//
// Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location. Refuses with a transitional 409 while THAT ADDRESS already has a release in flight — keyed on the address, not the VM.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/public-ips/{publicIpId} (the `DetachVmPublicIp` operationId).
DetachVmPublicIpWithResponse(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*DetachVmPublicIpResponse, error)
// ListVmSshKeysWithResponse List the SSH keys linked to a virtual machine
//
// Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vms/{id}/ssh-keys (the `ListVmSshKeys` operationId).
ListVmSshKeysWithResponse(ctx context.Context, id string, params *ListVmSshKeysParams, reqEditors ...RequestEditorFn) (*ListVmSshKeysResponse, error)
// DetachVmSshKeyWithResponse Take an SSH key away from a virtual machine
//
// Does not delete the key; it stops being installed on this VM.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/ssh-keys/{keyId} (the `DetachVmSshKey` operationId).
DetachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*DetachVmSshKeyResponse, error)
// AttachVmSshKeyWithResponse Make an SSH key usable by a virtual machine
//
// The key must belong to the token's own person — a key is never usable by an account at large. Use `GET /v1/ssh-keys` for the ids.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/vms/{id}/ssh-keys/{keyId} (the `AttachVmSshKey` operationId).
AttachVmSshKeyWithResponse(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*AttachVmSshKeyResponse, error)
// RemoveVmFromVipWithResponse Take a VM out of a VIP's members
//
// Requires protected:network, and manage access to both the VM and the VIP's VPC. Withdraws the VM's declaration; the permits it no longer needs come off shortly after the operation completes, and traffic to the VIP stops reaching the VM. Refuses as bind does. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vms/{id}/vips/{vipId} (the `RemoveVmFromVip` operationId).
RemoveVmFromVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*RemoveVmFromVipResponse, error)
// AddVmToVipWithResponse Make a VM a member of a VIP
//
// Requires protected:network, and manage access to both the VM and the VIP's VPC. Declares the VM as a server that answers for the VIP's address and permits the VIP's traffic to it; the platform does not elect a holder, so the guest must configure the address itself. Declaring a VM that is already a member changes nothing. Refuses with 409 for a VIP that a Kubernetes cluster's LoadBalancer Service owns, a VM the platform manages, and a VIP with no VPC on record. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vms/{id}/vips/{vipId} (the `AddVmToVip` operationId).
AddVmToVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*AddVmToVipResponse, error)
// ListVpcsWithResponse List VPCs in the account
//
// Ordered by name, case-insensitively. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vpcs (the `ListVpcs` operationId).
ListVpcsWithResponse(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*ListVpcsResponse, error)
// CreateVpcWithBodyWithResponse Create a VPC
//
// Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
CreateVpcWithBodyWithResponse(ctx context.Context, params *CreateVpcParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpcResponse, error)
// CreateVpcWithResponse Create a VPC
//
// Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
CreateVpcWithResponse(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpcResponse, error)
// DeleteVpcWithResponse Delete a VPC
//
// Retracts the VPC and returns its range to the pool. Irreversible. Requires protected:network. Synchronous: returns 204. Refuses with 409 while a VM still holds a lease on its private network. The backend's typed blocker list is not forwarded, and its body carries no detail for the gateway to read, so the 409 names neither the VMs nor how many: the detail is this API's generic conflict sentence.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vpcs/{id} (the `DeleteVpc` operationId).
DeleteVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVpcResponse, error)
// GetVpcWithResponse Get a VPC by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vpcs/{id} (the `GetVpc` operationId).
GetVpcWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVpcResponse, error)
// UpdateVpcWithBodyWithResponse Rename a VPC
//
// Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
UpdateVpcWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVpcResponse, error)
// UpdateVpcWithResponse Rename a VPC
//
// Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
UpdateVpcWithResponse(ctx context.Context, id string, body UpdateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVpcResponse, error)
// ListVpcFirewallRulesWithResponse List firewall rules that apply to a VPC
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vpcs/{id}/firewall-rules (the `ListVpcFirewallRules` operationId).
ListVpcFirewallRulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListVpcFirewallRulesResponse, error)
// ListVpcReservedIpsWithResponse List the account's reserved public IPs
//
// Requires read:network. The account's reservations in address order, attached or idle; the VPC in the path is only the object the request is authorised on. Cursor-paginated: follow nextCursor via `?cursor=`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vpcs/{id}/reserved-ips (the `ListVpcReservedIps` operationId).
ListVpcReservedIpsWithResponse(ctx context.Context, id string, params *ListVpcReservedIpsParams, reqEditors ...RequestEditorFn) (*ListVpcReservedIpsResponse, error)
// CreateVpcReservedIpWithResponse Reserve a public IP
//
// Requires write:network. Must carry an Idempotency-Key header. Takes a free public address from the pool and holds it for the account until it is released; the address is not a parameter. Synchronous: returns 200 with the reservation. Refuses with 409 when no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key), which a reservation counts against whether or not it is attached. A retry with the same Idempotency-Key replays a 200 already returned; after a timeout or 5xx, or under a new key, it may reserve a second address, so list GET /v1/vpcs/{id}/reserved-ips first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/reserved-ips (the `CreateVpcReservedIp` operationId).
CreateVpcReservedIpWithResponse(ctx context.Context, id string, params *CreateVpcReservedIpParams, reqEditors ...RequestEditorFn) (*CreateVpcReservedIpResponse, error)
// DeleteVpcReservedIpWithResponse Release a reserved public IP
//
// Requires protected:network. Returns the address to the pool. Synchronous: returns 204. Refuses with 409 while a VM or a VIP holds the address; detach it first. A retry after a lost answer is a 404, the address no longer being the account's.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vpcs/{id}/reserved-ips/{publicIpId} (the `DeleteVpcReservedIp` operationId).
DeleteVpcReservedIpWithResponse(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*DeleteVpcReservedIpResponse, error)
// CreateVpcVipWithResponse Reserve a VIP in a VPC
//
// Requires write:network. Must carry an Idempotency-Key header. Takes a free private address from the VPC's network; the address is not a parameter. Asynchronous: returns 202 with the operation to poll at Location; a succeeded operation's createdResource names the new VIP, whose id the other /v1/vpcs/{id}/vips routes take.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips (the `CreateVpcVip` operationId).
CreateVpcVipWithResponse(ctx context.Context, id string, params *CreateVpcVipParams, reqEditors ...RequestEditorFn) (*CreateVpcVipResponse, error)
// DeleteVpcVipWithResponse Release a VIP
//
// Requires protected:network. Returns the private address to the VPC's network; it may be given to someone else. Refuses with 409 while the VIP has a public IP: detach it first. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId} (the `DeleteVpcVip` operationId).
DeleteVpcVipWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DeleteVpcVipResponse, error)
// ListVpcVipFirewallRulesWithResponse List firewall rules that apply to a VIP
//
// The rules addressed to the VIP's public IP that name no VM.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `ListVpcVipFirewallRules` operationId).
ListVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*ListVpcVipFirewallRulesResponse, error)
// CreateVpcVipFirewallRuleWithBodyWithResponse Add a firewall rule to a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
CreateVpcVipFirewallRuleWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpcVipFirewallRuleResponse, error)
// CreateVpcVipFirewallRuleWithResponse Add a firewall rule to a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
CreateVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, body CreateVpcVipFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpcVipFirewallRuleResponse, error)
// DeleteVpcVipFirewallRulesWithBodyWithResponse Remove several firewall rules from a VIP
//
// Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
DeleteVpcVipFirewallRulesWithBodyWithResponse(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRulesResponse, error)
// DeleteVpcVipFirewallRulesWithResponse Remove several firewall rules from a VIP
//
// Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
DeleteVpcVipFirewallRulesWithResponse(ctx context.Context, id string, vipId string, body DeleteVpcVipFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRulesResponse, error)
// DeleteVpcVipFirewallRuleWithResponse Remove a firewall rule from a VIP
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId} (the `DeleteVpcVipFirewallRule` operationId).
DeleteVpcVipFirewallRuleWithResponse(ctx context.Context, id string, vipId string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteVpcVipFirewallRuleResponse, error)
// SetVpcVipFirewallRuleDescriptionWithBodyWithResponse Set the description of a VIP firewall rule
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
SetVpcVipFirewallRuleDescriptionWithBodyWithResponse(ctx context.Context, id string, vipId string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVpcVipFirewallRuleDescriptionResponse, error)
// SetVpcVipFirewallRuleDescriptionWithResponse Set the description of a VIP firewall rule
//
// Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
SetVpcVipFirewallRuleDescriptionWithResponse(ctx context.Context, id string, vipId string, ruleId string, body SetVpcVipFirewallRuleDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVpcVipFirewallRuleDescriptionResponse, error)
// DetachVpcVipPublicIpWithResponse Take a VIP's public IP off
//
// Requires protected:network. Returns the address to the pool. Synchronous: returns 200 with the VIP; a VIP with no public IP answers 200 unchanged. Refuses with 409 while firewall rules on the VIP remain (remove them with /v1/vpcs/{id}/vips/{vipId}/firewall-rules first), and for a VIP the platform manages.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/public-ip (the `DetachVpcVipPublicIp` operationId).
DetachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*DetachVpcVipPublicIpResponse, error)
// AttachVpcVipPublicIpWithResponse Give a VIP a public IP
//
// Requires protected:network. Must carry an Idempotency-Key header. Takes a free public address from the pool; the address is not a parameter. Synchronous: returns 200 with the VIP. Refuses with 409 when the VIP already has a public IP or no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key). If the answer to an attach is lost, a retry with the same Idempotency-Key replays the 200; under a new key it answers 409, so list GET /v1/vips and treat a VIP that now has a publicAddress as attached.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/public-ip (the `AttachVpcVipPublicIp` operationId).
AttachVpcVipPublicIpWithResponse(ctx context.Context, id string, vipId string, params *AttachVpcVipPublicIpParams, reqEditors ...RequestEditorFn) (*AttachVpcVipPublicIpResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateAiSandboxJSONBody ¶
type CreateAiSandboxJSONBody = map[string]interface{}
CreateAiSandboxJSONBody defines parameters for CreateAiSandbox.
type CreateAiSandboxJSONRequestBody ¶
type CreateAiSandboxJSONRequestBody = CreateAiSandboxJSONBody
CreateAiSandboxJSONRequestBody defines body for CreateAiSandbox for application/json ContentType.
type CreateAiSandboxParams ¶
type CreateAiSandboxParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateAiSandboxParams defines parameters for CreateAiSandbox.
type CreateAiSandboxResponse ¶
type CreateAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateAiSandboxResponse201Headers
}
func ParseCreateAiSandboxResponse ¶
func ParseCreateAiSandboxResponse(rsp *http.Response) (*CreateAiSandboxResponse, error)
ParseCreateAiSandboxResponse parses an HTTP response from a CreateAiSandboxWithResponse call
func (CreateAiSandboxResponse) ContentType ¶
func (r CreateAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAiSandboxResponse) GetApplicationproblemJSON400 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON409 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON422 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateAiSandboxResponse) GetApplicationproblemJSON503 ¶
func (r CreateAiSandboxResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateAiSandboxResponse) GetBody ¶
func (r CreateAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAiSandboxResponse) Status ¶
func (r CreateAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAiSandboxResponse) StatusCode ¶
func (r CreateAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAiSandboxResponse201Headers ¶
type CreateAiSandboxResponse201Headers struct {
Location *string
}
CreateAiSandboxResponse201Headers the declared response headers of an HTTP 201 response for CreateAiSandbox
type CreateBucketJSONRequestBody ¶
type CreateBucketJSONRequestBody = PublicOrderBucketRequest
CreateBucketJSONRequestBody defines body for CreateBucket for application/json ContentType.
type CreateBucketKeyJSONRequestBody ¶
type CreateBucketKeyJSONRequestBody = PublicCreateBucketKeyRequest
CreateBucketKeyJSONRequestBody defines body for CreateBucketKey for application/json ContentType.
type CreateBucketKeyParams ¶
type CreateBucketKeyParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateBucketKeyParams defines parameters for CreateBucketKey.
type CreateBucketKeyResponse ¶
type CreateBucketKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicBucketKeyCreatedDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateBucketKeyResponse201Headers
}
func ParseCreateBucketKeyResponse ¶
func ParseCreateBucketKeyResponse(rsp *http.Response) (*CreateBucketKeyResponse, error)
ParseCreateBucketKeyResponse parses an HTTP response from a CreateBucketKeyWithResponse call
func (CreateBucketKeyResponse) ContentType ¶
func (r CreateBucketKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBucketKeyResponse) GetApplicationproblemJSON400 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON401 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON403 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON404 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON422 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON429 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateBucketKeyResponse) GetApplicationproblemJSON500 ¶
func (r CreateBucketKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateBucketKeyResponse) GetBody ¶
func (r CreateBucketKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBucketKeyResponse) GetJSON201 ¶
func (r CreateBucketKeyResponse) GetJSON201() *PublicBucketKeyCreatedDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateBucketKeyResponse) Status ¶
func (r CreateBucketKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBucketKeyResponse) StatusCode ¶
func (r CreateBucketKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBucketKeyResponse201Headers ¶
type CreateBucketKeyResponse201Headers struct {
Location *string
}
CreateBucketKeyResponse201Headers the declared response headers of an HTTP 201 response for CreateBucketKey
type CreateBucketParams ¶
type CreateBucketParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateBucketParams defines parameters for CreateBucket.
type CreateBucketResponse ¶
type CreateBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateBucketResponse202Headers
}
func ParseCreateBucketResponse ¶
func ParseCreateBucketResponse(rsp *http.Response) (*CreateBucketResponse, error)
ParseCreateBucketResponse parses an HTTP response from a CreateBucketWithResponse call
func (CreateBucketResponse) ContentType ¶
func (r CreateBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBucketResponse) GetApplicationproblemJSON400 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON401 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON403 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON409 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON422 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON429 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON500 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateBucketResponse) GetApplicationproblemJSON503 ¶
func (r CreateBucketResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateBucketResponse) GetBody ¶
func (r CreateBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBucketResponse) GetJSON202 ¶
func (r CreateBucketResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateBucketResponse) Status ¶
func (r CreateBucketResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBucketResponse) StatusCode ¶
func (r CreateBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBucketResponse202Headers ¶
type CreateBucketResponse202Headers struct {
Location *string
}
CreateBucketResponse202Headers the declared response headers of an HTTP 202 response for CreateBucket
type CreateCardCheckoutParams ¶
type CreateCardCheckoutParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateCardCheckoutParams defines parameters for CreateCardCheckout.
type CreateCardCheckoutResponse ¶
type CreateCardCheckoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicCheckoutDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseCreateCardCheckoutResponse ¶
func ParseCreateCardCheckoutResponse(rsp *http.Response) (*CreateCardCheckoutResponse, error)
ParseCreateCardCheckoutResponse parses an HTTP response from a CreateCardCheckoutWithResponse call
func (CreateCardCheckoutResponse) ContentType ¶
func (r CreateCardCheckoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCardCheckoutResponse) GetApplicationproblemJSON401 ¶
func (r CreateCardCheckoutResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateCardCheckoutResponse) GetApplicationproblemJSON403 ¶
func (r CreateCardCheckoutResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateCardCheckoutResponse) GetApplicationproblemJSON429 ¶
func (r CreateCardCheckoutResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateCardCheckoutResponse) GetApplicationproblemJSON500 ¶
func (r CreateCardCheckoutResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateCardCheckoutResponse) GetApplicationproblemJSON503 ¶
func (r CreateCardCheckoutResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateCardCheckoutResponse) GetBody ¶
func (r CreateCardCheckoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCardCheckoutResponse) GetJSON201 ¶
func (r CreateCardCheckoutResponse) GetJSON201() *PublicCheckoutDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCardCheckoutResponse) Status ¶
func (r CreateCardCheckoutResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCardCheckoutResponse) StatusCode ¶
func (r CreateCardCheckoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCardLinkResponse ¶
type CreateCardLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicCardLinkDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCreateCardLinkResponse ¶
func ParseCreateCardLinkResponse(rsp *http.Response) (*CreateCardLinkResponse, error)
ParseCreateCardLinkResponse parses an HTTP response from a CreateCardLinkWithResponse call
func (CreateCardLinkResponse) ContentType ¶
func (r CreateCardLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCardLinkResponse) GetApplicationproblemJSON401 ¶
func (r CreateCardLinkResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateCardLinkResponse) GetApplicationproblemJSON403 ¶
func (r CreateCardLinkResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateCardLinkResponse) GetApplicationproblemJSON429 ¶
func (r CreateCardLinkResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateCardLinkResponse) GetApplicationproblemJSON500 ¶
func (r CreateCardLinkResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateCardLinkResponse) GetBody ¶
func (r CreateCardLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCardLinkResponse) GetJSON200 ¶
func (r CreateCardLinkResponse) GetJSON200() *PublicCardLinkDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateCardLinkResponse) Status ¶
func (r CreateCardLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCardLinkResponse) StatusCode ¶
func (r CreateCardLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateElevationRequestJSONRequestBody ¶
type CreateElevationRequestJSONRequestBody = PublicElevationRequestBody
CreateElevationRequestJSONRequestBody defines body for CreateElevationRequest for application/json ContentType.
type CreateElevationRequestParams ¶
type CreateElevationRequestParams struct {
// XCloudAfricaElevation A client-held secret: `cae_` followed by at least 43 base64url characters (32 random bytes). Send it again on every call that needs a step-up. Required for a user API token; an OAuth sign-in pairs its grant and sends none.
XCloudAfricaElevation *string `json:"X-CloudAfrica-Elevation,omitempty"`
}
CreateElevationRequestParams defines parameters for CreateElevationRequest.
type CreateElevationRequestResponse ¶
type CreateElevationRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicElevationRequestDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseCreateElevationRequestResponse ¶
func ParseCreateElevationRequestResponse(rsp *http.Response) (*CreateElevationRequestResponse, error)
ParseCreateElevationRequestResponse parses an HTTP response from a CreateElevationRequestWithResponse call
func (CreateElevationRequestResponse) ContentType ¶
func (r CreateElevationRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateElevationRequestResponse) GetApplicationproblemJSON400 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateElevationRequestResponse) GetApplicationproblemJSON401 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateElevationRequestResponse) GetApplicationproblemJSON403 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateElevationRequestResponse) GetApplicationproblemJSON429 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateElevationRequestResponse) GetApplicationproblemJSON500 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateElevationRequestResponse) GetApplicationproblemJSON503 ¶
func (r CreateElevationRequestResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateElevationRequestResponse) GetBody ¶
func (r CreateElevationRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateElevationRequestResponse) GetJSON200 ¶
func (r CreateElevationRequestResponse) GetJSON200() *PublicElevationRequestDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateElevationRequestResponse) Status ¶
func (r CreateElevationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (CreateElevationRequestResponse) StatusCode ¶
func (r CreateElevationRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateKubernetesClusterJSONRequestBody ¶
type CreateKubernetesClusterJSONRequestBody = PublicKubernetesClusterCreateRequest
CreateKubernetesClusterJSONRequestBody defines body for CreateKubernetesCluster for application/json ContentType.
type CreateKubernetesClusterParams ¶
type CreateKubernetesClusterParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateKubernetesClusterParams defines parameters for CreateKubernetesCluster.
type CreateKubernetesClusterResponse ¶
type CreateKubernetesClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicKubernetesClusterDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateKubernetesClusterResponse201Headers
}
func ParseCreateKubernetesClusterResponse ¶
func ParseCreateKubernetesClusterResponse(rsp *http.Response) (*CreateKubernetesClusterResponse, error)
ParseCreateKubernetesClusterResponse parses an HTTP response from a CreateKubernetesClusterWithResponse call
func (CreateKubernetesClusterResponse) ContentType ¶
func (r CreateKubernetesClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON400 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON401 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON403 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON404 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON409 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON422 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON429 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetApplicationproblemJSON500 ¶
func (r CreateKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateKubernetesClusterResponse) GetBody ¶
func (r CreateKubernetesClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateKubernetesClusterResponse) GetJSON201 ¶
func (r CreateKubernetesClusterResponse) GetJSON201() *PublicKubernetesClusterDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateKubernetesClusterResponse) Status ¶
func (r CreateKubernetesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateKubernetesClusterResponse) StatusCode ¶
func (r CreateKubernetesClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateKubernetesClusterResponse201Headers ¶
type CreateKubernetesClusterResponse201Headers struct {
Location *string
}
CreateKubernetesClusterResponse201Headers the declared response headers of an HTTP 201 response for CreateKubernetesCluster
type CreateKubernetesClusterTokenResponse ¶
type CreateKubernetesClusterTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicClusterTokenDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseCreateKubernetesClusterTokenResponse ¶
func ParseCreateKubernetesClusterTokenResponse(rsp *http.Response) (*CreateKubernetesClusterTokenResponse, error)
ParseCreateKubernetesClusterTokenResponse parses an HTTP response from a CreateKubernetesClusterTokenWithResponse call
func (CreateKubernetesClusterTokenResponse) ContentType ¶
func (r CreateKubernetesClusterTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON401 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON403 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON404 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON409 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON429 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON500 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON503 ¶
func (r CreateKubernetesClusterTokenResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateKubernetesClusterTokenResponse) GetBody ¶
func (r CreateKubernetesClusterTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateKubernetesClusterTokenResponse) GetJSON200 ¶
func (r CreateKubernetesClusterTokenResponse) GetJSON200() *PublicClusterTokenDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateKubernetesClusterTokenResponse) Status ¶
func (r CreateKubernetesClusterTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateKubernetesClusterTokenResponse) StatusCode ¶
func (r CreateKubernetesClusterTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMemberJSONRequestBody ¶
type CreateMemberJSONRequestBody = PublicMemberInviteRequest
CreateMemberJSONRequestBody defines body for CreateMember for application/json ContentType.
type CreateMemberResponse ¶
type CreateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicMemberInviteDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseCreateMemberResponse ¶
func ParseCreateMemberResponse(rsp *http.Response) (*CreateMemberResponse, error)
ParseCreateMemberResponse parses an HTTP response from a CreateMemberWithResponse call
func (CreateMemberResponse) ContentType ¶
func (r CreateMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMemberResponse) GetApplicationproblemJSON400 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateMemberResponse) GetApplicationproblemJSON401 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateMemberResponse) GetApplicationproblemJSON403 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateMemberResponse) GetApplicationproblemJSON429 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateMemberResponse) GetApplicationproblemJSON500 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateMemberResponse) GetApplicationproblemJSON503 ¶
func (r CreateMemberResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateMemberResponse) GetBody ¶
func (r CreateMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMemberResponse) GetJSON200 ¶
func (r CreateMemberResponse) GetJSON200() *PublicMemberInviteDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateMemberResponse) Status ¶
func (r CreateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMemberResponse) StatusCode ¶
func (r CreateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateObjectDownloadUrlJSONRequestBody ¶ added in v0.3.0
type CreateObjectDownloadUrlJSONRequestBody = PublicObjectDownloadUrlRequest
CreateObjectDownloadUrlJSONRequestBody defines body for CreateObjectDownloadUrl for application/json ContentType.
type CreateObjectDownloadUrlResponse ¶ added in v0.3.0
type CreateObjectDownloadUrlResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicObjectDownloadUrlDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCreateObjectDownloadUrlResponse ¶ added in v0.3.0
func ParseCreateObjectDownloadUrlResponse(rsp *http.Response) (*CreateObjectDownloadUrlResponse, error)
ParseCreateObjectDownloadUrlResponse parses an HTTP response from a CreateObjectDownloadUrlWithResponse call
func (CreateObjectDownloadUrlResponse) ContentType ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateObjectDownloadUrlResponse) GetBody ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateObjectDownloadUrlResponse) GetJSON200 ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) GetJSON200() *PublicObjectDownloadUrlDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateObjectDownloadUrlResponse) Status ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) Status() string
Status returns HTTPResponse.Status
func (CreateObjectDownloadUrlResponse) StatusCode ¶ added in v0.3.0
func (r CreateObjectDownloadUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateObjectUploadUrlJSONRequestBody ¶ added in v0.3.0
type CreateObjectUploadUrlJSONRequestBody = PublicObjectUploadUrlRequest
CreateObjectUploadUrlJSONRequestBody defines body for CreateObjectUploadUrl for application/json ContentType.
type CreateObjectUploadUrlResponse ¶ added in v0.3.0
type CreateObjectUploadUrlResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicObjectUploadUrlDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCreateObjectUploadUrlResponse ¶ added in v0.3.0
func ParseCreateObjectUploadUrlResponse(rsp *http.Response) (*CreateObjectUploadUrlResponse, error)
ParseCreateObjectUploadUrlResponse parses an HTTP response from a CreateObjectUploadUrlWithResponse call
func (CreateObjectUploadUrlResponse) ContentType ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON409 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateObjectUploadUrlResponse) GetBody ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateObjectUploadUrlResponse) GetJSON200 ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) GetJSON200() *PublicObjectUploadUrlDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateObjectUploadUrlResponse) Status ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) Status() string
Status returns HTTPResponse.Status
func (CreateObjectUploadUrlResponse) StatusCode ¶ added in v0.3.0
func (r CreateObjectUploadUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePlacementGroupJSONRequestBody ¶
type CreatePlacementGroupJSONRequestBody = PublicPlacementGroupCreateRequest
CreatePlacementGroupJSONRequestBody defines body for CreatePlacementGroup for application/json ContentType.
type CreatePlacementGroupParams ¶
type CreatePlacementGroupParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreatePlacementGroupParams defines parameters for CreatePlacementGroup.
type CreatePlacementGroupResponse ¶
type CreatePlacementGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicPlacementGroupDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreatePlacementGroupResponse201Headers
}
func ParseCreatePlacementGroupResponse ¶
func ParseCreatePlacementGroupResponse(rsp *http.Response) (*CreatePlacementGroupResponse, error)
ParseCreatePlacementGroupResponse parses an HTTP response from a CreatePlacementGroupWithResponse call
func (CreatePlacementGroupResponse) ContentType ¶
func (r CreatePlacementGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePlacementGroupResponse) GetApplicationproblemJSON400 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON401 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON403 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON409 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON422 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON429 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON500 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreatePlacementGroupResponse) GetApplicationproblemJSON503 ¶
func (r CreatePlacementGroupResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreatePlacementGroupResponse) GetBody ¶
func (r CreatePlacementGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePlacementGroupResponse) GetJSON201 ¶
func (r CreatePlacementGroupResponse) GetJSON201() *PublicPlacementGroupDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePlacementGroupResponse) Status ¶
func (r CreatePlacementGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePlacementGroupResponse) StatusCode ¶
func (r CreatePlacementGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePlacementGroupResponse201Headers ¶
type CreatePlacementGroupResponse201Headers struct {
Location *string
}
CreatePlacementGroupResponse201Headers the declared response headers of an HTTP 201 response for CreatePlacementGroup
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = PublicProjectCreateRequest
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectParams ¶
type CreateProjectParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateProjectParams defines parameters for CreateProject.
type CreateProjectResponse ¶
type CreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicProjectDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateProjectResponse201Headers
}
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResponse) ContentType ¶
func (r CreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectResponse) GetApplicationproblemJSON400 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON401 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON403 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON409 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON422 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON429 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON500 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateProjectResponse) GetApplicationproblemJSON503 ¶
func (r CreateProjectResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateProjectResponse) GetBody ¶
func (r CreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProjectResponse) GetJSON201 ¶
func (r CreateProjectResponse) GetJSON201() *PublicProjectDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProjectResponse) Status ¶
func (r CreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResponse) StatusCode ¶
func (r CreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectResponse201Headers ¶
type CreateProjectResponse201Headers struct {
Location *string
}
CreateProjectResponse201Headers the declared response headers of an HTTP 201 response for CreateProject
type CreateSshKeyJSONRequestBody ¶
type CreateSshKeyJSONRequestBody = PublicCreateSshKeyRequest
CreateSshKeyJSONRequestBody defines body for CreateSshKey for application/json ContentType.
type CreateSshKeyParams ¶
type CreateSshKeyParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateSshKeyParams defines parameters for CreateSshKey.
type CreateSshKeyResponse ¶
type CreateSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicSshKeyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateSshKeyResponse201Headers
}
func ParseCreateSshKeyResponse ¶
func ParseCreateSshKeyResponse(rsp *http.Response) (*CreateSshKeyResponse, error)
ParseCreateSshKeyResponse parses an HTTP response from a CreateSshKeyWithResponse call
func (CreateSshKeyResponse) ContentType ¶
func (r CreateSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSshKeyResponse) GetApplicationproblemJSON400 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON401 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON403 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON409 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON422 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON429 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateSshKeyResponse) GetApplicationproblemJSON500 ¶
func (r CreateSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateSshKeyResponse) GetBody ¶
func (r CreateSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSshKeyResponse) GetJSON201 ¶
func (r CreateSshKeyResponse) GetJSON201() *PublicSshKeyDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSshKeyResponse) Status ¶
func (r CreateSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSshKeyResponse) StatusCode ¶
func (r CreateSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSshKeyResponse201Headers ¶
type CreateSshKeyResponse201Headers struct {
Location *string
}
CreateSshKeyResponse201Headers the declared response headers of an HTTP 201 response for CreateSshKey
type CreateSupportTicketJSONRequestBody ¶
type CreateSupportTicketJSONRequestBody = PublicSupportTicketCreateRequest
CreateSupportTicketJSONRequestBody defines body for CreateSupportTicket for application/json ContentType.
type CreateSupportTicketMultipartBody ¶
type CreateSupportTicketMultipartBody struct {
Attachments *[]openapi_types.File `json:"attachments,omitempty"`
// Request A support ticket to raise.
Request *PublicSupportTicketCreateRequest `json:"request,omitempty"`
}
CreateSupportTicketMultipartBody defines parameters for CreateSupportTicket.
type CreateSupportTicketMultipartRequestBody ¶
type CreateSupportTicketMultipartRequestBody CreateSupportTicketMultipartBody
CreateSupportTicketMultipartRequestBody defines body for CreateSupportTicket for multipart/form-data ContentType.
type CreateSupportTicketParams ¶
type CreateSupportTicketParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateSupportTicketParams defines parameters for CreateSupportTicket.
type CreateSupportTicketReplyJSONRequestBody ¶
type CreateSupportTicketReplyJSONRequestBody = PublicSupportTicketReplyRequest
CreateSupportTicketReplyJSONRequestBody defines body for CreateSupportTicketReply for application/json ContentType.
type CreateSupportTicketReplyMultipartBody ¶
type CreateSupportTicketReplyMultipartBody struct {
Attachments *[]openapi_types.File `json:"attachments,omitempty"`
// Request A reply to post on a support ticket.
Request *PublicSupportTicketReplyRequest `json:"request,omitempty"`
}
CreateSupportTicketReplyMultipartBody defines parameters for CreateSupportTicketReply.
type CreateSupportTicketReplyMultipartRequestBody ¶
type CreateSupportTicketReplyMultipartRequestBody CreateSupportTicketReplyMultipartBody
CreateSupportTicketReplyMultipartRequestBody defines body for CreateSupportTicketReply for multipart/form-data ContentType.
type CreateSupportTicketReplyResponse ¶
type CreateSupportTicketReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSupportTicketDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseCreateSupportTicketReplyResponse ¶
func ParseCreateSupportTicketReplyResponse(rsp *http.Response) (*CreateSupportTicketReplyResponse, error)
ParseCreateSupportTicketReplyResponse parses an HTTP response from a CreateSupportTicketReplyWithResponse call
func (CreateSupportTicketReplyResponse) ContentType ¶
func (r CreateSupportTicketReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON400 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON401 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON403 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON404 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON409 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON422 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON429 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON500 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetApplicationproblemJSON503 ¶
func (r CreateSupportTicketReplyResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateSupportTicketReplyResponse) GetBody ¶
func (r CreateSupportTicketReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSupportTicketReplyResponse) GetJSON200 ¶
func (r CreateSupportTicketReplyResponse) GetJSON200() *PublicSupportTicketDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateSupportTicketReplyResponse) Status ¶
func (r CreateSupportTicketReplyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSupportTicketReplyResponse) StatusCode ¶
func (r CreateSupportTicketReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSupportTicketResponse ¶
type CreateSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicSupportTicketDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateSupportTicketResponse201Headers
}
func ParseCreateSupportTicketResponse ¶
func ParseCreateSupportTicketResponse(rsp *http.Response) (*CreateSupportTicketResponse, error)
ParseCreateSupportTicketResponse parses an HTTP response from a CreateSupportTicketWithResponse call
func (CreateSupportTicketResponse) ContentType ¶
func (r CreateSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSupportTicketResponse) GetApplicationproblemJSON400 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON401 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON403 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON409 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON422 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON429 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON500 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateSupportTicketResponse) GetApplicationproblemJSON503 ¶
func (r CreateSupportTicketResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateSupportTicketResponse) GetBody ¶
func (r CreateSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSupportTicketResponse) GetJSON201 ¶
func (r CreateSupportTicketResponse) GetJSON201() *PublicSupportTicketDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSupportTicketResponse) Status ¶
func (r CreateSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSupportTicketResponse) StatusCode ¶
func (r CreateSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSupportTicketResponse201Headers ¶
type CreateSupportTicketResponse201Headers struct {
Location *string
}
CreateSupportTicketResponse201Headers the declared response headers of an HTTP 201 response for CreateSupportTicket
type CreateVmFirewallRuleJSONRequestBody ¶
type CreateVmFirewallRuleJSONRequestBody = PublicFirewallRuleRequest
CreateVmFirewallRuleJSONRequestBody defines body for CreateVmFirewallRule for application/json ContentType.
type CreateVmFirewallRuleParams ¶
type CreateVmFirewallRuleParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVmFirewallRuleParams defines parameters for CreateVmFirewallRule.
type CreateVmFirewallRuleResponse ¶
type CreateVmFirewallRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateVmFirewallRuleResponse202Headers
}
func ParseCreateVmFirewallRuleResponse ¶
func ParseCreateVmFirewallRuleResponse(rsp *http.Response) (*CreateVmFirewallRuleResponse, error)
ParseCreateVmFirewallRuleResponse parses an HTTP response from a CreateVmFirewallRuleWithResponse call
func (CreateVmFirewallRuleResponse) ContentType ¶
func (r CreateVmFirewallRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON400 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON401 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON403 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON404 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON409 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON422 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON429 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetApplicationproblemJSON500 ¶
func (r CreateVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVmFirewallRuleResponse) GetBody ¶
func (r CreateVmFirewallRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVmFirewallRuleResponse) GetJSON202 ¶
func (r CreateVmFirewallRuleResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateVmFirewallRuleResponse) Status ¶
func (r CreateVmFirewallRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVmFirewallRuleResponse) StatusCode ¶
func (r CreateVmFirewallRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVmFirewallRuleResponse202Headers ¶
type CreateVmFirewallRuleResponse202Headers struct {
Location *string
}
CreateVmFirewallRuleResponse202Headers the declared response headers of an HTTP 202 response for CreateVmFirewallRule
type CreateVmJSONRequestBody ¶
type CreateVmJSONRequestBody = PublicCreateVmRequest
CreateVmJSONRequestBody defines body for CreateVm for application/json ContentType.
type CreateVmParams ¶
type CreateVmParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVmParams defines parameters for CreateVm.
type CreateVmPrivateIpJSONRequestBody ¶
type CreateVmPrivateIpJSONRequestBody = PublicAddPrivateIpRequest
CreateVmPrivateIpJSONRequestBody defines body for CreateVmPrivateIp for application/json ContentType.
type CreateVmPrivateIpParams ¶
type CreateVmPrivateIpParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVmPrivateIpParams defines parameters for CreateVmPrivateIp.
type CreateVmPrivateIpResponse ¶
type CreateVmPrivateIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateVmPrivateIpResponse202Headers
}
func ParseCreateVmPrivateIpResponse ¶
func ParseCreateVmPrivateIpResponse(rsp *http.Response) (*CreateVmPrivateIpResponse, error)
ParseCreateVmPrivateIpResponse parses an HTTP response from a CreateVmPrivateIpWithResponse call
func (CreateVmPrivateIpResponse) ContentType ¶
func (r CreateVmPrivateIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON400 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON401 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON403 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON404 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON409 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON422 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON429 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetApplicationproblemJSON500 ¶
func (r CreateVmPrivateIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVmPrivateIpResponse) GetBody ¶
func (r CreateVmPrivateIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVmPrivateIpResponse) GetJSON202 ¶
func (r CreateVmPrivateIpResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateVmPrivateIpResponse) Status ¶
func (r CreateVmPrivateIpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVmPrivateIpResponse) StatusCode ¶
func (r CreateVmPrivateIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVmPrivateIpResponse202Headers ¶
type CreateVmPrivateIpResponse202Headers struct {
Location *string
}
CreateVmPrivateIpResponse202Headers the declared response headers of an HTTP 202 response for CreateVmPrivateIp
type CreateVmResponse ¶
type CreateVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateVmResponse202Headers
}
func ParseCreateVmResponse ¶
func ParseCreateVmResponse(rsp *http.Response) (*CreateVmResponse, error)
ParseCreateVmResponse parses an HTTP response from a CreateVmWithResponse call
func (CreateVmResponse) ContentType ¶
func (r CreateVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVmResponse) GetApplicationproblemJSON400 ¶
func (r CreateVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON401 ¶
func (r CreateVmResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON403 ¶
func (r CreateVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON409 ¶
func (r CreateVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON422 ¶
func (r CreateVmResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON429 ¶
func (r CreateVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON500 ¶
func (r CreateVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVmResponse) GetApplicationproblemJSON503 ¶
func (r CreateVmResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateVmResponse) GetBody ¶
func (r CreateVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVmResponse) GetJSON202 ¶
func (r CreateVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateVmResponse) Status ¶
func (r CreateVmResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVmResponse) StatusCode ¶
func (r CreateVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVmResponse202Headers ¶
type CreateVmResponse202Headers struct {
Location *string
}
CreateVmResponse202Headers the declared response headers of an HTTP 202 response for CreateVm
type CreateVpcJSONRequestBody ¶
type CreateVpcJSONRequestBody = PublicVpcCreateRequest
CreateVpcJSONRequestBody defines body for CreateVpc for application/json ContentType.
type CreateVpcParams ¶
type CreateVpcParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVpcParams defines parameters for CreateVpc.
type CreateVpcReservedIpParams ¶
type CreateVpcReservedIpParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVpcReservedIpParams defines parameters for CreateVpcReservedIp.
type CreateVpcReservedIpResponse ¶
type CreateVpcReservedIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicReservedIpDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseCreateVpcReservedIpResponse ¶
func ParseCreateVpcReservedIpResponse(rsp *http.Response) (*CreateVpcReservedIpResponse, error)
ParseCreateVpcReservedIpResponse parses an HTTP response from a CreateVpcReservedIpWithResponse call
func (CreateVpcReservedIpResponse) ContentType ¶
func (r CreateVpcReservedIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON401 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON403 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON404 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON409 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON422 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON429 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetApplicationproblemJSON500 ¶
func (r CreateVpcReservedIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVpcReservedIpResponse) GetBody ¶
func (r CreateVpcReservedIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpcReservedIpResponse) GetJSON200 ¶
func (r CreateVpcReservedIpResponse) GetJSON200() *PublicReservedIpDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateVpcReservedIpResponse) Status ¶
func (r CreateVpcReservedIpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpcReservedIpResponse) StatusCode ¶
func (r CreateVpcReservedIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpcResponse ¶
type CreateVpcResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicVpcDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateVpcResponse201Headers
}
func ParseCreateVpcResponse ¶
func ParseCreateVpcResponse(rsp *http.Response) (*CreateVpcResponse, error)
ParseCreateVpcResponse parses an HTTP response from a CreateVpcWithResponse call
func (CreateVpcResponse) ContentType ¶
func (r CreateVpcResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpcResponse) GetApplicationproblemJSON400 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON401 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON403 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON409 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON422 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON429 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON500 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVpcResponse) GetApplicationproblemJSON503 ¶
func (r CreateVpcResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CreateVpcResponse) GetBody ¶
func (r CreateVpcResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpcResponse) GetJSON201 ¶
func (r CreateVpcResponse) GetJSON201() *PublicVpcDto
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateVpcResponse) Status ¶
func (r CreateVpcResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpcResponse) StatusCode ¶
func (r CreateVpcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpcResponse201Headers ¶
type CreateVpcResponse201Headers struct {
Location *string
}
CreateVpcResponse201Headers the declared response headers of an HTTP 201 response for CreateVpc
type CreateVpcVipFirewallRuleJSONRequestBody ¶
type CreateVpcVipFirewallRuleJSONRequestBody = PublicFirewallRuleRequest
CreateVpcVipFirewallRuleJSONRequestBody defines body for CreateVpcVipFirewallRule for application/json ContentType.
type CreateVpcVipFirewallRuleResponse ¶
type CreateVpcVipFirewallRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateVpcVipFirewallRuleResponse202Headers
}
func ParseCreateVpcVipFirewallRuleResponse ¶
func ParseCreateVpcVipFirewallRuleResponse(rsp *http.Response) (*CreateVpcVipFirewallRuleResponse, error)
ParseCreateVpcVipFirewallRuleResponse parses an HTTP response from a CreateVpcVipFirewallRuleWithResponse call
func (CreateVpcVipFirewallRuleResponse) ContentType ¶
func (r CreateVpcVipFirewallRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON400 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON401 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON403 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON404 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON409 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON422 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON429 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON500 ¶
func (r CreateVpcVipFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVpcVipFirewallRuleResponse) GetBody ¶
func (r CreateVpcVipFirewallRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpcVipFirewallRuleResponse) GetJSON202 ¶
func (r CreateVpcVipFirewallRuleResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateVpcVipFirewallRuleResponse) Status ¶
func (r CreateVpcVipFirewallRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpcVipFirewallRuleResponse) StatusCode ¶
func (r CreateVpcVipFirewallRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpcVipFirewallRuleResponse202Headers ¶
type CreateVpcVipFirewallRuleResponse202Headers struct {
Location *string
}
CreateVpcVipFirewallRuleResponse202Headers the declared response headers of an HTTP 202 response for CreateVpcVipFirewallRule
type CreateVpcVipParams ¶
type CreateVpcVipParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateVpcVipParams defines parameters for CreateVpcVip.
type CreateVpcVipResponse ¶
type CreateVpcVipResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *CreateVpcVipResponse202Headers
}
func ParseCreateVpcVipResponse ¶
func ParseCreateVpcVipResponse(rsp *http.Response) (*CreateVpcVipResponse, error)
ParseCreateVpcVipResponse parses an HTTP response from a CreateVpcVipWithResponse call
func (CreateVpcVipResponse) ContentType ¶
func (r CreateVpcVipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpcVipResponse) GetApplicationproblemJSON401 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CreateVpcVipResponse) GetApplicationproblemJSON403 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (CreateVpcVipResponse) GetApplicationproblemJSON404 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CreateVpcVipResponse) GetApplicationproblemJSON409 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateVpcVipResponse) GetApplicationproblemJSON429 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (CreateVpcVipResponse) GetApplicationproblemJSON500 ¶
func (r CreateVpcVipResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (CreateVpcVipResponse) GetBody ¶
func (r CreateVpcVipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpcVipResponse) GetJSON202 ¶
func (r CreateVpcVipResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateVpcVipResponse) Status ¶
func (r CreateVpcVipResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpcVipResponse) StatusCode ¶
func (r CreateVpcVipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpcVipResponse202Headers ¶
type CreateVpcVipResponse202Headers struct {
Location *string
}
CreateVpcVipResponse202Headers the declared response headers of an HTTP 202 response for CreateVpcVip
type CursorPagePublicActivityDto ¶
type CursorPagePublicActivityDto struct {
Data *[]PublicActivityDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicActivityDto defines model for CursorPagePublicActivityDto.
type CursorPagePublicBackupDto ¶
type CursorPagePublicBackupDto struct {
Data *[]PublicBackupDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBackupDto defines model for CursorPagePublicBackupDto.
type CursorPagePublicBackupWindowDto ¶
type CursorPagePublicBackupWindowDto struct {
Data *[]PublicBackupWindowDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBackupWindowDto defines model for CursorPagePublicBackupWindowDto.
type CursorPagePublicBucketDto ¶
type CursorPagePublicBucketDto struct {
Data *[]PublicBucketDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBucketDto defines model for CursorPagePublicBucketDto.
type CursorPagePublicBucketKeyDto ¶
type CursorPagePublicBucketKeyDto struct {
Data *[]PublicBucketKeyDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBucketKeyDto defines model for CursorPagePublicBucketKeyDto.
type CursorPagePublicBucketObjectDto ¶ added in v0.3.0
type CursorPagePublicBucketObjectDto struct {
Data *[]PublicBucketObjectDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBucketObjectDto defines model for CursorPagePublicBucketObjectDto.
type CursorPagePublicBucketObjectVersionDto ¶ added in v0.3.0
type CursorPagePublicBucketObjectVersionDto struct {
Data *[]PublicBucketObjectVersionDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicBucketObjectVersionDto defines model for CursorPagePublicBucketObjectVersionDto.
type CursorPagePublicCardDto ¶
type CursorPagePublicCardDto struct {
Data *[]PublicCardDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicCardDto defines model for CursorPagePublicCardDto.
type CursorPagePublicFirewallRuleDto ¶
type CursorPagePublicFirewallRuleDto struct {
Data *[]PublicFirewallRuleDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicFirewallRuleDto defines model for CursorPagePublicFirewallRuleDto.
type CursorPagePublicIpAddressDto ¶
type CursorPagePublicIpAddressDto struct {
Data *[]PublicIpAddressDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicIpAddressDto defines model for CursorPagePublicIpAddressDto.
type CursorPagePublicKubernetesClusterDto ¶
type CursorPagePublicKubernetesClusterDto struct {
Data *[]PublicKubernetesClusterDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicKubernetesClusterDto defines model for CursorPagePublicKubernetesClusterDto.
type CursorPagePublicLimitDto ¶
type CursorPagePublicLimitDto struct {
Data *[]PublicLimitDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicLimitDto defines model for CursorPagePublicLimitDto.
type CursorPagePublicMemberDto ¶
type CursorPagePublicMemberDto struct {
Data *[]PublicMemberDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicMemberDto defines model for CursorPagePublicMemberDto.
type CursorPagePublicOsImageDto ¶
type CursorPagePublicOsImageDto struct {
Data *[]PublicOsImageDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicOsImageDto defines model for CursorPagePublicOsImageDto.
type CursorPagePublicPlacementDatacenterDto ¶
type CursorPagePublicPlacementDatacenterDto struct {
Data *[]PublicPlacementDatacenterDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicPlacementDatacenterDto defines model for CursorPagePublicPlacementDatacenterDto.
type CursorPagePublicPlacementFeasibilityDto ¶
type CursorPagePublicPlacementFeasibilityDto struct {
Data *[]PublicPlacementFeasibilityDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicPlacementFeasibilityDto defines model for CursorPagePublicPlacementFeasibilityDto.
type CursorPagePublicPlacementGroupDto ¶
type CursorPagePublicPlacementGroupDto struct {
Data *[]PublicPlacementGroupDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicPlacementGroupDto defines model for CursorPagePublicPlacementGroupDto.
type CursorPagePublicProjectDto ¶
type CursorPagePublicProjectDto struct {
Data *[]PublicProjectDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicProjectDto defines model for CursorPagePublicProjectDto.
type CursorPagePublicProjectResourceDto ¶
type CursorPagePublicProjectResourceDto struct {
Data *[]PublicProjectResourceDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicProjectResourceDto defines model for CursorPagePublicProjectResourceDto.
type CursorPagePublicReservedIpDto ¶
type CursorPagePublicReservedIpDto struct {
Data *[]PublicReservedIpDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicReservedIpDto defines model for CursorPagePublicReservedIpDto.
type CursorPagePublicSshKeyDto ¶
type CursorPagePublicSshKeyDto struct {
Data *[]PublicSshKeyDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicSshKeyDto defines model for CursorPagePublicSshKeyDto.
type CursorPagePublicSupportTicketDto ¶
type CursorPagePublicSupportTicketDto struct {
Data *[]PublicSupportTicketDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicSupportTicketDto defines model for CursorPagePublicSupportTicketDto.
type CursorPagePublicTransactionDto ¶
type CursorPagePublicTransactionDto struct {
Data *[]PublicTransactionDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicTransactionDto defines model for CursorPagePublicTransactionDto.
type CursorPagePublicVipDto ¶
type CursorPagePublicVipDto struct {
Data *[]PublicVipDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVipDto defines model for CursorPagePublicVipDto.
type CursorPagePublicVmBackupPolicyDto ¶
type CursorPagePublicVmBackupPolicyDto struct {
Data *[]PublicVmBackupPolicyDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmBackupPolicyDto defines model for CursorPagePublicVmBackupPolicyDto.
type CursorPagePublicVmDiskDto ¶
type CursorPagePublicVmDiskDto struct {
Data *[]PublicVmDiskDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmDiskDto defines model for CursorPagePublicVmDiskDto.
type CursorPagePublicVmDto ¶
type CursorPagePublicVmDto struct {
Data *[]PublicVmDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmDto defines model for CursorPagePublicVmDto.
type CursorPagePublicVmNicDto ¶
type CursorPagePublicVmNicDto struct {
Data *[]PublicVmNicDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmNicDto defines model for CursorPagePublicVmNicDto.
type CursorPagePublicVmPrivateIpDto ¶
type CursorPagePublicVmPrivateIpDto struct {
Data *[]PublicVmPrivateIpDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmPrivateIpDto defines model for CursorPagePublicVmPrivateIpDto.
type CursorPagePublicVmPublicIpDto ¶
type CursorPagePublicVmPublicIpDto struct {
Data *[]PublicVmPublicIpDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVmPublicIpDto defines model for CursorPagePublicVmPublicIpDto.
type CursorPagePublicVpcDto ¶
type CursorPagePublicVpcDto struct {
Data *[]PublicVpcDto `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPagePublicVpcDto defines model for CursorPagePublicVpcDto.
type CursorPageSandboxDto ¶
type CursorPageSandboxDto struct {
Data *[]map[string]interface{} `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPageSandboxDto defines model for CursorPageSandboxDto.
type CursorPageSandboxTemplateDto ¶
type CursorPageSandboxTemplateDto struct {
Data *[]map[string]interface{} `json:"data,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorPageSandboxTemplateDto defines model for CursorPageSandboxTemplateDto.
type DeleteAiSandboxResponse ¶
type DeleteAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteAiSandboxResponse ¶
func ParseDeleteAiSandboxResponse(rsp *http.Response) (*DeleteAiSandboxResponse, error)
ParseDeleteAiSandboxResponse parses an HTTP response from a DeleteAiSandboxWithResponse call
func (DeleteAiSandboxResponse) ContentType ¶
func (r DeleteAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r DeleteAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r DeleteAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r DeleteAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r DeleteAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r DeleteAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteAiSandboxResponse) GetBody ¶
func (r DeleteAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAiSandboxResponse) Status ¶
func (r DeleteAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAiSandboxResponse) StatusCode ¶
func (r DeleteAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAiSandboxTemplateResponse ¶
type DeleteAiSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteAiSandboxTemplateResponse ¶
func ParseDeleteAiSandboxTemplateResponse(rsp *http.Response) (*DeleteAiSandboxTemplateResponse, error)
ParseDeleteAiSandboxTemplateResponse parses an HTTP response from a DeleteAiSandboxTemplateWithResponse call
func (DeleteAiSandboxTemplateResponse) ContentType ¶
func (r DeleteAiSandboxTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON401 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON403 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON404 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON409 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON429 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON500 ¶
func (r DeleteAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteAiSandboxTemplateResponse) GetBody ¶
func (r DeleteAiSandboxTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAiSandboxTemplateResponse) Status ¶
func (r DeleteAiSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAiSandboxTemplateResponse) StatusCode ¶
func (r DeleteAiSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBucketJSONRequestBody ¶
type DeleteBucketJSONRequestBody = PublicDeleteBucketRequest
DeleteBucketJSONRequestBody defines body for DeleteBucket for application/json ContentType.
type DeleteBucketKeyResponse ¶
type DeleteBucketKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteBucketKeyResponse ¶
func ParseDeleteBucketKeyResponse(rsp *http.Response) (*DeleteBucketKeyResponse, error)
ParseDeleteBucketKeyResponse parses an HTTP response from a DeleteBucketKeyWithResponse call
func (DeleteBucketKeyResponse) ContentType ¶
func (r DeleteBucketKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBucketKeyResponse) GetApplicationproblemJSON400 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteBucketKeyResponse) GetApplicationproblemJSON401 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteBucketKeyResponse) GetApplicationproblemJSON403 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteBucketKeyResponse) GetApplicationproblemJSON404 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteBucketKeyResponse) GetApplicationproblemJSON429 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteBucketKeyResponse) GetApplicationproblemJSON500 ¶
func (r DeleteBucketKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteBucketKeyResponse) GetBody ¶
func (r DeleteBucketKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBucketKeyResponse) Status ¶
func (r DeleteBucketKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBucketKeyResponse) StatusCode ¶
func (r DeleteBucketKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBucketResponse ¶
type DeleteBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteBucketResponse202Headers
}
func ParseDeleteBucketResponse ¶
func ParseDeleteBucketResponse(rsp *http.Response) (*DeleteBucketResponse, error)
ParseDeleteBucketResponse parses an HTTP response from a DeleteBucketWithResponse call
func (DeleteBucketResponse) ContentType ¶
func (r DeleteBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBucketResponse) GetApplicationproblemJSON400 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON401 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON403 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON404 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON409 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON429 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON500 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteBucketResponse) GetApplicationproblemJSON503 ¶
func (r DeleteBucketResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DeleteBucketResponse) GetBody ¶
func (r DeleteBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBucketResponse) GetJSON202 ¶
func (r DeleteBucketResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteBucketResponse) Status ¶
func (r DeleteBucketResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBucketResponse) StatusCode ¶
func (r DeleteBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBucketResponse202Headers ¶
type DeleteBucketResponse202Headers struct {
Location *string
}
DeleteBucketResponse202Headers the declared response headers of an HTTP 202 response for DeleteBucket
type DeleteCardResponse ¶
type DeleteCardResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteCardResponse ¶
func ParseDeleteCardResponse(rsp *http.Response) (*DeleteCardResponse, error)
ParseDeleteCardResponse parses an HTTP response from a DeleteCardWithResponse call
func (DeleteCardResponse) ContentType ¶
func (r DeleteCardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCardResponse) GetApplicationproblemJSON401 ¶
func (r DeleteCardResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteCardResponse) GetApplicationproblemJSON403 ¶
func (r DeleteCardResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteCardResponse) GetApplicationproblemJSON404 ¶
func (r DeleteCardResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteCardResponse) GetApplicationproblemJSON429 ¶
func (r DeleteCardResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteCardResponse) GetApplicationproblemJSON500 ¶
func (r DeleteCardResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteCardResponse) GetBody ¶
func (r DeleteCardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCardResponse) Status ¶
func (r DeleteCardResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCardResponse) StatusCode ¶
func (r DeleteCardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteKubernetesClusterResponse ¶
type DeleteKubernetesClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteKubernetesClusterResponse202Headers
}
func ParseDeleteKubernetesClusterResponse ¶
func ParseDeleteKubernetesClusterResponse(rsp *http.Response) (*DeleteKubernetesClusterResponse, error)
ParseDeleteKubernetesClusterResponse parses an HTTP response from a DeleteKubernetesClusterWithResponse call
func (DeleteKubernetesClusterResponse) ContentType ¶
func (r DeleteKubernetesClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON401 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON403 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON404 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON409 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON429 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetApplicationproblemJSON500 ¶
func (r DeleteKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteKubernetesClusterResponse) GetBody ¶
func (r DeleteKubernetesClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteKubernetesClusterResponse) GetJSON202 ¶
func (r DeleteKubernetesClusterResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteKubernetesClusterResponse) Status ¶
func (r DeleteKubernetesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteKubernetesClusterResponse) StatusCode ¶
func (r DeleteKubernetesClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteKubernetesClusterResponse202Headers ¶
type DeleteKubernetesClusterResponse202Headers struct {
Location *string
}
DeleteKubernetesClusterResponse202Headers the declared response headers of an HTTP 202 response for DeleteKubernetesCluster
type DeleteMemberResponse ¶
type DeleteMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteMemberResponse ¶
func ParseDeleteMemberResponse(rsp *http.Response) (*DeleteMemberResponse, error)
ParseDeleteMemberResponse parses an HTTP response from a DeleteMemberWithResponse call
func (DeleteMemberResponse) ContentType ¶
func (r DeleteMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMemberResponse) GetApplicationproblemJSON400 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteMemberResponse) GetApplicationproblemJSON401 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteMemberResponse) GetApplicationproblemJSON403 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteMemberResponse) GetApplicationproblemJSON404 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteMemberResponse) GetApplicationproblemJSON429 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteMemberResponse) GetApplicationproblemJSON500 ¶
func (r DeleteMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteMemberResponse) GetBody ¶
func (r DeleteMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMemberResponse) Status ¶
func (r DeleteMemberResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMemberResponse) StatusCode ¶
func (r DeleteMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePlacementGroupResponse ¶
type DeletePlacementGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeletePlacementGroupResponse ¶
func ParseDeletePlacementGroupResponse(rsp *http.Response) (*DeletePlacementGroupResponse, error)
ParseDeletePlacementGroupResponse parses an HTTP response from a DeletePlacementGroupWithResponse call
func (DeletePlacementGroupResponse) ContentType ¶
func (r DeletePlacementGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePlacementGroupResponse) GetApplicationproblemJSON401 ¶
func (r DeletePlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeletePlacementGroupResponse) GetApplicationproblemJSON403 ¶
func (r DeletePlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeletePlacementGroupResponse) GetApplicationproblemJSON404 ¶
func (r DeletePlacementGroupResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeletePlacementGroupResponse) GetApplicationproblemJSON429 ¶
func (r DeletePlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeletePlacementGroupResponse) GetApplicationproblemJSON500 ¶
func (r DeletePlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeletePlacementGroupResponse) GetBody ¶
func (r DeletePlacementGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePlacementGroupResponse) Status ¶
func (r DeletePlacementGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePlacementGroupResponse) StatusCode ¶
func (r DeletePlacementGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteProjectResponse ¶
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) ContentType ¶
func (r DeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectResponse) GetApplicationproblemJSON401 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteProjectResponse) GetApplicationproblemJSON403 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteProjectResponse) GetApplicationproblemJSON404 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteProjectResponse) GetApplicationproblemJSON409 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteProjectResponse) GetApplicationproblemJSON429 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteProjectResponse) GetApplicationproblemJSON500 ¶
func (r DeleteProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteProjectResponse) GetBody ¶
func (r DeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteProjectResponse) Status ¶
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSshKeyResponse ¶
type DeleteSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteSshKeyResponse ¶
func ParseDeleteSshKeyResponse(rsp *http.Response) (*DeleteSshKeyResponse, error)
ParseDeleteSshKeyResponse parses an HTTP response from a DeleteSshKeyWithResponse call
func (DeleteSshKeyResponse) ContentType ¶
func (r DeleteSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSshKeyResponse) GetApplicationproblemJSON401 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteSshKeyResponse) GetApplicationproblemJSON403 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteSshKeyResponse) GetApplicationproblemJSON404 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteSshKeyResponse) GetApplicationproblemJSON409 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteSshKeyResponse) GetApplicationproblemJSON429 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteSshKeyResponse) GetApplicationproblemJSON500 ¶
func (r DeleteSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteSshKeyResponse) GetBody ¶
func (r DeleteSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSshKeyResponse) Status ¶
func (r DeleteSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSshKeyResponse) StatusCode ¶
func (r DeleteSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmBackupPolicyResponse ¶
type DeleteVmBackupPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteVmBackupPolicyResponse ¶
func ParseDeleteVmBackupPolicyResponse(rsp *http.Response) (*DeleteVmBackupPolicyResponse, error)
ParseDeleteVmBackupPolicyResponse parses an HTTP response from a DeleteVmBackupPolicyWithResponse call
func (DeleteVmBackupPolicyResponse) ContentType ¶
func (r DeleteVmBackupPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmBackupPolicyResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVmBackupPolicyResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVmBackupPolicyResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVmBackupPolicyResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVmBackupPolicyResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVmBackupPolicyResponse) GetBody ¶
func (r DeleteVmBackupPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmBackupPolicyResponse) Status ¶
func (r DeleteVmBackupPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmBackupPolicyResponse) StatusCode ¶
func (r DeleteVmBackupPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmBackupResponse ¶
type DeleteVmBackupResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteVmBackupResponse ¶
func ParseDeleteVmBackupResponse(rsp *http.Response) (*DeleteVmBackupResponse, error)
ParseDeleteVmBackupResponse parses an HTTP response from a DeleteVmBackupWithResponse call
func (DeleteVmBackupResponse) ContentType ¶
func (r DeleteVmBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmBackupResponse) GetApplicationproblemJSON400 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteVmBackupResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVmBackupResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVmBackupResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVmBackupResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVmBackupResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVmBackupResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVmBackupResponse) GetBody ¶
func (r DeleteVmBackupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmBackupResponse) Status ¶
func (r DeleteVmBackupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmBackupResponse) StatusCode ¶
func (r DeleteVmBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmFirewallRuleResponse ¶
type DeleteVmFirewallRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVmFirewallRuleResponse202Headers
}
func ParseDeleteVmFirewallRuleResponse ¶
func ParseDeleteVmFirewallRuleResponse(rsp *http.Response) (*DeleteVmFirewallRuleResponse, error)
ParseDeleteVmFirewallRuleResponse parses an HTTP response from a DeleteVmFirewallRuleWithResponse call
func (DeleteVmFirewallRuleResponse) ContentType ¶
func (r DeleteVmFirewallRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON400 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVmFirewallRuleResponse) GetBody ¶
func (r DeleteVmFirewallRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmFirewallRuleResponse) GetJSON202 ¶
func (r DeleteVmFirewallRuleResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVmFirewallRuleResponse) Status ¶
func (r DeleteVmFirewallRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmFirewallRuleResponse) StatusCode ¶
func (r DeleteVmFirewallRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmFirewallRuleResponse202Headers ¶
type DeleteVmFirewallRuleResponse202Headers struct {
Location *string
}
DeleteVmFirewallRuleResponse202Headers the declared response headers of an HTTP 202 response for DeleteVmFirewallRule
type DeleteVmFirewallRulesJSONRequestBody ¶
type DeleteVmFirewallRulesJSONRequestBody = PublicFirewallRulesRemoveRequest
DeleteVmFirewallRulesJSONRequestBody defines body for DeleteVmFirewallRules for application/json ContentType.
type DeleteVmFirewallRulesResponse ¶
type DeleteVmFirewallRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVmFirewallRulesResponse202Headers
}
func ParseDeleteVmFirewallRulesResponse ¶
func ParseDeleteVmFirewallRulesResponse(rsp *http.Response) (*DeleteVmFirewallRulesResponse, error)
ParseDeleteVmFirewallRulesResponse parses an HTTP response from a DeleteVmFirewallRulesWithResponse call
func (DeleteVmFirewallRulesResponse) ContentType ¶
func (r DeleteVmFirewallRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON400 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVmFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVmFirewallRulesResponse) GetBody ¶
func (r DeleteVmFirewallRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmFirewallRulesResponse) GetJSON202 ¶
func (r DeleteVmFirewallRulesResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVmFirewallRulesResponse) Status ¶
func (r DeleteVmFirewallRulesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmFirewallRulesResponse) StatusCode ¶
func (r DeleteVmFirewallRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmFirewallRulesResponse202Headers ¶
type DeleteVmFirewallRulesResponse202Headers struct {
Location *string
}
DeleteVmFirewallRulesResponse202Headers the declared response headers of an HTTP 202 response for DeleteVmFirewallRules
type DeleteVmResponse ¶
type DeleteVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVmResponse202Headers
}
func ParseDeleteVmResponse ¶
func ParseDeleteVmResponse(rsp *http.Response) (*DeleteVmResponse, error)
ParseDeleteVmResponse parses an HTTP response from a DeleteVmWithResponse call
func (DeleteVmResponse) ContentType ¶
func (r DeleteVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVmResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVmResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVmResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVmResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVmResponse) GetBody ¶
func (r DeleteVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmResponse) GetJSON202 ¶
func (r DeleteVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVmResponse) Status ¶
func (r DeleteVmResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmResponse) StatusCode ¶
func (r DeleteVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmResponse202Headers ¶
type DeleteVmResponse202Headers struct {
Location *string
}
DeleteVmResponse202Headers the declared response headers of an HTTP 202 response for DeleteVm
type DeleteVpcReservedIpResponse ¶
type DeleteVpcReservedIpResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteVpcReservedIpResponse ¶
func ParseDeleteVpcReservedIpResponse(rsp *http.Response) (*DeleteVpcReservedIpResponse, error)
ParseDeleteVpcReservedIpResponse parses an HTTP response from a DeleteVpcReservedIpWithResponse call
func (DeleteVpcReservedIpResponse) ContentType ¶
func (r DeleteVpcReservedIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVpcReservedIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVpcReservedIpResponse) GetBody ¶
func (r DeleteVpcReservedIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpcReservedIpResponse) Status ¶
func (r DeleteVpcReservedIpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpcReservedIpResponse) StatusCode ¶
func (r DeleteVpcReservedIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpcResponse ¶
type DeleteVpcResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDeleteVpcResponse ¶
func ParseDeleteVpcResponse(rsp *http.Response) (*DeleteVpcResponse, error)
ParseDeleteVpcResponse parses an HTTP response from a DeleteVpcWithResponse call
func (DeleteVpcResponse) ContentType ¶
func (r DeleteVpcResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpcResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVpcResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVpcResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVpcResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVpcResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVpcResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVpcResponse) GetBody ¶
func (r DeleteVpcResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpcResponse) Status ¶
func (r DeleteVpcResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpcResponse) StatusCode ¶
func (r DeleteVpcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpcVipFirewallRuleResponse ¶
type DeleteVpcVipFirewallRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVpcVipFirewallRuleResponse202Headers
}
func ParseDeleteVpcVipFirewallRuleResponse ¶
func ParseDeleteVpcVipFirewallRuleResponse(rsp *http.Response) (*DeleteVpcVipFirewallRuleResponse, error)
ParseDeleteVpcVipFirewallRuleResponse parses an HTTP response from a DeleteVpcVipFirewallRuleWithResponse call
func (DeleteVpcVipFirewallRuleResponse) ContentType ¶
func (r DeleteVpcVipFirewallRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON400 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVpcVipFirewallRuleResponse) GetBody ¶
func (r DeleteVpcVipFirewallRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpcVipFirewallRuleResponse) GetJSON202 ¶
func (r DeleteVpcVipFirewallRuleResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVpcVipFirewallRuleResponse) Status ¶
func (r DeleteVpcVipFirewallRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpcVipFirewallRuleResponse) StatusCode ¶
func (r DeleteVpcVipFirewallRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpcVipFirewallRuleResponse202Headers ¶
type DeleteVpcVipFirewallRuleResponse202Headers struct {
Location *string
}
DeleteVpcVipFirewallRuleResponse202Headers the declared response headers of an HTTP 202 response for DeleteVpcVipFirewallRule
type DeleteVpcVipFirewallRulesJSONRequestBody ¶
type DeleteVpcVipFirewallRulesJSONRequestBody = PublicFirewallRulesRemoveRequest
DeleteVpcVipFirewallRulesJSONRequestBody defines body for DeleteVpcVipFirewallRules for application/json ContentType.
type DeleteVpcVipFirewallRulesResponse ¶
type DeleteVpcVipFirewallRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVpcVipFirewallRulesResponse202Headers
}
func ParseDeleteVpcVipFirewallRulesResponse ¶
func ParseDeleteVpcVipFirewallRulesResponse(rsp *http.Response) (*DeleteVpcVipFirewallRulesResponse, error)
ParseDeleteVpcVipFirewallRulesResponse parses an HTTP response from a DeleteVpcVipFirewallRulesWithResponse call
func (DeleteVpcVipFirewallRulesResponse) ContentType ¶
func (r DeleteVpcVipFirewallRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON400 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVpcVipFirewallRulesResponse) GetBody ¶
func (r DeleteVpcVipFirewallRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpcVipFirewallRulesResponse) GetJSON202 ¶
func (r DeleteVpcVipFirewallRulesResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVpcVipFirewallRulesResponse) Status ¶
func (r DeleteVpcVipFirewallRulesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpcVipFirewallRulesResponse) StatusCode ¶
func (r DeleteVpcVipFirewallRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpcVipFirewallRulesResponse202Headers ¶
type DeleteVpcVipFirewallRulesResponse202Headers struct {
Location *string
}
DeleteVpcVipFirewallRulesResponse202Headers the declared response headers of an HTTP 202 response for DeleteVpcVipFirewallRules
type DeleteVpcVipResponse ¶
type DeleteVpcVipResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DeleteVpcVipResponse202Headers
}
func ParseDeleteVpcVipResponse ¶
func ParseDeleteVpcVipResponse(rsp *http.Response) (*DeleteVpcVipResponse, error)
ParseDeleteVpcVipResponse parses an HTTP response from a DeleteVpcVipWithResponse call
func (DeleteVpcVipResponse) ContentType ¶
func (r DeleteVpcVipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpcVipResponse) GetApplicationproblemJSON401 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DeleteVpcVipResponse) GetApplicationproblemJSON403 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DeleteVpcVipResponse) GetApplicationproblemJSON404 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DeleteVpcVipResponse) GetApplicationproblemJSON409 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DeleteVpcVipResponse) GetApplicationproblemJSON429 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DeleteVpcVipResponse) GetApplicationproblemJSON500 ¶
func (r DeleteVpcVipResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DeleteVpcVipResponse) GetBody ¶
func (r DeleteVpcVipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpcVipResponse) GetJSON202 ¶
func (r DeleteVpcVipResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DeleteVpcVipResponse) Status ¶
func (r DeleteVpcVipResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpcVipResponse) StatusCode ¶
func (r DeleteVpcVipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpcVipResponse202Headers ¶
type DeleteVpcVipResponse202Headers struct {
Location *string
}
DeleteVpcVipResponse202Headers the declared response headers of an HTTP 202 response for DeleteVpcVip
type Deleted ¶
type Deleted struct {
// SizeBytes The backup's logical size in bytes.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
// StartedAt When the backup started — the same value the backup list returns.
//
// Examples: 2022-03-10T16:15:50Z
StartedAt *time.Time `json:"startedAt,omitempty"`
}
Deleted One backup rotation would delete.
type DetachVmNetworkInterfaceResponse ¶
type DetachVmNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DetachVmNetworkInterfaceResponse202Headers
}
func ParseDetachVmNetworkInterfaceResponse ¶
func ParseDetachVmNetworkInterfaceResponse(rsp *http.Response) (*DetachVmNetworkInterfaceResponse, error)
ParseDetachVmNetworkInterfaceResponse parses an HTTP response from a DetachVmNetworkInterfaceWithResponse call
func (DetachVmNetworkInterfaceResponse) ContentType ¶
func (r DetachVmNetworkInterfaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON400 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON401 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON403 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON404 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON409 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON429 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON500 ¶
func (r DetachVmNetworkInterfaceResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DetachVmNetworkInterfaceResponse) GetBody ¶
func (r DetachVmNetworkInterfaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetachVmNetworkInterfaceResponse) GetJSON202 ¶
func (r DetachVmNetworkInterfaceResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DetachVmNetworkInterfaceResponse) Status ¶
func (r DetachVmNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVmNetworkInterfaceResponse) StatusCode ¶
func (r DetachVmNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVmNetworkInterfaceResponse202Headers ¶
type DetachVmNetworkInterfaceResponse202Headers struct {
Location *string
}
DetachVmNetworkInterfaceResponse202Headers the declared response headers of an HTTP 202 response for DetachVmNetworkInterface
type DetachVmPublicIpResponse ¶
type DetachVmPublicIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *DetachVmPublicIpResponse202Headers
}
func ParseDetachVmPublicIpResponse ¶
func ParseDetachVmPublicIpResponse(rsp *http.Response) (*DetachVmPublicIpResponse, error)
ParseDetachVmPublicIpResponse parses an HTTP response from a DetachVmPublicIpWithResponse call
func (DetachVmPublicIpResponse) ContentType ¶
func (r DetachVmPublicIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetachVmPublicIpResponse) GetApplicationproblemJSON400 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DetachVmPublicIpResponse) GetApplicationproblemJSON403 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DetachVmPublicIpResponse) GetApplicationproblemJSON404 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DetachVmPublicIpResponse) GetApplicationproblemJSON409 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DetachVmPublicIpResponse) GetApplicationproblemJSON429 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DetachVmPublicIpResponse) GetApplicationproblemJSON500 ¶
func (r DetachVmPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DetachVmPublicIpResponse) GetBody ¶
func (r DetachVmPublicIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetachVmPublicIpResponse) GetJSON202 ¶
func (r DetachVmPublicIpResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DetachVmPublicIpResponse) Status ¶
func (r DetachVmPublicIpResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVmPublicIpResponse) StatusCode ¶
func (r DetachVmPublicIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVmPublicIpResponse202Headers ¶
type DetachVmPublicIpResponse202Headers struct {
Location *string
}
DetachVmPublicIpResponse202Headers the declared response headers of an HTTP 202 response for DetachVmPublicIp
type DetachVmSshKeyResponse ¶
type DetachVmSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDetachVmSshKeyResponse ¶
func ParseDetachVmSshKeyResponse(rsp *http.Response) (*DetachVmSshKeyResponse, error)
ParseDetachVmSshKeyResponse parses an HTTP response from a DetachVmSshKeyWithResponse call
func (DetachVmSshKeyResponse) ContentType ¶
func (r DetachVmSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetachVmSshKeyResponse) GetApplicationproblemJSON401 ¶
func (r DetachVmSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DetachVmSshKeyResponse) GetApplicationproblemJSON403 ¶
func (r DetachVmSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DetachVmSshKeyResponse) GetApplicationproblemJSON404 ¶
func (r DetachVmSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DetachVmSshKeyResponse) GetApplicationproblemJSON429 ¶
func (r DetachVmSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DetachVmSshKeyResponse) GetApplicationproblemJSON500 ¶
func (r DetachVmSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DetachVmSshKeyResponse) GetBody ¶
func (r DetachVmSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetachVmSshKeyResponse) Status ¶
func (r DetachVmSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVmSshKeyResponse) StatusCode ¶
func (r DetachVmSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVpcVipPublicIpResponse ¶
type DetachVpcVipPublicIpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVipDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseDetachVpcVipPublicIpResponse ¶
func ParseDetachVpcVipPublicIpResponse(rsp *http.Response) (*DetachVpcVipPublicIpResponse, error)
ParseDetachVpcVipPublicIpResponse parses an HTTP response from a DetachVpcVipPublicIpWithResponse call
func (DetachVpcVipPublicIpResponse) ContentType ¶
func (r DetachVpcVipPublicIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON401 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON403 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON404 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON409 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON429 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetApplicationproblemJSON500 ¶
func (r DetachVpcVipPublicIpResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (DetachVpcVipPublicIpResponse) GetBody ¶
func (r DetachVpcVipPublicIpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetachVpcVipPublicIpResponse) GetJSON200 ¶
func (r DetachVpcVipPublicIpResponse) GetJSON200() *PublicVipDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DetachVpcVipPublicIpResponse) Status ¶
func (r DetachVpcVipPublicIpResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVpcVipPublicIpResponse) StatusCode ¶
func (r DetachVpcVipPublicIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Disk ¶
type Disk struct {
// Id The disk's id, from `GET /v1/vms/{id}/disks`.
Id *string `json:"id,omitempty"`
// SizeGib The new size in GiB.
SizeGib *int32 `json:"sizeGib,omitempty"`
}
Disk One disk to grow.
type Disk1 ¶
type Disk1 struct {
SizeGb *int32 `json:"sizeGb,omitempty"`
}
Disk1 defines model for Disk1.
type ExecAiSandboxJSONBody ¶
type ExecAiSandboxJSONBody = map[string]interface{}
ExecAiSandboxJSONBody defines parameters for ExecAiSandbox.
type ExecAiSandboxJSONRequestBody ¶
type ExecAiSandboxJSONRequestBody = ExecAiSandboxJSONBody
ExecAiSandboxJSONRequestBody defines body for ExecAiSandbox for application/json ContentType.
type ExecAiSandboxResponse ¶
type ExecAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseExecAiSandboxResponse ¶
func ParseExecAiSandboxResponse(rsp *http.Response) (*ExecAiSandboxResponse, error)
ParseExecAiSandboxResponse parses an HTTP response from a ExecAiSandboxWithResponse call
func (ExecAiSandboxResponse) ContentType ¶
func (r ExecAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExecAiSandboxResponse) GetApplicationproblemJSON400 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON409 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ExecAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r ExecAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ExecAiSandboxResponse) GetBody ¶
func (r ExecAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExecAiSandboxResponse) GetJSON200 ¶
func (r ExecAiSandboxResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExecAiSandboxResponse) Status ¶
func (r ExecAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (ExecAiSandboxResponse) StatusCode ¶
func (r ExecAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Failure ¶
type Failure struct {
Kind *string `json:"kind,omitempty"`
Message *string `json:"message,omitempty"`
// SupportNeed What the message asks of staff: none / limit / staff / fault. Absent when the server did not say.
SupportNeed *string `json:"supportNeed,omitempty"`
}
Failure defines model for Failure.
type FieldViolation ¶
type FieldViolation struct {
Field string `json:"field"`
Code string `json:"code"`
Message string `json:"message"`
}
FieldViolation is one field-level validation failure.
type FirewallRule ¶
type FirewallRule struct {
// FromPort First port in the range, if any.
FromPort *int32 `json:"fromPort,omitempty"`
// Protocol tcp, udp or icmp.
Protocol string `json:"protocol"`
// Source An IPv4 address, a CIDR network, or "any".
Source string `json:"source"`
// ToPort Last port in the range, if any.
ToPort *int32 `json:"toPort,omitempty"`
}
FirewallRule A firewall rule to install on the VM.
type ForceStopVmResponse ¶
type ForceStopVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ForceStopVmResponse202Headers
}
func ParseForceStopVmResponse ¶
func ParseForceStopVmResponse(rsp *http.Response) (*ForceStopVmResponse, error)
ParseForceStopVmResponse parses an HTTP response from a ForceStopVmWithResponse call
func (ForceStopVmResponse) ContentType ¶
func (r ForceStopVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForceStopVmResponse) GetApplicationproblemJSON404 ¶
func (r ForceStopVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ForceStopVmResponse) GetApplicationproblemJSON409 ¶
func (r ForceStopVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ForceStopVmResponse) GetApplicationproblemJSON429 ¶
func (r ForceStopVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ForceStopVmResponse) GetApplicationproblemJSON500 ¶
func (r ForceStopVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ForceStopVmResponse) GetBody ¶
func (r ForceStopVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForceStopVmResponse) GetJSON202 ¶
func (r ForceStopVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ForceStopVmResponse) Status ¶
func (r ForceStopVmResponse) Status() string
Status returns HTTPResponse.Status
func (ForceStopVmResponse) StatusCode ¶
func (r ForceStopVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForceStopVmResponse202Headers ¶
type ForceStopVmResponse202Headers struct {
Location *string
}
ForceStopVmResponse202Headers the declared response headers of an HTTP 202 response for ForceStopVm
type Gen ¶
type Gen struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Gen which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Gen, error)
Creates a new Gen, with reasonable defaults
func (*Gen) AddPlacementGroupMember ¶
func (c *Gen) AddPlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPlacementGroupMember Add a VM to a placement group
Constrains where the VM is placed next; it does not move a running VM. Synchronous: returns 200 with the group as it stands. Idempotent, which is why it is a PUT: re-adding a VM that is already in THIS group answers 200 with the group unchanged, so a client whose first response was lost can safely resend. Refuses with 409 when the VM belongs to a DIFFERENT placement group, or when this group is at its member-count cap.
Corresponds with PUT /v1/placement-groups/{id}/members/{vmId} (the `AddPlacementGroupMember` operationId).
func (*Gen) AddVmDisk ¶
func (c *Gen) AddVmDisk(ctx context.Context, id string, params *AddVmDiskParams, body AddVmDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddVmDisk Attach a data disk to a virtual machine
Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
func (*Gen) AddVmDiskWithBody ¶
func (c *Gen) AddVmDiskWithBody(ctx context.Context, id string, params *AddVmDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddVmDiskWithBody Attach a data disk to a virtual machine
Billing-affecting: the new volume raises the VM's disk charge. Requires write:compute. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request. That matters most here: a blind retry without one adds a SECOND billable volume. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/actions/add-disk (the `AddVmDisk` operationId).
func (*Gen) AddVmToVip ¶
func (c *Gen) AddVmToVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AddVmToVip Make a VM a member of a VIP
Requires protected:network, and manage access to both the VM and the VIP's VPC. Declares the VM as a server that answers for the VIP's address and permits the VIP's traffic to it; the platform does not elect a holder, so the guest must configure the address itself. Declaring a VM that is already a member changes nothing. Refuses with 409 for a VIP that a Kubernetes cluster's LoadBalancer Service owns, a VM the platform manages, and a VIP with no VPC on record. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with POST /v1/vms/{id}/vips/{vipId} (the `AddVmToVip` operationId).
func (*Gen) ApplyVmPendingRestart ¶
func (c *Gen) ApplyVmPendingRestart(ctx context.Context, id string, params *ApplyVmPendingRestartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyVmPendingRestart Apply a pending configuration change by restarting the virtual machine
For a change (such as a resize) that takes effect only after a power cycle: shuts the guest down, then starts it again, as one operation. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with POST /v1/vms/{id}/actions/apply-pending-restart (the `ApplyVmPendingRestart` operationId).
func (*Gen) AttachVmNetworkInterface ¶
func (c *Gen) AttachVmNetworkInterface(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, body AttachVmNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVmNetworkInterface Attach a network interface to a virtual machine
Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
func (*Gen) AttachVmNetworkInterfaceWithBody ¶
func (c *Gen) AttachVmNetworkInterfaceWithBody(ctx context.Context, id string, params *AttachVmNetworkInterfaceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVmNetworkInterfaceWithBody Attach a network interface to a virtual machine
Adds an interface in one of the account's VPCs; the platform picks its address. Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. 202 does not mean the interface is up inside the guest: it is hot-plugged, and the guest's OS must configure it. Refuses with 404 for an unknown VM or VPC.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/network-interfaces (the `AttachVmNetworkInterface` operationId).
func (*Gen) AttachVmPublicIp ¶
func (c *Gen) AttachVmPublicIp(ctx context.Context, id string, params *AttachVmPublicIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVmPublicIp Attach a public IP to a virtual machine
Requires protected:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the VM's public-IP cap (the PUBLIC_IPS_PER_VM key) or the account's (the PUBLIC_IP key), and with a transitional 409 while THIS VM already has an attach in flight — the guard is keyed on the VM, so a concurrent attach on another of the account's VMs is not refused. privateLeaseId optionally names the VM's private address (a leaseId from GET /v1/vms/{id}/private-ips) the public IP is NATed to; absent keeps the primary interface's address. The operation fails if the named private address already has a public IP, or if the guest's firewall would not pass traffic to it. reservedIpId optionally names one of the account's unattached Reserved IPs (GET /v1/vpcs/{id}/reserved-ips) to attach instead of drawing one from the pool: 404 if the account does not hold it, 409 if it is already attached. It is exempt from the account's PUBLIC_IP cap, which already counts it, but not from the VM's. Detaching it later keeps the reservation.
Corresponds with POST /v1/vms/{id}/public-ips (the `AttachVmPublicIp` operationId).
func (*Gen) AttachVmSshKey ¶
func (c *Gen) AttachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVmSshKey Make an SSH key usable by a virtual machine
The key must belong to the token's own person — a key is never usable by an account at large. Use `GET /v1/ssh-keys` for the ids.
Corresponds with PUT /v1/vms/{id}/ssh-keys/{keyId} (the `AttachVmSshKey` operationId).
func (*Gen) AttachVpcVipPublicIp ¶
func (c *Gen) AttachVpcVipPublicIp(ctx context.Context, id string, vipId string, params *AttachVpcVipPublicIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVpcVipPublicIp Give a VIP a public IP
Requires protected:network. Must carry an Idempotency-Key header. Takes a free public address from the pool; the address is not a parameter. Synchronous: returns 200 with the VIP. Refuses with 409 when the VIP already has a public IP or no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key). If the answer to an attach is lost, a retry with the same Idempotency-Key replays the 200; under a new key it answers 409, so list GET /v1/vips and treat a VIP that now has a publicAddress as attached.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/public-ip (the `AttachVpcVipPublicIp` operationId).
func (*Gen) BackupVm ¶
func (c *Gen) BackupVm(ctx context.Context, id string, params *BackupVmParams, body BackupVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupVm Back a virtual machine up now
An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
func (*Gen) BackupVmWithBody ¶
func (c *Gen) BackupVmWithBody(ctx context.Context, id string, params *BackupVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackupVmWithBody Back a virtual machine up now
An extra backup alongside the VM's policy, not a replacement for it. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/actions/backup (the `BackupVm` operationId).
func (*Gen) CancelMemberInvitation ¶
func (c *Gen) CancelMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelMemberInvitation Cancel a pending invitation
Withdraws an invitation that has not been accepted yet. Pending invitations only: 409 means the invitation was already accepted. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
Corresponds with POST /v1/members/{userId}/actions/cancel-invitation (the `CancelMemberInvitation` operationId).
func (*Gen) CancelOperation ¶
func (c *Gen) CancelOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelOperation Request cancellation of an operation
202 when the request was accepted; the operation reaches its terminal state later.
Corresponds with POST /v1/operations/{id}/cancel (the `CancelOperation` operationId).
func (*Gen) CreateAiSandbox ¶
func (c *Gen) CreateAiSandbox(ctx context.Context, params *CreateAiSandboxParams, body CreateAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAiSandbox Create a sandbox
Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
func (*Gen) CreateAiSandboxWithBody ¶
func (c *Gen) CreateAiSandboxWithBody(ctx context.Context, params *CreateAiSandboxParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAiSandboxWithBody Create a sandbox
Starts a micro-VM and answers 201 when the host has. If the host's answer is lost the sandbox is returned CREATING and settles within a few minutes; poll the get route. A create the platform never answered can still start a second sandbox, so list before retrying. templateId starts it from a READY template of this account, at the template's size (vcpu and memMib are replaced). Answers 400 for an id that is not a READY template of this account and for a template a host refuses (save it again), and 503 when the image cannot be read. Refuses with 409 at the account's concurrent, stored or vCPU cap, 400 for a size no host offers or a size or lifetime over the account's limit, and 503 when no host can take it.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/sandboxes (the `CreateAiSandbox` operationId).
func (*Gen) CreateBucket ¶
func (c *Gen) CreateBucket(ctx context.Context, params *CreateBucketParams, body CreateBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBucket Order a new object storage bucket
Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
func (*Gen) CreateBucketKey ¶
func (c *Gen) CreateBucketKey(ctx context.Context, params *CreateBucketKeyParams, body CreateBucketKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBucketKey Create an object storage access key
Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
func (*Gen) CreateBucketKeyWithBody ¶
func (c *Gen) CreateBucketKeyWithBody(ctx context.Context, params *CreateBucketKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBucketKeyWithBody Create an object storage access key
Creates one key, optionally attached to a bucket in the same call. Must carry an Idempotency-Key header — a blind retry without one mints a second live credential. The secret is in this response and in the list nowhere: a caller who discards it retrieves it through the reveal action. Returns 201 with the key and its secret. A retry carrying the same Idempotency-Key replays the 201 with the key and without the secret — a credential is never held for a replay — so a caller that lost the response reads the secret with the reveal action, which needs protected:s3. Refuses with 422 limit-reached (the BIGSTORAGE_KEY key) at the account's key cap, 400 for a name another key already holds, and 404 for a bucketResourceId that resolves to no bucket here. Requires protected:s3.
Takes any type of body and a specified content type.
Corresponds with POST /v1/bucket-keys (the `CreateBucketKey` operationId).
func (*Gen) CreateBucketWithBody ¶
func (c *Gen) CreateBucketWithBody(ctx context.Context, params *CreateBucketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBucketWithBody Order a new object storage bucket
Orders one bucket; the bucket's name is generated by the platform and appears in the list once it exists. Requires write:s3. Must carry an Idempotency-Key header: a retry under the same key is answered with the first order's stored response rather than starting a second, and 409 while that first order is still in flight. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's bucket cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures.
Takes any type of body and a specified content type.
Corresponds with POST /v1/buckets (the `CreateBucket` operationId).
func (*Gen) CreateCardCheckout ¶
func (c *Gen) CreateCardCheckout(ctx context.Context, params *CreateCardCheckoutParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCardCheckout Start a card capture checkout
Nothing is charged: the checkout tokenises a card at zero amount. Must carry an Idempotency-Key header; use a fresh key for each checkout attempt. Returns the checkoutId to link or poll and the entityId the payment provider's own form is mounted with — without it the capture cannot be completed.
Corresponds with POST /v1/cards/checkout (the `CreateCardCheckout` operationId).
func (*Gen) CreateCardLink ¶
func (c *Gen) CreateCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCardLink Link the card a completed checkout captured
Idempotent per checkout: a repeat returns the same link's state rather than a second card.
Corresponds with POST /v1/cards/links/{checkoutId} (the `CreateCardLink` operationId).
func (*Gen) CreateElevationRequest ¶
func (c *Gen) CreateElevationRequest(ctx context.Context, params *CreateElevationRequestParams, body CreateElevationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateElevationRequest Request to pair this client
Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
func (*Gen) CreateElevationRequestWithBody ¶
func (c *Gen) CreateElevationRequestWithBody(ctx context.Context, params *CreateElevationRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateElevationRequestWithBody Request to pair this client
Registers a pending pairing and returns the page where the caller's owner confirms it, with a code to compare. For a user API token the pairing is the secret in the X-CloudAfrica-Elevation header, and once confirmed, requests that carry the same header may use the token's protected scopes for the pairing's window. An OAuth sign-in pairs its grant and sends no header, before or after. Repeating the call while a request is pending returns the same url and code without an expiry. A client that is already paired gets 200 with paired true and no url: that is an answer, not a failure, so a client can call this first on every start.
Takes any type of body and a specified content type.
Corresponds with POST /v1/elevation-requests (the `CreateElevationRequest` operationId).
func (*Gen) CreateKubernetesCluster ¶
func (c *Gen) CreateKubernetesCluster(ctx context.Context, params *CreateKubernetesClusterParams, body CreateKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateKubernetesCluster Create a Kubernetes cluster
Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
func (*Gen) CreateKubernetesClusterToken ¶
func (c *Gen) CreateKubernetesClusterToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateKubernetesClusterToken Get a 15-minute cluster token
Trades your API token for a Kubernetes cluster token, answered in the shape kubectl's exec plugin reads. The token has cluster-admin rights on that one cluster and expires after 15 minutes. Needs protected:compute and a paired elevation secret in X-CloudAfrica-Elevation. Only an account owner or admin's own personal token can mint; a token without manage rights on the account is answered 403, any other caller 404. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet. An Idempotency-Key on this call replays an empty 200, not the token: mint again without one.
Corresponds with POST /v1/kubernetes/clusters/{id}/token (the `CreateKubernetesClusterToken` operationId).
func (*Gen) CreateKubernetesClusterWithBody ¶
func (c *Gen) CreateKubernetesClusterWithBody(ctx context.Context, params *CreateKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateKubernetesClusterWithBody Create a Kubernetes cluster
Reserves the cluster and answers 201 with it in `provisioning`; poll GET /v1/kubernetes/clusters/{id} until it is ready. Billing-affecting. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response, 409 while that first call is still in flight, and 422 if the key is reused for a different request. 422 also when the account is not ready, is at a cluster, VM or nodes-per-cluster limit, or the site has no room for all the workers.
Takes any type of body and a specified content type.
Corresponds with POST /v1/kubernetes/clusters (the `CreateKubernetesCluster` operationId).
func (*Gen) CreateMember ¶
func (c *Gen) CreateMember(ctx context.Context, body CreateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMember Invite someone to the account's team
The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/members (the `CreateMember` operationId).
func (*Gen) CreateMemberWithBody ¶
func (c *Gen) CreateMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMemberWithBody Invite someone to the account's team
The invitation is PENDING until it is accepted: a 200 means the membership row exists, not that the person has access yet. Inviting someone who is already an accepted member changes nothing and answers 200 the same way. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes any type of body and a specified content type.
Corresponds with POST /v1/members (the `CreateMember` operationId).
func (*Gen) CreateObjectDownloadUrl ¶ added in v0.3.0
func (c *Gen) CreateObjectDownloadUrl(ctx context.Context, id string, body CreateObjectDownloadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateObjectDownloadUrl Mint a short-lived URL that downloads one object
Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
func (*Gen) CreateObjectDownloadUrlWithBody ¶ added in v0.3.0
func (c *Gen) CreateObjectDownloadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateObjectDownloadUrlWithBody Mint a short-lived URL that downloads one object
Returns a URL that downloads the object, or the earlier version `versionId` names, with no further credentials until `expiresAt` — about a minute. Treat it as a secret while it lives. 404 for a missing key, an unknown version id, or a delete marker's. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type.
Corresponds with POST /v1/buckets/{id}/objects/download-url (the `CreateObjectDownloadUrl` operationId).
func (*Gen) CreateObjectUploadUrl ¶ added in v0.3.0
func (c *Gen) CreateObjectUploadUrl(ctx context.Context, id string, body CreateObjectUploadUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateObjectUploadUrl Mint a short-lived URL that uploads one new object
Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
func (*Gen) CreateObjectUploadUrlWithBody ¶ added in v0.3.0
func (c *Gen) CreateObjectUploadUrlWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateObjectUploadUrlWithBody Mint a short-lived URL that uploads one new object
Returns a URL to PUT the bytes of one new object to, valid until `expiresAt`. The PUT must send every header in `headers` exactly as given, because they are signed into the URL, and must send exactly `contentLength` bytes, at most 25 MiB. A key that already exists is refused: when the URL is minted on a bucket with versioning on, and by the PUT itself otherwise, because the URL signs `If-None-Match: *`. On a bucket with versioning on, a write to the key after the mint, this URL's included, becomes a new version and keeps the earlier one as noncurrent. For larger files or an overwrite, use an S3 client with a bucket key. An Idempotency-Key on this call replays an empty 200, not the URL: mint again without one. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type.
Corresponds with POST /v1/buckets/{id}/objects/upload-url (the `CreateObjectUploadUrl` operationId).
func (*Gen) CreatePlacementGroup ¶
func (c *Gen) CreatePlacementGroup(ctx context.Context, params *CreatePlacementGroupParams, body CreatePlacementGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePlacementGroup Create a placement group
Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
func (*Gen) CreatePlacementGroupWithBody ¶
func (c *Gen) CreatePlacementGroupWithBody(ctx context.Context, params *CreatePlacementGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePlacementGroupWithBody Create a placement group
Created empty and owned by this token's account — the body names no account. `datacenterId` must be a slug from GET /v1/placement-groups/datacenters. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes any type of body and a specified content type.
Corresponds with POST /v1/placement-groups (the `CreatePlacementGroup` operationId).
func (*Gen) CreateProject ¶
func (c *Gen) CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject Create a project
Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*Gen) CreateProjectWithBody ¶
func (c *Gen) CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectWithBody Create a project
Creates an empty project in the token's account. Only an account admin's personal token can create a project: every account-service token is refused with 403. The slug is optional: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt (prd is stored as PRD), DEF is reserved, derived from the name when omitted (Production gives PRD), and fixed once created. 409 if the account already has a project with this name (ignoring case) or with this slug. Requires an idempotency key: a retry under the same key returns the first call's project rather than creating a second.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*Gen) CreateSshKey ¶
func (c *Gen) CreateSshKey(ctx context.Context, params *CreateSshKeyParams, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSshKey Register an SSH public key
The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
func (*Gen) CreateSshKeyWithBody ¶
func (c *Gen) CreateSshKeyWithBody(ctx context.Context, params *CreateSshKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSshKeyWithBody Register an SSH public key
The key belongs to the token's own person. The owner is taken from the token and cannot be named in the request; an ACCOUNT_SERVICE token has no person and is refused. Must carry an Idempotency-Key header: a retry under the same key replays the first call's stored response rather than starting a second, 409 while that first call is still in flight, and 422 if the key is reused for a different request.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ssh-keys (the `CreateSshKey` operationId).
func (*Gen) CreateSupportTicket ¶
func (c *Gen) CreateSupportTicket(ctx context.Context, params *CreateSupportTicketParams, body CreateSupportTicketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportTicket Raise a support ticket
Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
func (*Gen) CreateSupportTicketReply ¶
func (c *Gen) CreateSupportTicketReply(ctx context.Context, id string, body CreateSupportTicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportTicketReply Reply on a support ticket
Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
func (*Gen) CreateSupportTicketReplyWithBody ¶
func (c *Gen) CreateSupportTicketReplyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportTicketReplyWithBody Reply on a support ticket
Posts a reply on the ticket and answers with the ticket summary. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not.
Takes any type of body and a specified content type.
Corresponds with POST /v1/support/tickets/{id}/replies (the `CreateSupportTicketReply` operationId).
func (*Gen) CreateSupportTicketWithBody ¶
func (c *Gen) CreateSupportTicketWithBody(ctx context.Context, params *CreateSupportTicketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportTicketWithBody Raise a support ticket
Raises a ticket for the account and answers with the ticket summary; the conversation is read by getting the ticket. An account or service token must name the member it acts for (requesterEmail on create, authorEmail on reply); a personal token must not. Requires an idempotency key: a retry under the same key returns the first call's ticket rather than raising a second.
Takes any type of body and a specified content type.
Corresponds with POST /v1/support/tickets (the `CreateSupportTicket` operationId).
func (*Gen) CreateVm ¶
func (c *Gen) CreateVm(ctx context.Context, params *CreateVmParams, body CreateVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVm Create a virtual machine
Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms (the `CreateVm` operationId).
func (*Gen) CreateVmFirewallRule ¶
func (c *Gen) CreateVmFirewallRule(ctx context.Context, id string, params *CreateVmFirewallRuleParams, body CreateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmFirewallRule Add a firewall rule to a virtual machine
Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
func (*Gen) CreateVmFirewallRuleWithBody ¶
func (c *Gen) CreateVmFirewallRuleWithBody(ctx context.Context, id string, params *CreateVmFirewallRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmFirewallRuleWithBody Add a firewall rule to a virtual machine
Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached (the FIREWALL_RULES_PER_VM key) at the VM's rule cap.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/firewall-rules (the `CreateVmFirewallRule` operationId).
func (*Gen) CreateVmPrivateIp ¶
func (c *Gen) CreateVmPrivateIp(ctx context.Context, id string, params *CreateVmPrivateIpParams, body CreateVmPrivateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmPrivateIp Add a private IP address to a virtual machine's network interface
Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
func (*Gen) CreateVmPrivateIpWithBody ¶
func (c *Gen) CreateVmPrivateIpWithBody(ctx context.Context, id string, params *CreateVmPrivateIpParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmPrivateIpWithBody Add a private IP address to a virtual machine's network interface
Leases the next free address from the interface's VPC; the caller picks the interface, never the address. Requires write:network. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 404 for an unknown VM or interface.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/private-ips (the `CreateVmPrivateIp` operationId).
func (*Gen) CreateVmWithBody ¶
func (c *Gen) CreateVmWithBody(ctx context.Context, params *CreateVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmWithBody Create a virtual machine
Provisions one VM. Requires write:compute. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location. Refuses with 422 limit-reached at the account's VM cap — a provisioning rejection, so its body carries the reason and a sentence but no limit figures. With `publicIp` set it also refuses synchronously with 409 while the account's public-IP admission lock is held by another request. `reservedPublicIpId` builds the VM onto one of the account's unattached Reserved IPs: 404 when the account does not hold it, 409 when a VM already has it.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms (the `CreateVm` operationId).
func (*Gen) CreateVpc ¶
func (c *Gen) CreateVpc(ctx context.Context, params *CreateVpcParams, body CreateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpc Create a VPC
Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
func (*Gen) CreateVpcReservedIp ¶
func (c *Gen) CreateVpcReservedIp(ctx context.Context, id string, params *CreateVpcReservedIpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpcReservedIp Reserve a public IP
Requires write:network. Must carry an Idempotency-Key header. Takes a free public address from the pool and holds it for the account until it is released; the address is not a parameter. Synchronous: returns 200 with the reservation. Refuses with 409 when no address is free, and with 422 limit-reached at the account's public-IP cap (the PUBLIC_IP key), which a reservation counts against whether or not it is attached. A retry with the same Idempotency-Key replays a 200 already returned; after a timeout or 5xx, or under a new key, it may reserve a second address, so list GET /v1/vpcs/{id}/reserved-ips first.
Corresponds with POST /v1/vpcs/{id}/reserved-ips (the `CreateVpcReservedIp` operationId).
func (*Gen) CreateVpcVip ¶
func (c *Gen) CreateVpcVip(ctx context.Context, id string, params *CreateVpcVipParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpcVip Reserve a VIP in a VPC
Requires write:network. Must carry an Idempotency-Key header. Takes a free private address from the VPC's network; the address is not a parameter. Asynchronous: returns 202 with the operation to poll at Location; a succeeded operation's createdResource names the new VIP, whose id the other /v1/vpcs/{id}/vips routes take.
Corresponds with POST /v1/vpcs/{id}/vips (the `CreateVpcVip` operationId).
func (*Gen) CreateVpcVipFirewallRule ¶
func (c *Gen) CreateVpcVipFirewallRule(ctx context.Context, id string, vipId string, body CreateVpcVipFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpcVipFirewallRule Add a firewall rule to a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
func (*Gen) CreateVpcVipFirewallRuleWithBody ¶
func (c *Gen) CreateVpcVipFirewallRuleWithBody(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpcVipFirewallRuleWithBody Add a firewall rule to a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `CreateVpcVipFirewallRule` operationId).
func (*Gen) CreateVpcWithBody ¶
func (c *Gen) CreateVpcWithBody(ctx context.Context, params *CreateVpcParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpcWithBody Create a VPC
Creates one VPC, owned by this token's account. Requires write:network. Must carry an Idempotency-Key header, which the backend dedupes on, so a retried create returns the first VPC rather than a second. Synchronous: returns 201 with the VPC. A no-capacity answer is 409.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vpcs (the `CreateVpc` operationId).
func (*Gen) DeleteAiSandbox ¶
func (c *Gen) DeleteAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAiSandbox Delete a sandbox
Deletes the sandbox and, if paused, its snapshot.
Corresponds with DELETE /v1/ai/sandboxes/{sandboxId} (the `DeleteAiSandbox` operationId).
func (*Gen) DeleteAiSandboxTemplate ¶
func (c *Gen) DeleteAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAiSandboxTemplate Delete a sandbox template
Removes the template and its stored image. Sandboxes already started from it are unaffected. Refuses with 409 template_building while it is still being saved.
Corresponds with DELETE /v1/ai/sandboxes/templates/{templateId} (the `DeleteAiSandboxTemplate` operationId).
func (*Gen) DeleteBucket ¶
func (c *Gen) DeleteBucket(ctx context.Context, id string, body DeleteBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteBucket Delete a bucket and everything in it
Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
func (*Gen) DeleteBucketKey ¶
func (c *Gen) DeleteBucketKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteBucketKey Delete an object storage access key
Detaches the key from every bucket, then removes it. The account's master key cannot be deleted — that would orphan every bucket it owns. Requires protected:s3. Returns 204.
Corresponds with DELETE /v1/bucket-keys/{keyId} (the `DeleteBucketKey` operationId).
func (*Gen) DeleteBucketWithBody ¶
func (c *Gen) DeleteBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteBucketWithBody Delete a bucket and everything in it
Irreversible: the objects go with the bucket, and the name is never reusable afterwards. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. The body must carry confirmBucketName, the bucket's name spelled exactly as the list returns it — the comparison is exact, matching the backend's own. Asynchronous: returns 202 with the operation to poll at Location, and 409 when a delete for this bucket is already in flight. 503 when the control plane is unavailable: the gateway renders it as its generic upstream-unavailable, an instruction to retry shortly.
Takes any type of body and a specified content type.
Corresponds with POST /v1/buckets/{id}/actions/delete (the `DeleteBucket` operationId).
func (*Gen) DeleteCard ¶
func (c *Gen) DeleteCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCard Remove a saved card
`id` is the card id `GET /v1/cards` returns.
Corresponds with DELETE /v1/cards/{id} (the `DeleteCard` operationId).
func (*Gen) DeleteKubernetesCluster ¶
func (c *Gen) DeleteKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteKubernetesCluster Delete a Kubernetes cluster
Destroys the cluster and its workers; this cannot be undone. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 again while the destroy is already running; 409 when the cluster's state does not allow it.
Corresponds with DELETE /v1/kubernetes/clusters/{id} (the `DeleteKubernetesCluster` operationId).
func (*Gen) DeleteMember ¶
func (c *Gen) DeleteMember(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMember Remove a member from the account's team
Also revokes that person's personal API tokens for this account, so a credential they already hold stops working here — removing the membership alone would leave a token that keeps confirming the account. A repeat is 404: they are no longer a member. `userId` is the id `GET /v1/members` returns. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Corresponds with DELETE /v1/members/{userId} (the `DeleteMember` operationId).
func (*Gen) DeletePlacementGroup ¶
func (c *Gen) DeletePlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePlacementGroup Delete a placement group
Releases the group; its members stay where they are, since a group only ever constrained future placement.
Corresponds with DELETE /v1/placement-groups/{id} (the `DeletePlacementGroup` operationId).
func (*Gen) DeleteProject ¶
func (c *Gen) DeleteProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteProject Delete a project
Only an empty project that is not the account's default and not managed by the platform can be deleted; anything else answers 409, so move its resources out first. Only an account admin's personal token can delete a project: every account-service token is refused with 403.
Corresponds with DELETE /v1/projects/{id} (the `DeleteProject` operationId).
func (*Gen) DeleteSshKey ¶
func (c *Gen) DeleteSshKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSshKey Delete an SSH key
Refused with 409 while the key is still linked to a virtual machine — unlink it from them first, then delete it.
Corresponds with DELETE /v1/ssh-keys/{id} (the `DeleteSshKey` operationId).
func (*Gen) DeleteVm ¶
func (c *Gen) DeleteVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVm Delete a virtual machine
Destroys the VM and its disks. Irreversible. Requires protected:compute. The VM must be stopped: a running VM is refused with 409. Asynchronous: returns 202 with the operation to poll.
Corresponds with DELETE /v1/vms/{id} (the `DeleteVm` operationId).
func (*Gen) DeleteVmBackup ¶
func (c *Gen) DeleteVmBackup(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmBackup Forget one backup of a virtual machine
Requires protected:backup. Permanently deletes the named backup's archive. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Corresponds with DELETE /v1/vms/{id}/backups/{startedAt} (the `DeleteVmBackup` operationId).
func (*Gen) DeleteVmBackupPolicy ¶
func (c *Gen) DeleteVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmBackupPolicy Remove a virtual machine's backup policy
Stops future scheduled backups. Nothing is deleted: every existing backup stays where it is. 404 when the VM had no policy.
Corresponds with DELETE /v1/vms/{id}/backup-policy (the `DeleteVmBackupPolicy` operationId).
func (*Gen) DeleteVmFirewallRule ¶
func (c *Gen) DeleteVmFirewallRule(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmFirewallRule Remove a firewall rule from a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with DELETE /v1/vms/{id}/firewall-rules/{ruleId} (the `DeleteVmFirewallRule` operationId).
func (*Gen) DeleteVmFirewallRules ¶
func (c *Gen) DeleteVmFirewallRules(ctx context.Context, id string, body DeleteVmFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmFirewallRules Remove several firewall rules from a virtual machine
Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
func (*Gen) DeleteVmFirewallRulesWithBody ¶
func (c *Gen) DeleteVmFirewallRulesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmFirewallRulesWithBody Remove several firewall rules from a virtual machine
Removes the rules in one operation. Rule ids not found on the VM are ignored. A failed operation may have removed some of the rules, so list them again. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/firewall-rules/actions/remove (the `DeleteVmFirewallRules` operationId).
func (*Gen) DeleteVpc ¶
func (c *Gen) DeleteVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpc Delete a VPC
Retracts the VPC and returns its range to the pool. Irreversible. Requires protected:network. Synchronous: returns 204. Refuses with 409 while a VM still holds a lease on its private network. The backend's typed blocker list is not forwarded, and its body carries no detail for the gateway to read, so the 409 names neither the VMs nor how many: the detail is this API's generic conflict sentence.
Corresponds with DELETE /v1/vpcs/{id} (the `DeleteVpc` operationId).
func (*Gen) DeleteVpcReservedIp ¶
func (c *Gen) DeleteVpcReservedIp(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpcReservedIp Release a reserved public IP
Requires protected:network. Returns the address to the pool. Synchronous: returns 204. Refuses with 409 while a VM or a VIP holds the address; detach it first. A retry after a lost answer is a 404, the address no longer being the account's.
Corresponds with DELETE /v1/vpcs/{id}/reserved-ips/{publicIpId} (the `DeleteVpcReservedIp` operationId).
func (*Gen) DeleteVpcVip ¶
func (c *Gen) DeleteVpcVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpcVip Release a VIP
Requires protected:network. Returns the private address to the VPC's network; it may be given to someone else. Refuses with 409 while the VIP has a public IP: detach it first. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId} (the `DeleteVpcVip` operationId).
func (*Gen) DeleteVpcVipFirewallRule ¶
func (c *Gen) DeleteVpcVipFirewallRule(ctx context.Context, id string, vipId string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpcVipFirewallRule Remove a firewall rule from a VIP
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId} (the `DeleteVpcVipFirewallRule` operationId).
func (*Gen) DeleteVpcVipFirewallRules ¶
func (c *Gen) DeleteVpcVipFirewallRules(ctx context.Context, id string, vipId string, body DeleteVpcVipFirewallRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpcVipFirewallRules Remove several firewall rules from a VIP
Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
func (*Gen) DeleteVpcVipFirewallRulesWithBody ¶
func (c *Gen) DeleteVpcVipFirewallRulesWithBody(ctx context.Context, id string, vipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpcVipFirewallRulesWithBody Remove several firewall rules from a VIP
Requires write:network. Removes the rules in one operation. Rule ids not found on the VIP are ignored. A failed operation may have removed some of the rules, so list them again. A removed rule may still be listed until the edge applies the removal; sending it again is safe. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/actions/remove (the `DeleteVpcVipFirewallRules` operationId).
func (*Gen) DetachVmNetworkInterface ¶
func (c *Gen) DetachVmNetworkInterface(ctx context.Context, id string, nicId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachVmNetworkInterface Detach a network interface from a virtual machine
Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with DELETE /v1/vms/{id}/network-interfaces/{nicId} (the `DetachVmNetworkInterface` operationId).
func (*Gen) DetachVmPublicIp ¶
func (c *Gen) DetachVmPublicIp(ctx context.Context, id string, publicIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachVmPublicIp Detach a public IP from a virtual machine
Requires protected:network. Asynchronous: returns 202 with the operation to poll at Location. Refuses with a transitional 409 while THAT ADDRESS already has a release in flight — keyed on the address, not the VM.
Corresponds with DELETE /v1/vms/{id}/public-ips/{publicIpId} (the `DetachVmPublicIp` operationId).
func (*Gen) DetachVmSshKey ¶
func (c *Gen) DetachVmSshKey(ctx context.Context, id string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachVmSshKey Take an SSH key away from a virtual machine
Does not delete the key; it stops being installed on this VM.
Corresponds with DELETE /v1/vms/{id}/ssh-keys/{keyId} (the `DetachVmSshKey` operationId).
func (*Gen) DetachVpcVipPublicIp ¶
func (c *Gen) DetachVpcVipPublicIp(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachVpcVipPublicIp Take a VIP's public IP off
Requires protected:network. Returns the address to the pool. Synchronous: returns 200 with the VIP; a VIP with no public IP answers 200 unchanged. Refuses with 409 while firewall rules on the VIP remain (remove them with /v1/vpcs/{id}/vips/{vipId}/firewall-rules first), and for a VIP the platform manages.
Corresponds with DELETE /v1/vpcs/{id}/vips/{vipId}/public-ip (the `DetachVpcVipPublicIp` operationId).
func (*Gen) ExecAiSandbox ¶
func (c *Gen) ExecAiSandbox(ctx context.Context, sandboxId string, body ExecAiSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecAiSandbox Run a command in a sandbox
Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
func (*Gen) ExecAiSandboxWithBody ¶
func (c *Gen) ExecAiSandboxWithBody(ctx context.Context, sandboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecAiSandboxWithBody Run a command in a sandbox
Runs argv to completion and answers with its output; the call is held for up to the timeout, at most 90 seconds. Each stream is cut at 1 MiB with truncated set. Needs protected:sandboxes. Refuses with 409 when the sandbox is not running and 400 for a timeout out of range.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/exec (the `ExecAiSandbox` operationId).
func (*Gen) ForceStopVm ¶
func (c *Gen) ForceStopVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ForceStopVm Force a virtual machine off
Cuts power without asking the guest; unflushed writes may be lost. Asynchronous: returns 202 with the operation to poll.
Corresponds with POST /v1/vms/{id}/actions/force-stop (the `ForceStopVm` operationId).
func (*Gen) GetAccount ¶
func (c *Gen) GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccount Introspect the calling token + account
The account this API token is bound to, the token's active scopes, and the remaining rate-limit budget.
Corresponds with GET /v1/account (the `GetAccount` operationId).
func (*Gen) GetAccountDeletedVmBackupRetention ¶
func (c *Gen) GetAccountDeletedVmBackupRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountDeletedVmBackupRetention How long a deleted virtual machine's newest backup is kept
A live platform value, not a constant: read it here rather than hardcoding it. 0 means the newest backup is removed on the next sweep after the VM is deleted.
Corresponds with GET /v1/account/deleted-vm-backup-retention (the `GetAccountDeletedVmBackupRetention` operationId).
func (*Gen) GetAccountLimits ¶
func (c *Gen) GetAccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountLimits List the account's limits
Every limit that applies to the account, with current usage where it has one. Readable by any token of the account; it needs no scope.
Corresponds with GET /v1/account/limits (the `GetAccountLimits` operationId).
func (*Gen) GetAiSandbox ¶
func (c *Gen) GetAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAiSandbox Get a sandbox
Corresponds with GET /v1/ai/sandboxes/{sandboxId} (the `GetAiSandbox` operationId).
func (*Gen) GetAiSandboxTemplate ¶
func (c *Gen) GetAiSandboxTemplate(ctx context.Context, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAiSandboxTemplate Get a sandbox template
A FAILED template is readable by id so a save can be seen to have failed.
Corresponds with GET /v1/ai/sandboxes/templates/{templateId} (the `GetAiSandboxTemplate` operationId).
func (*Gen) GetBillingAccrual ¶
func (c *Gen) GetBillingAccrual(ctx context.Context, params *GetBillingAccrualParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingAccrual Get the account's month-to-date accrual
A reading from the usage ledger, not an invoice: one total for the whole account across every billed resource type (VMs, backups, buckets, VPCs), never for one type. `total` is in rands. Optionally as-of a past instant; the window is always clamped to the meter's coverage frontier.
Corresponds with GET /v1/billing/accrual (the `GetBillingAccrual` operationId).
func (*Gen) GetBillingBalance ¶
func (c *Gen) GetBillingBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingBalance Get the account's outstanding balance
Corresponds with GET /v1/billing/balance (the `GetBillingBalance` operationId).
func (*Gen) GetBillingDetails ¶
func (c *Gen) GetBillingDetails(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingDetails Get the account's billing details
Corresponds with GET /v1/billing/details (the `GetBillingDetails` operationId).
func (*Gen) GetBucket ¶
func (c *Gen) GetBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucket Get an object storage bucket
Corresponds with GET /v1/buckets/{id} (the `GetBucket` operationId).
func (*Gen) GetBucketCors ¶ added in v0.3.0
func (c *Gen) GetBucketCors(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketCors A bucket's CORS rules
Read live from the storage cluster.
Corresponds with GET /v1/buckets/{id}/cors (the `GetBucketCors` operationId).
func (*Gen) GetBucketLifecycle ¶ added in v0.3.0
func (c *Gen) GetBucketLifecycle(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketLifecycle A bucket's lifecycle rules
Read live from the storage cluster. `unsupported` means the bucket also holds rules this API cannot represent.
Corresponds with GET /v1/buckets/{id}/lifecycle (the `GetBucketLifecycle` operationId).
func (*Gen) GetBucketObjectMetadata ¶ added in v0.3.0
func (c *Gen) GetBucketObjectMetadata(ctx context.Context, id string, params *GetBucketObjectMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketObjectMetadata Get one object's metadata, tags and retention
Reads the current version's content headers, user metadata, tags and object-lock retention. 404 for a missing key, and for an object whose current version is a delete marker.
Corresponds with GET /v1/buckets/{id}/objects/metadata (the `GetBucketObjectMetadata` operationId).
func (*Gen) GetBucketProtection ¶ added in v0.3.0
func (c *Gen) GetBucketProtection(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketProtection A bucket's object lock and default encryption
Read-only: object lock is chosen when the bucket is ordered.
Corresponds with GET /v1/buckets/{id}/protection (the `GetBucketProtection` operationId).
func (*Gen) GetBucketUsage ¶
func (c *Gen) GetBucketUsage(ctx context.Context, id string, params *GetBucketUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketUsage A bucket's storage usage and traffic over a window
Not the billing basis — egress is billed differently. See the field docs.
Corresponds with GET /v1/buckets/{id}/usage (the `GetBucketUsage` operationId).
func (*Gen) GetBucketVersioning ¶
func (c *Gen) GetBucketVersioning(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBucketVersioning A bucket's current versioning state
Corresponds with GET /v1/buckets/{id}/versioning (the `GetBucketVersioning` operationId).
func (*Gen) GetCardLink ¶
func (c *Gen) GetCardLink(ctx context.Context, checkoutId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCardLink Poll a card link
Requires `write:billing`: the backend gates this read on the account's manage tier, so the scope is a ceiling and a read-only token is refused. Not a write — it spends the read rate-limit bucket.
Corresponds with GET /v1/cards/links/{checkoutId} (the `GetCardLink` operationId).
func (*Gen) GetKubernetesCluster ¶
func (c *Gen) GetKubernetesCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetKubernetesCluster Get a Kubernetes cluster
One cluster and its live workers.
Corresponds with GET /v1/kubernetes/clusters/{id} (the `GetKubernetesCluster` operationId).
func (*Gen) GetKubernetesClusterKubeconfig ¶
func (c *Gen) GetKubernetesClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetKubernetesClusterKubeconfig Download a cluster's kubeconfig
A kubeconfig that logs in with your API token: it holds no credential. It reads the token, and the paired elevation secret that cluster access needs, from the two environment variables its exec entry names. Only an account owner or admin can use it. 409 while the cluster's state does not allow a login; 503 while cluster login is not available yet.
Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig (the `GetKubernetesClusterKubeconfig` operationId).
func (*Gen) GetKubernetesClusterManagedVpnKubeconfig ¶
func (c *Gen) GetKubernetesClusterManagedVpnKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetKubernetesClusterManagedVpnKubeconfig Download a cluster's kubeconfig for Managed VPN
The same kubeconfig, pointed at the cluster's address inside the Managed VPN. 404 also while Managed VPN is off for the account or none of its networks has an active gateway; 409 when the cluster's address cannot be routed over the VPN.
Corresponds with GET /v1/kubernetes/clusters/{id}/kubeconfig/managed-vpn (the `GetKubernetesClusterManagedVpnKubeconfig` operationId).
func (*Gen) GetKubernetesNodeMetric ¶
func (c *Gen) GetKubernetesNodeMetric(ctx context.Context, id string, vmId string, metric string, params *GetKubernetesNodeMetricParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetKubernetesNodeMetric Get one worker's CPU or memory series
`metric` is `cpu` (percent) or `memory` (bytes). `range` is one of 15m, 1h, 2h, 6h, 24h, 7d, 30d; 2h when absent. `vmId` is a worker's `vmId` from GET /v1/kubernetes/clusters/{id}. 200 with `unavailable` true when the series cannot be read now; 400 for a metric or range outside those lists; 404 for an unknown cluster or a worker that is not this cluster's.
Corresponds with GET /v1/kubernetes/clusters/{id}/nodes/{vmId}/metrics/{metric} (the `GetKubernetesNodeMetric` operationId).
func (*Gen) GetMe ¶
GetMe Introspect the calling token's identity
The calling token's own identity — principal kind, subject, name and scopes.
Corresponds with GET /v1/me (the `GetMe` operationId).
func (*Gen) GetOperation ¶
func (c *Gen) GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOperation Get an operation
Corresponds with GET /v1/operations/{id} (the `GetOperation` operationId).
func (*Gen) GetPlacementFeasibility ¶
func (c *Gen) GetPlacementFeasibility(ctx context.Context, params *GetPlacementFeasibilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlacementFeasibility Check whether a datacenter can take a VM shape
Answers how many of `count` VMs of this shape would be placed in the datacenter, optionally joining a placement group. Read-only: nothing is reserved. `count` defaults to 1 and the answer never exceeds it; the platform may clamp a large `count`, which the response's `requested` reports. `extraDisksGib` is the TOTAL of the extra disks a create would request, not one disk, and defaults to 0.
Corresponds with GET /v1/placement/feasibility (the `GetPlacementFeasibility` operationId).
func (*Gen) GetPlacementGroup ¶
func (c *Gen) GetPlacementGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlacementGroup Get a placement group by id
Corresponds with GET /v1/placement-groups/{id} (the `GetPlacementGroup` operationId).
func (*Gen) GetProject ¶
func (c *Gen) GetProject(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProject Get a project
Corresponds with GET /v1/projects/{id} (the `GetProject` operationId).
func (*Gen) GetSupportTicket ¶
func (c *Gen) GetSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportTicket Get a support ticket and its conversation
The ticket, its original description and its visible conversation, oldest first. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Corresponds with GET /v1/support/tickets/{id} (the `GetSupportTicket` operationId).
func (*Gen) GetSupportTicketAttachment ¶
func (c *Gen) GetSupportTicketAttachment(ctx context.Context, id string, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportTicketAttachment Download a ticket attachment
The attachment's bytes, always served as an opaque download. 404 if the ticket has no such attachment among those the caller can see. The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Corresponds with GET /v1/support/tickets/{id}/attachments/{attachmentId} (the `GetSupportTicketAttachment` operationId).
func (*Gen) GetVm ¶
func (c *Gen) GetVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVm Get a virtual machine by id
Get one virtual machine by its id, with its current state. Use this when you already hold the id, from listVms or an earlier call. It cannot look a VM up by name: to find an id from a name, call listVms with `slug`. A 404 means no VM of that id in this account.
Corresponds with GET /v1/vms/{id} (the `GetVm` operationId).
func (*Gen) GetVmBackupPolicy ¶
func (c *Gen) GetVmBackupPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmBackupPolicy Get a virtual machine's backup policy
404 for either an unknown VM or a VM with no policy — absence is the status, not a policy with empty fields.
Corresponds with GET /v1/vms/{id}/backup-policy (the `GetVmBackupPolicy` operationId).
func (*Gen) GetVpc ¶
func (c *Gen) GetVpc(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpc Get a VPC by id
Corresponds with GET /v1/vpcs/{id} (the `GetVpc` operationId).
func (*Gen) GrantBucketKeyBucketAccess ¶
func (c *Gen) GrantBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GrantBucketKeyBucketAccess Grant a key access to a bucket
Grants the key's recorded permission on the bucket, and rewrites the bucket's policy to name it. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
Corresponds with PUT /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `GrantBucketKeyBucketAccess` operationId).
func (*Gen) GrowKubernetesClusterStorage ¶
func (c *Gen) GrowKubernetesClusterStorage(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, body GrowKubernetesClusterStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GrowKubernetesClusterStorage Grow a Kubernetes cluster's worker data disks
Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
func (*Gen) GrowKubernetesClusterStorageWithBody ¶
func (c *Gen) GrowKubernetesClusterStorageWithBody(ctx context.Context, id string, params *GrowKubernetesClusterStorageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GrowKubernetesClusterStorageWithBody Grow a Kubernetes cluster's worker data disks
Grows every worker's data disk to the size given, all at once. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the size the cluster already has, which resumes a grow that stopped short. 400 for a size outside the allowed bounds or below the current size; 409 when the cluster's state does not allow it or another change is running; 422 when the hosts have no room.
Takes any type of body and a specified content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/grow-storage (the `GrowKubernetesClusterStorage` operationId).
func (*Gen) ListActivity ¶
func (c *Gen) ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListActivity List activity
Two modes on one route. The account feed takes `types`, `cursor` and `limit` and returns the account's activity newest first; pass the previous response's nextCursor as `cursor` for the next page. The subject history takes `subjectType` and `subjectId` (and `limit`) and returns that one subject's newest activity, at most `limit` rows and never a nextCursor. Mixing the two is 400. `limit` is 1 to 50 and defaults to 50. Rows are limited to what the token's scopes could read directly, and rows show teammates' short display names, or "Service token" for an account service token. Readable by any token of the account; it needs no scope of its own.
Corresponds with GET /v1/activity (the `ListActivity` operationId).
func (*Gen) ListAiSandboxTemplates ¶
func (c *Gen) ListAiSandboxTemplates(ctx context.Context, params *ListAiSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAiSandboxTemplates List the account's sandbox templates
BUILDING, READY and DELETING templates, oldest first; a failed or fully deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/ai/sandboxes/templates (the `ListAiSandboxTemplates` operationId).
func (*Gen) ListAiSandboxes ¶
func (c *Gen) ListAiSandboxes(ctx context.Context, params *ListAiSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAiSandboxes List the account's sandboxes
Running, paused and in-transition sandboxes, oldest first; a failed or deleted one is not listed. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/ai/sandboxes (the `ListAiSandboxes` operationId).
func (*Gen) ListBackupPolicies ¶
func (c *Gen) ListBackupPolicies(ctx context.Context, params *ListBackupPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBackupPolicies List the account's backup policies
Each live virtual machine's backup policy, tagged with the VM's id. Only live VMs are listed: a deleted VM's policy is not, though /v1/vms/{id}/backup-policy still answers it. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/backup-policies (the `ListBackupPolicies` operationId).
func (*Gen) ListBackupWindows ¶
func (c *Gen) ListBackupWindows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBackupWindows The backup window catalogue
The four windows in cycle order (overnight, morning, afternoon, evening) as they are configured right now. Platform-wide; boundaries are operator-editable.
Corresponds with GET /v1/backup-windows (the `ListBackupWindows` operationId).
func (*Gen) ListBucketDeletedObjects ¶ added in v0.3.0
func (c *Gen) ListBucketDeletedObjects(ctx context.Context, id string, params *ListBucketDeletedObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBucketDeletedObjects List deleted objects that can still be recovered
Lists the keys whose current version is a delete marker, under `prefix` or across the bucket: deleted, with earlier versions still held. Each row is that delete marker. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Corresponds with GET /v1/buckets/{id}/objects/deleted (the `ListBucketDeletedObjects` operationId).
func (*Gen) ListBucketKeys ¶
func (c *Gen) ListBucketKeys(ctx context.Context, params *ListBucketKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBucketKeys List object storage access keys in the account
Includes the account's master key, which is attached to no bucket. Never carries a secret. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/bucket-keys (the `ListBucketKeys` operationId).
func (*Gen) ListBucketObjectVersions ¶ added in v0.3.0
func (c *Gen) ListBucketObjectVersions(ctx context.Context, id string, params *ListBucketObjectVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBucketObjectVersions List the versions of one object
Lists every version of exactly one key, delete markers included: the current version first, then newest first. A bucket that was never versioned lists one entry with a null versionId. Cursor-paginated; a version written between two pages can list the version it replaced again, now as noncurrent, and when the newest versions are permanently deleted between pages, the version that becomes current can be skipped. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Corresponds with GET /v1/buckets/{id}/objects/versions (the `ListBucketObjectVersions` operationId).
func (*Gen) ListBucketObjects ¶ added in v0.3.0
func (c *Gen) ListBucketObjects(ctx context.Context, id string, params *ListBucketObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBucketObjects List the objects in a bucket
Lists the objects under `prefix`, or every object when it is omitted, in key order. Cursor-paginated. Follow nextCursor until it is null; a page can be short or even empty while more follow, so never infer the end from a page's size.
Corresponds with GET /v1/buckets/{id}/objects (the `ListBucketObjects` operationId).
func (*Gen) ListBuckets ¶
func (c *Gen) ListBuckets(ctx context.Context, params *ListBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBuckets List object storage buckets in the account
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/buckets (the `ListBuckets` operationId).
func (*Gen) ListCards ¶
func (c *Gen) ListCards(ctx context.Context, params *ListCardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCards List the account's saved cards
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/cards (the `ListCards` operationId).
func (*Gen) ListIpAddresses ¶
func (c *Gen) ListIpAddresses(ctx context.Context, params *ListIpAddressesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIpAddresses List every IP address the account holds
Attached or not, public and private alike. Ordered public-before-private, then by owner name, then by address. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/ip-addresses (the `ListIpAddresses` operationId).
func (*Gen) ListKubernetesClusters ¶
func (c *Gen) ListKubernetesClusters(ctx context.Context, params *ListKubernetesClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListKubernetesClusters List the account's Kubernetes clusters
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/kubernetes/clusters (the `ListKubernetesClusters` operationId).
func (*Gen) ListMembers ¶
func (c *Gen) ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMembers List the account's team members
Includes pending invitees, as the Users section of the portal's Account page does. Ordered by name, or by email where there is none. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/members (the `ListMembers` operationId).
func (*Gen) ListOsImages ¶
func (c *Gen) ListOsImages(ctx context.Context, params *ListOsImagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOsImages List the images a virtual machine can be created from
Every image you can create from. `id` is the `osImageId` that POST /v1/vms takes. `requiresSshKey` says whether the create must carry at least one SSH key (true) or refuses keys (false, for Windows images). Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/os-images (the `ListOsImages` operationId).
func (*Gen) ListPlacementGroupDatacenters ¶
func (c *Gen) ListPlacementGroupDatacenters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPlacementGroupDatacenters List the datacenters a placement group can be created in
The slug on each entry is the only value create accepts as `datacenterId`. Create refuses anything else — a display name, or a site this account cannot place into — because a group in a site the placement engine cannot match is silently inert. Read the slug from here rather than composing one.
Corresponds with GET /v1/placement-groups/datacenters (the `ListPlacementGroupDatacenters` operationId).
func (*Gen) ListPlacementGroups ¶
func (c *Gen) ListPlacementGroups(ctx context.Context, params *ListPlacementGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPlacementGroups List placement groups in the account
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/placement-groups (the `ListPlacementGroups` operationId).
func (*Gen) ListProjectResources ¶
func (c *Gen) ListProjectResources(ctx context.Context, id string, params *ListProjectResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjectResources List the resources in a project
Every live resource the project holds, including kinds that cannot be moved out of it: they still count toward the project's resourceCount and its delete guard. Ordered by name. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/projects/{id}/resources (the `ListProjectResources` operationId).
func (*Gen) ListProjects ¶
func (c *Gen) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjects List projects
The account's projects, the default project first and then by name. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/projects (the `ListProjects` operationId).
func (*Gen) ListSshKeys ¶
func (c *Gen) ListSshKeys(ctx context.Context, params *ListSshKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSshKeys List the token's own SSH keys
Keys are person-owned. A CUSTOMER_PAT sees its own person's keys; an ACCOUNT_SERVICE token has no person and is refused. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/ssh-keys (the `ListSshKeys` operationId).
func (*Gen) ListSupportTickets ¶
func (c *Gen) ListSupportTickets(ctx context.Context, params *ListSupportTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSupportTickets List the account's support tickets
Cursor-paginated, most recently updated first. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Filter with `status` (repeatable: open, waiting-on-you, resolved, closed) and `q` (free text). The tickets returned are those raised through the portal or the API for this account, plus, for a personal token, the token owner's own requests. Internal notes are never returned, and HTML bodies are sanitised.
Corresponds with GET /v1/support/tickets (the `ListSupportTickets` operationId).
func (*Gen) ListTransactions ¶
func (c *Gen) ListTransactions(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTransactions List transactions for the account
Invoices and credit notes, cursor-paginated, newest first. Credit notes are negative and appear once posted to the accounting system. Pass `?cursor=…` from the previous response's nextCursor to fetch the next page. Answers 502 when credit notes cannot be read, rather than a page without them.
Corresponds with GET /v1/transactions (the `ListTransactions` operationId).
func (*Gen) ListVips ¶
func (c *Gen) ListVips(ctx context.Context, params *ListVipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVips List the account's virtual IPs
One entry per VIP, with its private address, its public overlay address if it has one, and the VMs declared to serve it. In the order /v1/ip-addresses lists their first row. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vips (the `ListVips` operationId).
func (*Gen) ListVmBackupRestoreSites ¶
func (c *Gen) ListVmBackupRestoreSites(ctx context.Context, id string, startedAt int64, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmBackupRestoreSites List the datacenters a backup can be restored to as a new VM
The datacenters that can take this backup as a new virtual machine, each with whether it has room. An empty list means the backup cannot be restored to a new VM. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Corresponds with GET /v1/vms/{id}/backups/{startedAt}/restore-sites (the `ListVmBackupRestoreSites` operationId).
func (*Gen) ListVmBackups ¶
func (c *Gen) ListVmBackups(ctx context.Context, id string, params *ListVmBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmBackups List a virtual machine's backups
Newest first. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/backups (the `ListVmBackups` operationId).
func (*Gen) ListVmDisks ¶
func (c *Gen) ListVmDisks(ctx context.Context, id string, params *ListVmDisksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmDisks List a virtual machine's disks
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/disks (the `ListVmDisks` operationId).
func (*Gen) ListVmFirewallRules ¶
func (c *Gen) ListVmFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmFirewallRules List firewall rules that apply to a virtual machine
Corresponds with GET /v1/vms/{id}/firewall-rules (the `ListVmFirewallRules` operationId).
func (*Gen) ListVmNetworkInterfaces ¶
func (c *Gen) ListVmNetworkInterfaces(ctx context.Context, id string, params *ListVmNetworkInterfacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmNetworkInterfaces List a virtual machine's network interfaces
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/network-interfaces (the `ListVmNetworkInterfaces` operationId).
func (*Gen) ListVmPrivateIps ¶
func (c *Gen) ListVmPrivateIps(ctx context.Context, id string, params *ListVmPrivateIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmPrivateIps List the private IP addresses leased to a virtual machine
One entry per lease, across all of the VM's network interfaces. The id is the leaseId that privateLeaseId on POST /v1/vms/{id}/public-ips takes. Private addresses cannot be released through the API. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/private-ips (the `ListVmPrivateIps` operationId).
func (*Gen) ListVmPublicIps ¶
func (c *Gen) ListVmPublicIps(ctx context.Context, id string, params *ListVmPublicIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmPublicIps List public IPs attached to a virtual machine
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/public-ips (the `ListVmPublicIps` operationId).
func (*Gen) ListVmSshKeys ¶
func (c *Gen) ListVmSshKeys(ctx context.Context, id string, params *ListVmSshKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVmSshKeys List the SSH keys linked to a virtual machine
Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vms/{id}/ssh-keys (the `ListVmSshKeys` operationId).
func (*Gen) ListVms ¶
func (c *Gen) ListVms(ctx context.Context, params *ListVmsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVms List virtual machines in the account
Cursor-paginated: pass `cursor` from the previous response's nextCursor to fetch the next page. Use this to find a VM when you do not have its id: filter by current display name with `slug`, or read every VM in the account. Each row is the full VM, so no second call is needed for its details. When you already hold the VM's id, call getVm instead of listing.
Corresponds with GET /v1/vms (the `ListVms` operationId).
func (*Gen) ListVpcFirewallRules ¶
func (c *Gen) ListVpcFirewallRules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVpcFirewallRules List firewall rules that apply to a VPC
Corresponds with GET /v1/vpcs/{id}/firewall-rules (the `ListVpcFirewallRules` operationId).
func (*Gen) ListVpcReservedIps ¶
func (c *Gen) ListVpcReservedIps(ctx context.Context, id string, params *ListVpcReservedIpsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVpcReservedIps List the account's reserved public IPs
Requires read:network. The account's reservations in address order, attached or idle; the VPC in the path is only the object the request is authorised on. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vpcs/{id}/reserved-ips (the `ListVpcReservedIps` operationId).
func (*Gen) ListVpcVipFirewallRules ¶
func (c *Gen) ListVpcVipFirewallRules(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVpcVipFirewallRules List firewall rules that apply to a VIP
The rules addressed to the VIP's public IP that name no VM.
Corresponds with GET /v1/vpcs/{id}/vips/{vipId}/firewall-rules (the `ListVpcVipFirewallRules` operationId).
func (*Gen) ListVpcs ¶
func (c *Gen) ListVpcs(ctx context.Context, params *ListVpcsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVpcs List VPCs in the account
Ordered by name, case-insensitively. Cursor-paginated: follow nextCursor via `?cursor=`.
Corresponds with GET /v1/vpcs (the `ListVpcs` operationId).
func (*Gen) MoveProjectResource ¶
func (c *Gen) MoveProjectResource(ctx context.Context, id string, resourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveProjectResource Move a resource into a project
Files the resource in this project, moving it out of whichever project it is in now; repeating the call is harmless. Answers with the destination project. Within one account only, and not every kind of resource can be moved: those authorized through a parent, such as public IPs and firewall rules, are refused. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Corresponds with PUT /v1/projects/{id}/resources/{resourceId} (the `MoveProjectResource` operationId).
func (*Gen) PauseAiSandbox ¶
func (c *Gen) PauseAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
PauseAiSandbox Pause a sandbox
Snapshots and stops a running sandbox; billing stops. The snapshot lives on the same host and is not durable, and the sandbox is still deleted at its original expiry. Refuses with 409 when the sandbox is not running or the host has no room for the snapshot.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/pause (the `PauseAiSandbox` operationId).
func (*Gen) PreviewVmBackupPolicyRotation ¶
func (c *Gen) PreviewVmBackupPolicyRotation(ctx context.Context, id string, body PreviewVmBackupPolicyRotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewVmBackupPolicyRotation Preview what a retention set would delete
A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
func (*Gen) PreviewVmBackupPolicyRotationWithBody ¶
func (c *Gen) PreviewVmBackupPolicyRotationWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewVmBackupPolicyRotationWithBody Preview what a retention set would delete
A POST because it takes the prospective policy as a body, and it changes nothing — gated as the read it is. Send the policy you are considering; the answer is what the next rotation pass would delete.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/backup-policy/rotation-preview (the `PreviewVmBackupPolicyRotation` operationId).
func (*Gen) ReadAiSandboxFile ¶
func (c *Gen) ReadAiSandboxFile(ctx context.Context, sandboxId string, params *ReadAiSandboxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ReadAiSandboxFile Read a file from a running sandbox
The file's bytes, at most 16 MiB.
Corresponds with GET /v1/ai/sandboxes/{sandboxId}/files (the `ReadAiSandboxFile` operationId).
func (*Gen) RebootVm ¶
func (c *Gen) RebootVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
RebootVm Restart a virtual machine
Shuts the virtual machine down and starts it again. Asynchronous: returns 202 with the operation to poll.
Corresponds with POST /v1/vms/{id}/actions/reboot (the `RebootVm` operationId).
func (*Gen) RemovePlacementGroupMember ¶
func (c *Gen) RemovePlacementGroupMember(ctx context.Context, id string, vmId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemovePlacementGroupMember Remove a VM from a placement group
The VM stays where it is; the constraint no longer applies to it. Synchronous: returns 200 with the group as it stands.
Corresponds with DELETE /v1/placement-groups/{id}/members/{vmId} (the `RemovePlacementGroupMember` operationId).
func (*Gen) RemoveVmFromVip ¶
func (c *Gen) RemoveVmFromVip(ctx context.Context, id string, vipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveVmFromVip Take a VM out of a VIP's members
Requires protected:network, and manage access to both the VM and the VIP's VPC. Withdraws the VM's declaration; the permits it no longer needs come off shortly after the operation completes, and traffic to the VIP stops reaching the VM. Refuses as bind does. Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with DELETE /v1/vms/{id}/vips/{vipId} (the `RemoveVmFromVip` operationId).
func (*Gen) RenameVm ¶
func (c *Gen) RenameVm(ctx context.Context, id string, body RenameVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameVm Rename a virtual machine
Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
func (*Gen) RenameVmWithBody ¶
func (c *Gen) RenameVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameVmWithBody Rename a virtual machine
Requires write:compute. The new name is a DNS name. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/actions/rename (the `RenameVm` operationId).
func (*Gen) ReplaceBucketCors ¶ added in v0.3.0
func (c *Gen) ReplaceBucketCors(ctx context.Context, id string, body ReplaceBucketCorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceBucketCors Replace a bucket's CORS rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
func (*Gen) ReplaceBucketCorsWithBody ¶ added in v0.3.0
func (c *Gen) ReplaceBucketCorsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceBucketCorsWithBody Replace a bucket's CORS rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /cors returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. No step-up. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/buckets/{id}/cors (the `ReplaceBucketCors` operationId).
func (*Gen) ReplaceBucketLifecycle ¶ added in v0.3.0
func (c *Gen) ReplaceBucketLifecycle(ctx context.Context, id string, body ReplaceBucketLifecycleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceBucketLifecycle Replace a bucket's lifecycle rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
func (*Gen) ReplaceBucketLifecycleWithBody ¶ added in v0.3.0
func (c *Gen) ReplaceBucketLifecycleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceBucketLifecycleWithBody Replace a bucket's lifecycle rules
Replaces every rule with `rules`; an empty list removes them all. Send the `rules` GET /lifecycle returned as `basedOn`: the save is a 409 when the stored rules differ, including when `basedOn` is omitted and the bucket has rules. `replaceUnsupported` skips that check and replaces whatever is stored, rules this API cannot represent included. Step-up applies when any rule is enabled or `replaceUnsupported` is set: a personal access token then also needs a paired client. Returns the rules as stored. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/buckets/{id}/lifecycle (the `ReplaceBucketLifecycle` operationId).
func (*Gen) ResendMemberInvitation ¶
func (c *Gen) ResendMemberInvitation(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendMemberInvitation Resend a pending invitation
Sends the invitation again to someone who has not accepted yet. Pending invitations only: 409 means the invitation was already accepted, or the invitee has no identity to send to. An accepted member is removed with `DELETE /v1/members/{userId}` (protected:team). `userId` is the id `GET /v1/members` returns.
Corresponds with POST /v1/members/{userId}/actions/resend-invitation (the `ResendMemberInvitation` operationId).
func (*Gen) ResizeKubernetesCluster ¶
func (c *Gen) ResizeKubernetesCluster(ctx context.Context, id string, params *ResizeKubernetesClusterParams, body ResizeKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeKubernetesCluster Resize a Kubernetes cluster's workers
Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
func (*Gen) ResizeKubernetesClusterWithBody ¶
func (c *Gen) ResizeKubernetesClusterWithBody(ctx context.Context, id string, params *ResizeKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeKubernetesClusterWithBody Resize a Kubernetes cluster's workers
Resizes every worker to the CPU and RAM given, one at a time. Billing-affecting. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also for the shape the cluster already has, which resumes a resize that stopped short. 409 when the cluster's state does not allow it or another change is running; 422 when the workers' hosts have no room for the new shape.
Takes any type of body and a specified content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/resize (the `ResizeKubernetesCluster` operationId).
func (*Gen) ResizeVm ¶
func (c *Gen) ResizeVm(ctx context.Context, id string, params *ResizeVmParams, body ResizeVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVm Resize a virtual machine
Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
func (*Gen) ResizeVmWithBody ¶
func (c *Gen) ResizeVmWithBody(ctx context.Context, id string, params *ResizeVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVmWithBody Resize a virtual machine
Only the fields you send change. A disk is named by the id the disk list returns, and disks only grow. Billing-affecting. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/actions/resize (the `ResizeVm` operationId).
func (*Gen) ResolveSupportTicket ¶
func (c *Gen) ResolveSupportTicket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveSupportTicket Resolve a support ticket
Marks the ticket resolved and answers with the ticket summary. A later reply reopens it.
Corresponds with POST /v1/support/tickets/{id}/actions/resolve (the `ResolveSupportTicket` operationId).
func (*Gen) RestartKubernetesClusterNodes ¶
func (c *Gen) RestartKubernetesClusterNodes(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
RestartKubernetesClusterNodes Restart the workers that are owed a restart
Restarts the workers owed a restart (a grown disk, or a change the node does not show yet), one at a time: drained, shut down, started, uncordoned. Needs protected:compute and a paired elevation secret. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 202 also when no worker is owed a restart. 409 when the cluster's state does not allow it or another change is running.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/restart-nodes (the `RestartKubernetesClusterNodes` operationId).
func (*Gen) RestoreVm ¶
func (c *Gen) RestoreVm(ctx context.Context, id string, body RestoreVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreVm Restore a virtual machine from one of its backups
Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
func (*Gen) RestoreVmBackupToNewVm ¶
func (c *Gen) RestoreVmBackupToNewVm(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, body RestoreVmBackupToNewVmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreVmBackupToNewVm Restore a backup onto a new virtual machine
Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
func (*Gen) RestoreVmBackupToNewVmWithBody ¶
func (c *Gen) RestoreVmBackupToNewVmWithBody(ctx context.Context, id string, startedAt int64, params *RestoreVmBackupToNewVmParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreVmBackupToNewVmWithBody Restore a backup onto a new virtual machine
Creates a new, billable VM from the named backup and leaves the source VM untouched. Requires protected:backup, and the token must also hold write:compute, plus protected:network when `publicIp` is set; a token without them is refused with 403. `termsAccepted` must be true. Choose `datacenterSlug` from GET …/restore-sites. A VM with no `vpcResourceId` is public-only and needs `publicIp`. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Must carry an Idempotency-Key header. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/backups/{startedAt}/actions/restore-to-new-vm (the `RestoreVmBackupToNewVm` operationId).
func (*Gen) RestoreVmWithBody ¶
func (c *Gen) RestoreVmWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreVmWithBody Restore a virtual machine from one of its backups
Requires protected:backup. Overwrites everything written since the named backup. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vms/{id}/actions/restore (the `RestoreVm` operationId).
func (*Gen) ResumeAiSandbox ¶
func (c *Gen) ResumeAiSandbox(ctx context.Context, sandboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResumeAiSandbox Resume a paused sandbox
Restores the sandbox on its own host. Refuses with 409 when the account is at a cap or the host is full or unreachable.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/resume (the `ResumeAiSandbox` operationId).
func (*Gen) RevealBucketKeySecret ¶
func (c *Gen) RevealBucketKeySecret(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevealBucketKeySecret Reveal the secret the backend holds for a key
Requires protected:s3. 200 with the secret, or 200 with available=false and no secret when the backend holds none — a key created before secret storage was backfilled. 404 only for a key that is not in this account. Answered no-store: a live credential must not sit in a response an intermediary may cache. A retry carrying the same Idempotency-Key replays the 200 without the secret, so call it again without that header to read one.
Corresponds with POST /v1/bucket-keys/{keyId}/actions/reveal-secret (the `RevealBucketKeySecret` operationId).
func (*Gen) RevokeBucketKeyBucketAccess ¶
func (c *Gen) RevokeBucketKeyBucketAccess(ctx context.Context, keyId string, bucketId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeBucketKeyBucketAccess Revoke a key's access to a bucket
Rewrites the bucket's policy without the key; the key itself stays in the account. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. Requires protected:s3. Returns 204.
Corresponds with DELETE /v1/bucket-keys/{keyId}/buckets/{bucketId} (the `RevokeBucketKeyBucketAccess` operationId).
func (*Gen) SaveAiSandboxTemplate ¶
func (c *Gen) SaveAiSandboxTemplate(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, body SaveAiSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAiSandboxTemplate Save a paused sandbox as a template
Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
func (*Gen) SaveAiSandboxTemplateWithBody ¶
func (c *Gen) SaveAiSandboxTemplateWithBody(ctx context.Context, sandboxId string, params *SaveAiSandboxTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAiSandboxTemplateWithBody Save a paused sandbox as a template
Answers 202 with a BUILDING template; poll the template route until it is READY or FAILED. The sandbox must be paused and is unchanged. Refuses with 409 not_paused, template_name_taken, template_quota (count or stored bytes) or busy.
Takes any type of body and a specified content type.
Corresponds with POST /v1/ai/sandboxes/{sandboxId}/actions/save-template (the `SaveAiSandboxTemplate` operationId).
func (*Gen) ScaleKubernetesCluster ¶
func (c *Gen) ScaleKubernetesCluster(ctx context.Context, id string, params *ScaleKubernetesClusterParams, body ScaleKubernetesClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ScaleKubernetesCluster Scale a Kubernetes cluster
Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
func (*Gen) ScaleKubernetesClusterWithBody ¶
func (c *Gen) ScaleKubernetesClusterWithBody(ctx context.Context, id string, params *ScaleKubernetesClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScaleKubernetesClusterWithBody Scale a Kubernetes cluster
Sets the number of workers. Billing-affecting. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 200 with no body when a cluster that is not mid-scale already has that count. 400 for a count outside the allowed range; 409 when the cluster's state does not allow it; 422 when a scale-up is refused for the account or because the site has no room.
Takes any type of body and a specified content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/scale (the `ScaleKubernetesCluster` operationId).
func (*Gen) SetDefaultCard ¶
func (c *Gen) SetDefaultCard(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDefaultCard Make a card the account's default
`id` is the card id `GET /v1/cards` returns.
Corresponds with POST /v1/cards/{id}/actions/set-default (the `SetDefaultCard` operationId).
func (*Gen) SetVpcVipFirewallRuleDescription ¶
func (c *Gen) SetVpcVipFirewallRuleDescription(ctx context.Context, id string, vipId string, ruleId string, body SetVpcVipFirewallRuleDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVpcVipFirewallRuleDescription Set the description of a VIP firewall rule
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
func (*Gen) SetVpcVipFirewallRuleDescriptionWithBody ¶
func (c *Gen) SetVpcVipFirewallRuleDescriptionWithBody(ctx context.Context, id string, vipId string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVpcVipFirewallRuleDescriptionWithBody Set the description of a VIP firewall rule
Requires write:network. Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with POST /v1/vpcs/{id}/vips/{vipId}/firewall-rules/{ruleId}/actions/set-description (the `SetVpcVipFirewallRuleDescription` operationId).
func (*Gen) ShutdownVm ¶
func (c *Gen) ShutdownVm(ctx context.Context, id string, params *ShutdownVmParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ShutdownVm Shut down a virtual machine gracefully
Asks the guest OS to shut down. Asynchronous: returns 202 with the operation to poll.
Corresponds with POST /v1/vms/{id}/actions/shutdown (the `ShutdownVm` operationId).
func (*Gen) StartVm ¶
func (c *Gen) StartVm(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
StartVm Start a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Corresponds with POST /v1/vms/{id}/actions/start (the `StartVm` operationId).
func (*Gen) UpdateBillingDetails ¶
func (c *Gen) UpdateBillingDetails(ctx context.Context, body UpdateBillingDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBillingDetails Update the account's billing details
Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
func (*Gen) UpdateBillingDetailsWithBody ¶
func (c *Gen) UpdateBillingDetailsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBillingDetailsWithBody Update the account's billing details
Partial: an omitted or null field is left unchanged. An account with no billing record yet stores the edit and pushes it to billing; the address must then be complete. Requires protected:billing — the backend requires a recent second factor for a session and accepts this scope in its place for a token.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/billing/details (the `UpdateBillingDetails` operationId).
func (*Gen) UpdateBucketVersioning ¶
func (c *Gen) UpdateBucketVersioning(ctx context.Context, id string, body UpdateBucketVersioningJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBucketVersioning Change a bucket's versioning state
Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
func (*Gen) UpdateBucketVersioningWithBody ¶
func (c *Gen) UpdateBucketVersioningWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBucketVersioningWithBody Change a bucket's versioning state
Turns versioning on, off or to suspended. Requires protected:s3 for every mode. Needs read:s3 as well as this route's own scope: the bucket is named by id, and the gateway resolves it through the account's gated bucket list, which is itself a read:s3 route. `unknown` — the state the read route reports when Croit cannot determine it — is refused, not forwarded.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/buckets/{id}/versioning (the `UpdateBucketVersioning` operationId).
func (*Gen) UpdateMemberRole ¶
func (c *Gen) UpdateMemberRole(ctx context.Context, userId string, body UpdateMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMemberRole Change a member's role
`operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
func (*Gen) UpdateMemberRoleWithBody ¶
func (c *Gen) UpdateMemberRoleWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMemberRoleWithBody Change a member's role
`operator`, `admin`, `billing` or `viewer`; only an owner may change a role to or from `billing`. Valid for a pending invitee too, whose role is set before they ever sign in. `owner` is refused, and an owner's role cannot be changed here either: ownership is transferred, not granted. Requires protected:team — the backend requires a recent second factor for a session and the matching scope for a token.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/members/{userId}/role (the `UpdateMemberRole` operationId).
func (*Gen) UpdateProject ¶
func (c *Gen) UpdateProject(ctx context.Context, id string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProject Rename a project
Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
func (*Gen) UpdateProjectWithBody ¶
func (c *Gen) UpdateProjectWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectWithBody Rename a project
Changes the display name only. Answers with the renamed project. 409 if the account already has a project with this name, ignoring case. Needs an account admin's personal token or an account-service token with service_admin; any other credential is refused with 403.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{id} (the `UpdateProject` operationId).
func (*Gen) UpdateSshKey ¶
func (c *Gen) UpdateSshKey(ctx context.Context, id string, body UpdateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSshKey Rename an SSH key
Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
func (*Gen) UpdateSshKeyWithBody ¶
func (c *Gen) UpdateSshKeyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSshKeyWithBody Rename an SSH key
Rename only — the key body cannot be rotated; delete and re-create to replace it. The backend authorizes on the stored key's owner and reads only the new name from the body, so the forwarded userId is inert here.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/ssh-keys/{id} (the `UpdateSshKey` operationId).
func (*Gen) UpdateVmBackupPolicy ¶
func (c *Gen) UpdateVmBackupPolicy(ctx context.Context, id string, body UpdateVmBackupPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmBackupPolicy Set a virtual machine's backup policy
Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
func (*Gen) UpdateVmBackupPolicyWithBody ¶
func (c *Gen) UpdateVmBackupPolicyWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmBackupPolicyWithBody Set a virtual machine's backup policy
Replaces the whole policy: an omitted retention tier is dropped, not left alone. Send a planId, or a cadenceKind with a retention — not both. 409 when another scheduler already backs this VM up.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/vms/{id}/backup-policy (the `UpdateVmBackupPolicy` operationId).
func (*Gen) UpdateVmBackupProtection ¶
func (c *Gen) UpdateVmBackupProtection(ctx context.Context, id string, startedAt int64, body UpdateVmBackupProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmBackupProtection Protect or release one backup
A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
func (*Gen) UpdateVmBackupProtectionWithBody ¶
func (c *Gen) UpdateVmBackupProtectionWithBody(ctx context.Context, id string, startedAt int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmBackupProtectionWithBody Protect or release one backup
A protected backup is skipped by rotation, which is what stops a retention tightening from deleting it. `startedAt` is the whole-second value the backup list returns; a timestamp that matches no backup is 404, and one that matches more than one is 409.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/vms/{id}/backups/{startedAt}/protection (the `UpdateVmBackupProtection` operationId).
func (*Gen) UpdateVmFirewallRule ¶
func (c *Gen) UpdateVmFirewallRule(ctx context.Context, id string, ruleId string, body UpdateVmFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmFirewallRule Update a firewall rule on a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
func (*Gen) UpdateVmFirewallRuleWithBody ¶
func (c *Gen) UpdateVmFirewallRuleWithBody(ctx context.Context, id string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmFirewallRuleWithBody Update a firewall rule on a virtual machine
Asynchronous: returns 202 with the operation to poll at Location.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/vms/{id}/firewall-rules/{ruleId} (the `UpdateVmFirewallRule` operationId).
func (*Gen) UpdateVpc ¶
func (c *Gen) UpdateVpc(ctx context.Context, id string, body UpdateVpcJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVpc Rename a VPC
Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
func (*Gen) UpdateVpcWithBody ¶
func (c *Gen) UpdateVpcWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVpcWithBody Rename a VPC
Changes the display name only; the id, range and attached VMs are untouched. Answered from the backend's own post-write read, so the new name renders without waiting on a projection that can lag a sync cycle.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/vpcs/{id} (the `UpdateVpc` operationId).
func (*Gen) UpgradeKubernetesClusterWorkers ¶ added in v0.2.0
func (c *Gen) UpgradeKubernetesClusterWorkers(ctx context.Context, id string, body UpgradeKubernetesClusterWorkersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpgradeKubernetesClusterWorkers Upgrade a Kubernetes cluster's workers
Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
func (*Gen) UpgradeKubernetesClusterWorkersWithBody ¶ added in v0.2.0
func (c *Gen) UpgradeKubernetesClusterWorkersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpgradeKubernetesClusterWorkersWithBody Upgrade a Kubernetes cluster's workers
Moves every worker to `targetKubernetes` and its Talos version, one node at a time; each node drains, so a workload with one replica is down while its node restarts. `targetKubernetes` is one of the cluster's `upgrade.workerTargets[].kubernetes`. Needs protected:compute and a paired elevation secret. No Idempotency-Key: a retry of a running upgrade is refused with 409. Asynchronous: 202, with the operation to poll at Location when one started, else Location is the cluster. 400 when `targetKubernetes` is absent or blank; 409, with the reason, for a version the cluster cannot move to, a cluster that is not active, or another change running; 503 when the Kubernetes service cannot be reached or could not start the upgrade; retry.
Takes any type of body and a specified content type.
Corresponds with POST /v1/kubernetes/clusters/{id}/actions/upgrade-workers (the `UpgradeKubernetesClusterWorkers` operationId).
func (*Gen) WriteAiSandboxFileWithBody ¶
func (c *Gen) WriteAiSandboxFileWithBody(ctx context.Context, sandboxId string, params *WriteAiSandboxFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WriteAiSandboxFileWithBody Write a file into a running sandbox
The request body is the file's bytes, at most 16 MiB (400 above). mode is an octal string such as 0644. The sandbox runs as root, so a written file can be run: needs protected:sandboxes and, for a personal token, a paired elevation secret in X-CloudAfrica-Elevation; without the pairing it answers 403 not-paired.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/ai/sandboxes/{sandboxId}/files (the `WriteAiSandboxFile` operationId).
type GetAccountDeletedVmBackupRetentionResponse ¶
type GetAccountDeletedVmBackupRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDeletedVmBackupRetentionDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetAccountDeletedVmBackupRetentionResponse ¶
func ParseGetAccountDeletedVmBackupRetentionResponse(rsp *http.Response) (*GetAccountDeletedVmBackupRetentionResponse, error)
ParseGetAccountDeletedVmBackupRetentionResponse parses an HTTP response from a GetAccountDeletedVmBackupRetentionWithResponse call
func (GetAccountDeletedVmBackupRetentionResponse) ContentType ¶
func (r GetAccountDeletedVmBackupRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON403 ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON429 ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON500 ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetAccountDeletedVmBackupRetentionResponse) GetBody ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountDeletedVmBackupRetentionResponse) GetJSON200 ¶
func (r GetAccountDeletedVmBackupRetentionResponse) GetJSON200() *PublicDeletedVmBackupRetentionDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountDeletedVmBackupRetentionResponse) Status ¶
func (r GetAccountDeletedVmBackupRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountDeletedVmBackupRetentionResponse) StatusCode ¶
func (r GetAccountDeletedVmBackupRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountLimitsResponse ¶
type GetAccountLimitsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicLimitDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetAccountLimitsResponse ¶
func ParseGetAccountLimitsResponse(rsp *http.Response) (*GetAccountLimitsResponse, error)
ParseGetAccountLimitsResponse parses an HTTP response from a GetAccountLimitsWithResponse call
func (GetAccountLimitsResponse) ContentType ¶
func (r GetAccountLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountLimitsResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountLimitsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountLimitsResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountLimitsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountLimitsResponse) GetApplicationproblemJSON429 ¶
func (r GetAccountLimitsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetAccountLimitsResponse) GetApplicationproblemJSON500 ¶
func (r GetAccountLimitsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetAccountLimitsResponse) GetBody ¶
func (r GetAccountLimitsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountLimitsResponse) GetJSON200 ¶
func (r GetAccountLimitsResponse) GetJSON200() *CursorPagePublicLimitDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountLimitsResponse) Status ¶
func (r GetAccountLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountLimitsResponse) StatusCode ¶
func (r GetAccountLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountResponse ¶
type GetAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicAccountDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetAccountResponse ¶
func ParseGetAccountResponse(rsp *http.Response) (*GetAccountResponse, error)
ParseGetAccountResponse parses an HTTP response from a GetAccountWithResponse call
func (GetAccountResponse) ContentType ¶
func (r GetAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON403 ¶
func (r GetAccountResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON429 ¶
func (r GetAccountResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON500 ¶
func (r GetAccountResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetAccountResponse) GetBody ¶
func (r GetAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountResponse) GetJSON200 ¶
func (r GetAccountResponse) GetJSON200() *PublicAccountDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountResponse) Status ¶
func (r GetAccountResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountResponse) StatusCode ¶
func (r GetAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAiSandboxResponse ¶
type GetAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetAiSandboxResponse ¶
func ParseGetAiSandboxResponse(rsp *http.Response) (*GetAiSandboxResponse, error)
ParseGetAiSandboxResponse parses an HTTP response from a GetAiSandboxWithResponse call
func (GetAiSandboxResponse) ContentType ¶
func (r GetAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r GetAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r GetAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r GetAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r GetAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r GetAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetAiSandboxResponse) GetBody ¶
func (r GetAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAiSandboxResponse) GetJSON200 ¶
func (r GetAiSandboxResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAiSandboxResponse) Status ¶
func (r GetAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetAiSandboxResponse) StatusCode ¶
func (r GetAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAiSandboxTemplateResponse ¶
type GetAiSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetAiSandboxTemplateResponse ¶
func ParseGetAiSandboxTemplateResponse(rsp *http.Response) (*GetAiSandboxTemplateResponse, error)
ParseGetAiSandboxTemplateResponse parses an HTTP response from a GetAiSandboxTemplateWithResponse call
func (GetAiSandboxTemplateResponse) ContentType ¶
func (r GetAiSandboxTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAiSandboxTemplateResponse) GetApplicationproblemJSON401 ¶
func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAiSandboxTemplateResponse) GetApplicationproblemJSON403 ¶
func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetAiSandboxTemplateResponse) GetApplicationproblemJSON404 ¶
func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAiSandboxTemplateResponse) GetApplicationproblemJSON429 ¶
func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetAiSandboxTemplateResponse) GetApplicationproblemJSON500 ¶
func (r GetAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetAiSandboxTemplateResponse) GetBody ¶
func (r GetAiSandboxTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAiSandboxTemplateResponse) GetJSON200 ¶
func (r GetAiSandboxTemplateResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAiSandboxTemplateResponse) Status ¶
func (r GetAiSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetAiSandboxTemplateResponse) StatusCode ¶
func (r GetAiSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingAccrualParams ¶
type GetBillingAccrualParams struct {
// AsOf ISO-8601 instant to read the accrual as of. Defaults to now.
AsOf *time.Time `form:"asOf,omitempty" json:"asOf,omitempty"`
}
GetBillingAccrualParams defines parameters for GetBillingAccrual.
type GetBillingAccrualResponse ¶
type GetBillingAccrualResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicAccrualDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBillingAccrualResponse ¶
func ParseGetBillingAccrualResponse(rsp *http.Response) (*GetBillingAccrualResponse, error)
ParseGetBillingAccrualResponse parses an HTTP response from a GetBillingAccrualWithResponse call
func (GetBillingAccrualResponse) ContentType ¶
func (r GetBillingAccrualResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingAccrualResponse) GetApplicationproblemJSON400 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetBillingAccrualResponse) GetApplicationproblemJSON401 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBillingAccrualResponse) GetApplicationproblemJSON403 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBillingAccrualResponse) GetApplicationproblemJSON409 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetBillingAccrualResponse) GetApplicationproblemJSON429 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBillingAccrualResponse) GetApplicationproblemJSON500 ¶
func (r GetBillingAccrualResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBillingAccrualResponse) GetBody ¶
func (r GetBillingAccrualResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingAccrualResponse) GetJSON200 ¶
func (r GetBillingAccrualResponse) GetJSON200() *PublicAccrualDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingAccrualResponse) Status ¶
func (r GetBillingAccrualResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingAccrualResponse) StatusCode ¶
func (r GetBillingAccrualResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingBalanceResponse ¶
type GetBillingBalanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBalanceDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBillingBalanceResponse ¶
func ParseGetBillingBalanceResponse(rsp *http.Response) (*GetBillingBalanceResponse, error)
ParseGetBillingBalanceResponse parses an HTTP response from a GetBillingBalanceWithResponse call
func (GetBillingBalanceResponse) ContentType ¶
func (r GetBillingBalanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingBalanceResponse) GetApplicationproblemJSON401 ¶
func (r GetBillingBalanceResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBillingBalanceResponse) GetApplicationproblemJSON403 ¶
func (r GetBillingBalanceResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBillingBalanceResponse) GetApplicationproblemJSON429 ¶
func (r GetBillingBalanceResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBillingBalanceResponse) GetApplicationproblemJSON500 ¶
func (r GetBillingBalanceResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBillingBalanceResponse) GetBody ¶
func (r GetBillingBalanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingBalanceResponse) GetJSON200 ¶
func (r GetBillingBalanceResponse) GetJSON200() *PublicBalanceDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingBalanceResponse) Status ¶
func (r GetBillingBalanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingBalanceResponse) StatusCode ¶
func (r GetBillingBalanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingDetailsResponse ¶
type GetBillingDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBillingDetailsDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBillingDetailsResponse ¶
func ParseGetBillingDetailsResponse(rsp *http.Response) (*GetBillingDetailsResponse, error)
ParseGetBillingDetailsResponse parses an HTTP response from a GetBillingDetailsWithResponse call
func (GetBillingDetailsResponse) ContentType ¶
func (r GetBillingDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingDetailsResponse) GetApplicationproblemJSON401 ¶
func (r GetBillingDetailsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBillingDetailsResponse) GetApplicationproblemJSON403 ¶
func (r GetBillingDetailsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBillingDetailsResponse) GetApplicationproblemJSON429 ¶
func (r GetBillingDetailsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBillingDetailsResponse) GetApplicationproblemJSON500 ¶
func (r GetBillingDetailsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBillingDetailsResponse) GetBody ¶
func (r GetBillingDetailsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingDetailsResponse) GetJSON200 ¶
func (r GetBillingDetailsResponse) GetJSON200() *PublicBillingDetailsDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingDetailsResponse) Status ¶
func (r GetBillingDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingDetailsResponse) StatusCode ¶
func (r GetBillingDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketCorsResponse ¶ added in v0.3.0
type GetBucketCorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketCorsDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketCorsResponse ¶ added in v0.3.0
func ParseGetBucketCorsResponse(rsp *http.Response) (*GetBucketCorsResponse, error)
ParseGetBucketCorsResponse parses an HTTP response from a GetBucketCorsWithResponse call
func (GetBucketCorsResponse) ContentType ¶ added in v0.3.0
func (r GetBucketCorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketCorsResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketCorsResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketCorsResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketCorsResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketCorsResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketCorsResponse) GetBody ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketCorsResponse) GetJSON200 ¶ added in v0.3.0
func (r GetBucketCorsResponse) GetJSON200() *PublicBucketCorsDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketCorsResponse) Status ¶ added in v0.3.0
func (r GetBucketCorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketCorsResponse) StatusCode ¶ added in v0.3.0
func (r GetBucketCorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketLifecycleResponse ¶ added in v0.3.0
type GetBucketLifecycleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketLifecycleDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketLifecycleResponse ¶ added in v0.3.0
func ParseGetBucketLifecycleResponse(rsp *http.Response) (*GetBucketLifecycleResponse, error)
ParseGetBucketLifecycleResponse parses an HTTP response from a GetBucketLifecycleWithResponse call
func (GetBucketLifecycleResponse) ContentType ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketLifecycleResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketLifecycleResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketLifecycleResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketLifecycleResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketLifecycleResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketLifecycleResponse) GetBody ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketLifecycleResponse) GetJSON200 ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) GetJSON200() *PublicBucketLifecycleDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketLifecycleResponse) Status ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketLifecycleResponse) StatusCode ¶ added in v0.3.0
func (r GetBucketLifecycleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketObjectMetadataParams ¶ added in v0.3.0
type GetBucketObjectMetadataParams struct {
// Key The object's key.
Key string `form:"key" json:"key"`
}
GetBucketObjectMetadataParams defines parameters for GetBucketObjectMetadata.
type GetBucketObjectMetadataResponse ¶ added in v0.3.0
type GetBucketObjectMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketObjectMetadataDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketObjectMetadataResponse ¶ added in v0.3.0
func ParseGetBucketObjectMetadataResponse(rsp *http.Response) (*GetBucketObjectMetadataResponse, error)
ParseGetBucketObjectMetadataResponse parses an HTTP response from a GetBucketObjectMetadataWithResponse call
func (GetBucketObjectMetadataResponse) ContentType ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketObjectMetadataResponse) GetBody ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketObjectMetadataResponse) GetJSON200 ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) GetJSON200() *PublicBucketObjectMetadataDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketObjectMetadataResponse) Status ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketObjectMetadataResponse) StatusCode ¶ added in v0.3.0
func (r GetBucketObjectMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketProtectionResponse ¶ added in v0.3.0
type GetBucketProtectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketProtectionDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketProtectionResponse ¶ added in v0.3.0
func ParseGetBucketProtectionResponse(rsp *http.Response) (*GetBucketProtectionResponse, error)
ParseGetBucketProtectionResponse parses an HTTP response from a GetBucketProtectionWithResponse call
func (GetBucketProtectionResponse) ContentType ¶ added in v0.3.0
func (r GetBucketProtectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketProtectionResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketProtectionResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketProtectionResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketProtectionResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketProtectionResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketProtectionResponse) GetBody ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketProtectionResponse) GetJSON200 ¶ added in v0.3.0
func (r GetBucketProtectionResponse) GetJSON200() *PublicBucketProtectionDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketProtectionResponse) Status ¶ added in v0.3.0
func (r GetBucketProtectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketProtectionResponse) StatusCode ¶ added in v0.3.0
func (r GetBucketProtectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketResponse ¶
type GetBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketResponse ¶
func ParseGetBucketResponse(rsp *http.Response) (*GetBucketResponse, error)
ParseGetBucketResponse parses an HTTP response from a GetBucketWithResponse call
func (GetBucketResponse) ContentType ¶
func (r GetBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketResponse) GetApplicationproblemJSON401 ¶
func (r GetBucketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketResponse) GetApplicationproblemJSON403 ¶
func (r GetBucketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketResponse) GetApplicationproblemJSON404 ¶
func (r GetBucketResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketResponse) GetApplicationproblemJSON429 ¶
func (r GetBucketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketResponse) GetApplicationproblemJSON500 ¶
func (r GetBucketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketResponse) GetBody ¶
func (r GetBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketResponse) GetJSON200 ¶
func (r GetBucketResponse) GetJSON200() *PublicBucketDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketResponse) Status ¶
func (r GetBucketResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketResponse) StatusCode ¶
func (r GetBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketUsageParams ¶
type GetBucketUsageParams struct {
// Hours The traffic window, 1-720 hours. Defaults to 24.
Hours *int32 `form:"hours,omitempty" json:"hours,omitempty"`
}
GetBucketUsageParams defines parameters for GetBucketUsage.
type GetBucketUsageResponse ¶
type GetBucketUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketUsageDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketUsageResponse ¶
func ParseGetBucketUsageResponse(rsp *http.Response) (*GetBucketUsageResponse, error)
ParseGetBucketUsageResponse parses an HTTP response from a GetBucketUsageWithResponse call
func (GetBucketUsageResponse) ContentType ¶
func (r GetBucketUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketUsageResponse) GetApplicationproblemJSON401 ¶
func (r GetBucketUsageResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketUsageResponse) GetApplicationproblemJSON403 ¶
func (r GetBucketUsageResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketUsageResponse) GetApplicationproblemJSON404 ¶
func (r GetBucketUsageResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketUsageResponse) GetApplicationproblemJSON429 ¶
func (r GetBucketUsageResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketUsageResponse) GetApplicationproblemJSON500 ¶
func (r GetBucketUsageResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketUsageResponse) GetBody ¶
func (r GetBucketUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketUsageResponse) GetJSON200 ¶
func (r GetBucketUsageResponse) GetJSON200() *PublicBucketUsageDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketUsageResponse) Status ¶
func (r GetBucketUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketUsageResponse) StatusCode ¶
func (r GetBucketUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBucketVersioningResponse ¶
type GetBucketVersioningResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketVersioningDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetBucketVersioningResponse ¶
func ParseGetBucketVersioningResponse(rsp *http.Response) (*GetBucketVersioningResponse, error)
ParseGetBucketVersioningResponse parses an HTTP response from a GetBucketVersioningWithResponse call
func (GetBucketVersioningResponse) ContentType ¶
func (r GetBucketVersioningResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBucketVersioningResponse) GetApplicationproblemJSON401 ¶
func (r GetBucketVersioningResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetBucketVersioningResponse) GetApplicationproblemJSON403 ¶
func (r GetBucketVersioningResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetBucketVersioningResponse) GetApplicationproblemJSON404 ¶
func (r GetBucketVersioningResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetBucketVersioningResponse) GetApplicationproblemJSON429 ¶
func (r GetBucketVersioningResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetBucketVersioningResponse) GetApplicationproblemJSON500 ¶
func (r GetBucketVersioningResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetBucketVersioningResponse) GetBody ¶
func (r GetBucketVersioningResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBucketVersioningResponse) GetJSON200 ¶
func (r GetBucketVersioningResponse) GetJSON200() *PublicBucketVersioningDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBucketVersioningResponse) Status ¶
func (r GetBucketVersioningResponse) Status() string
Status returns HTTPResponse.Status
func (GetBucketVersioningResponse) StatusCode ¶
func (r GetBucketVersioningResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCardLinkResponse ¶
type GetCardLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicCardLinkDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetCardLinkResponse ¶
func ParseGetCardLinkResponse(rsp *http.Response) (*GetCardLinkResponse, error)
ParseGetCardLinkResponse parses an HTTP response from a GetCardLinkWithResponse call
func (GetCardLinkResponse) ContentType ¶
func (r GetCardLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCardLinkResponse) GetApplicationproblemJSON401 ¶
func (r GetCardLinkResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCardLinkResponse) GetApplicationproblemJSON403 ¶
func (r GetCardLinkResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCardLinkResponse) GetApplicationproblemJSON429 ¶
func (r GetCardLinkResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCardLinkResponse) GetApplicationproblemJSON500 ¶
func (r GetCardLinkResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetCardLinkResponse) GetBody ¶
func (r GetCardLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCardLinkResponse) GetJSON200 ¶
func (r GetCardLinkResponse) GetJSON200() *PublicCardLinkDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCardLinkResponse) Status ¶
func (r GetCardLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GetCardLinkResponse) StatusCode ¶
func (r GetCardLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesClusterKubeconfigResponse ¶
type GetKubernetesClusterKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseGetKubernetesClusterKubeconfigResponse ¶
func ParseGetKubernetesClusterKubeconfigResponse(rsp *http.Response) (*GetKubernetesClusterKubeconfigResponse, error)
ParseGetKubernetesClusterKubeconfigResponse parses an HTTP response from a GetKubernetesClusterKubeconfigWithResponse call
func (GetKubernetesClusterKubeconfigResponse) ContentType ¶
func (r GetKubernetesClusterKubeconfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON401 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON403 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON404 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON409 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON429 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON500 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON503 ¶
func (r GetKubernetesClusterKubeconfigResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetKubernetesClusterKubeconfigResponse) GetBody ¶
func (r GetKubernetesClusterKubeconfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetKubernetesClusterKubeconfigResponse) Status ¶
func (r GetKubernetesClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesClusterKubeconfigResponse) StatusCode ¶
func (r GetKubernetesClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesClusterManagedVpnKubeconfigResponse ¶
type GetKubernetesClusterManagedVpnKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseGetKubernetesClusterManagedVpnKubeconfigResponse ¶
func ParseGetKubernetesClusterManagedVpnKubeconfigResponse(rsp *http.Response) (*GetKubernetesClusterManagedVpnKubeconfigResponse, error)
ParseGetKubernetesClusterManagedVpnKubeconfigResponse parses an HTTP response from a GetKubernetesClusterManagedVpnKubeconfigWithResponse call
func (GetKubernetesClusterManagedVpnKubeconfigResponse) ContentType ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON401 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON403 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON404 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON409 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON429 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON500 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON503 ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetKubernetesClusterManagedVpnKubeconfigResponse) GetBody ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetKubernetesClusterManagedVpnKubeconfigResponse) Status ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesClusterManagedVpnKubeconfigResponse) StatusCode ¶
func (r GetKubernetesClusterManagedVpnKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesClusterResponse ¶
type GetKubernetesClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicKubernetesClusterDetailDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetKubernetesClusterResponse ¶
func ParseGetKubernetesClusterResponse(rsp *http.Response) (*GetKubernetesClusterResponse, error)
ParseGetKubernetesClusterResponse parses an HTTP response from a GetKubernetesClusterWithResponse call
func (GetKubernetesClusterResponse) ContentType ¶
func (r GetKubernetesClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKubernetesClusterResponse) GetApplicationproblemJSON401 ¶
func (r GetKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetKubernetesClusterResponse) GetApplicationproblemJSON403 ¶
func (r GetKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetKubernetesClusterResponse) GetApplicationproblemJSON404 ¶
func (r GetKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetKubernetesClusterResponse) GetApplicationproblemJSON429 ¶
func (r GetKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetKubernetesClusterResponse) GetApplicationproblemJSON500 ¶
func (r GetKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetKubernetesClusterResponse) GetBody ¶
func (r GetKubernetesClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetKubernetesClusterResponse) GetJSON200 ¶
func (r GetKubernetesClusterResponse) GetJSON200() *PublicKubernetesClusterDetailDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetKubernetesClusterResponse) Status ¶
func (r GetKubernetesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesClusterResponse) StatusCode ¶
func (r GetKubernetesClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesNodeMetricParams ¶
type GetKubernetesNodeMetricParams struct {
// Range One of 15m, 1h, 2h, 6h, 24h, 7d, 30d.
Range *string `form:"range,omitempty" json:"range,omitempty"`
}
GetKubernetesNodeMetricParams defines parameters for GetKubernetesNodeMetric.
type GetKubernetesNodeMetricResponse ¶
type GetKubernetesNodeMetricResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicKubernetesNodeMetricDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetKubernetesNodeMetricResponse ¶
func ParseGetKubernetesNodeMetricResponse(rsp *http.Response) (*GetKubernetesNodeMetricResponse, error)
ParseGetKubernetesNodeMetricResponse parses an HTTP response from a GetKubernetesNodeMetricWithResponse call
func (GetKubernetesNodeMetricResponse) ContentType ¶
func (r GetKubernetesNodeMetricResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON400 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON401 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON403 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON404 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON429 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetApplicationproblemJSON500 ¶
func (r GetKubernetesNodeMetricResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetKubernetesNodeMetricResponse) GetBody ¶
func (r GetKubernetesNodeMetricResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetKubernetesNodeMetricResponse) GetJSON200 ¶
func (r GetKubernetesNodeMetricResponse) GetJSON200() *PublicKubernetesNodeMetricDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetKubernetesNodeMetricResponse) Status ¶
func (r GetKubernetesNodeMetricResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesNodeMetricResponse) StatusCode ¶
func (r GetKubernetesNodeMetricResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMeResponse ¶
type GetMeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicMeDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetMeResponse ¶
func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)
ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call
func (GetMeResponse) ContentType ¶
func (r GetMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMeResponse) GetApplicationproblemJSON401 ¶
func (r GetMeResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMeResponse) GetApplicationproblemJSON429 ¶
func (r GetMeResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetMeResponse) GetApplicationproblemJSON500 ¶
func (r GetMeResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetMeResponse) GetBody ¶
func (r GetMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMeResponse) GetJSON200 ¶
func (r GetMeResponse) GetJSON200() *PublicMeDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMeResponse) Status ¶
func (r GetMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetMeResponse) StatusCode ¶
func (r GetMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse ¶
type GetOperationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicOperationDto
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetOperationResponse ¶
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) ContentType ¶
func (r GetOperationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOperationResponse) GetApplicationproblemJSON404 ¶
func (r GetOperationResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetOperationResponse) GetApplicationproblemJSON429 ¶
func (r GetOperationResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetOperationResponse) GetApplicationproblemJSON500 ¶
func (r GetOperationResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetOperationResponse) GetBody ¶
func (r GetOperationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOperationResponse) GetJSON200 ¶
func (r GetOperationResponse) GetJSON200() *PublicOperationDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOperationResponse) Status ¶
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlacementFeasibilityParams ¶
type GetPlacementFeasibilityParams struct {
// BootDiskGib Boot disk size in GiB.
BootDiskGib int64 `form:"bootDiskGib" json:"bootDiskGib"`
// Count How many VMs of this shape; defaults to 1, at most 1000.
Count *int32 `form:"count,omitempty" json:"count,omitempty"`
// DatacenterSlug A datacenter slug.
DatacenterSlug string `form:"datacenterSlug" json:"datacenterSlug"`
// ExtraDisksGib The TOTAL size in GiB of all extra disks a create would request; defaults to 0.
ExtraDisksGib *int64 `form:"extraDisksGib,omitempty" json:"extraDisksGib,omitempty"`
// PlacementGroupId A placement group the VMs would join.
PlacementGroupId *string `form:"placementGroupId,omitempty" json:"placementGroupId,omitempty"`
// RamMib RAM in MiB.
RamMib int64 `form:"ramMib" json:"ramMib"`
// Vcpu vCPU count.
Vcpu int32 `form:"vcpu" json:"vcpu"`
}
GetPlacementFeasibilityParams defines parameters for GetPlacementFeasibility.
type GetPlacementFeasibilityResponse ¶
type GetPlacementFeasibilityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementFeasibilityDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetPlacementFeasibilityResponse ¶
func ParseGetPlacementFeasibilityResponse(rsp *http.Response) (*GetPlacementFeasibilityResponse, error)
ParseGetPlacementFeasibilityResponse parses an HTTP response from a GetPlacementFeasibilityWithResponse call
func (GetPlacementFeasibilityResponse) ContentType ¶
func (r GetPlacementFeasibilityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON400 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON401 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON403 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON404 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON429 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetApplicationproblemJSON500 ¶
func (r GetPlacementFeasibilityResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetPlacementFeasibilityResponse) GetBody ¶
func (r GetPlacementFeasibilityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPlacementFeasibilityResponse) GetJSON200 ¶
func (r GetPlacementFeasibilityResponse) GetJSON200() *PublicPlacementFeasibilityDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPlacementFeasibilityResponse) Status ¶
func (r GetPlacementFeasibilityResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlacementFeasibilityResponse) StatusCode ¶
func (r GetPlacementFeasibilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlacementGroupResponse ¶
type GetPlacementGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementGroupDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetPlacementGroupResponse ¶
func ParseGetPlacementGroupResponse(rsp *http.Response) (*GetPlacementGroupResponse, error)
ParseGetPlacementGroupResponse parses an HTTP response from a GetPlacementGroupWithResponse call
func (GetPlacementGroupResponse) ContentType ¶
func (r GetPlacementGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPlacementGroupResponse) GetApplicationproblemJSON401 ¶
func (r GetPlacementGroupResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetPlacementGroupResponse) GetApplicationproblemJSON403 ¶
func (r GetPlacementGroupResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetPlacementGroupResponse) GetApplicationproblemJSON404 ¶
func (r GetPlacementGroupResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetPlacementGroupResponse) GetApplicationproblemJSON429 ¶
func (r GetPlacementGroupResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetPlacementGroupResponse) GetApplicationproblemJSON500 ¶
func (r GetPlacementGroupResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetPlacementGroupResponse) GetBody ¶
func (r GetPlacementGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPlacementGroupResponse) GetJSON200 ¶
func (r GetPlacementGroupResponse) GetJSON200() *PublicPlacementGroupDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPlacementGroupResponse) Status ¶
func (r GetPlacementGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlacementGroupResponse) StatusCode ¶
func (r GetPlacementGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectResponse ¶
type GetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicProjectDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetProjectResponse ¶
func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call
func (GetProjectResponse) ContentType ¶
func (r GetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectResponse) GetApplicationproblemJSON401 ¶
func (r GetProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetProjectResponse) GetApplicationproblemJSON403 ¶
func (r GetProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetProjectResponse) GetApplicationproblemJSON404 ¶
func (r GetProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetProjectResponse) GetApplicationproblemJSON429 ¶
func (r GetProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetProjectResponse) GetApplicationproblemJSON500 ¶
func (r GetProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetProjectResponse) GetBody ¶
func (r GetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectResponse) GetJSON200 ¶
func (r GetProjectResponse) GetJSON200() *PublicProjectDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectResponse) Status ¶
func (r GetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectResponse) StatusCode ¶
func (r GetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportTicketAttachmentResponse ¶
type GetSupportTicketAttachmentResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseGetSupportTicketAttachmentResponse ¶
func ParseGetSupportTicketAttachmentResponse(rsp *http.Response) (*GetSupportTicketAttachmentResponse, error)
ParseGetSupportTicketAttachmentResponse parses an HTTP response from a GetSupportTicketAttachmentWithResponse call
func (GetSupportTicketAttachmentResponse) ContentType ¶
func (r GetSupportTicketAttachmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON401 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON403 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON404 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON429 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON500 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetApplicationproblemJSON503 ¶
func (r GetSupportTicketAttachmentResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetSupportTicketAttachmentResponse) GetBody ¶
func (r GetSupportTicketAttachmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportTicketAttachmentResponse) Status ¶
func (r GetSupportTicketAttachmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetSupportTicketAttachmentResponse) StatusCode ¶
func (r GetSupportTicketAttachmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportTicketResponse ¶
type GetSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSupportTicketDetailDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetSupportTicketResponse ¶
func ParseGetSupportTicketResponse(rsp *http.Response) (*GetSupportTicketResponse, error)
ParseGetSupportTicketResponse parses an HTTP response from a GetSupportTicketWithResponse call
func (GetSupportTicketResponse) ContentType ¶
func (r GetSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportTicketResponse) GetApplicationproblemJSON401 ¶
func (r GetSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetSupportTicketResponse) GetApplicationproblemJSON403 ¶
func (r GetSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetSupportTicketResponse) GetApplicationproblemJSON404 ¶
func (r GetSupportTicketResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetSupportTicketResponse) GetApplicationproblemJSON429 ¶
func (r GetSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetSupportTicketResponse) GetApplicationproblemJSON500 ¶
func (r GetSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetSupportTicketResponse) GetBody ¶
func (r GetSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportTicketResponse) GetJSON200 ¶
func (r GetSupportTicketResponse) GetJSON200() *PublicSupportTicketDetailDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSupportTicketResponse) Status ¶
func (r GetSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (GetSupportTicketResponse) StatusCode ¶
func (r GetSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmBackupPolicyResponse ¶
type GetVmBackupPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBackupPolicyDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetVmBackupPolicyResponse ¶
func ParseGetVmBackupPolicyResponse(rsp *http.Response) (*GetVmBackupPolicyResponse, error)
ParseGetVmBackupPolicyResponse parses an HTTP response from a GetVmBackupPolicyWithResponse call
func (GetVmBackupPolicyResponse) ContentType ¶
func (r GetVmBackupPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmBackupPolicyResponse) GetApplicationproblemJSON401 ¶
func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetVmBackupPolicyResponse) GetApplicationproblemJSON403 ¶
func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetVmBackupPolicyResponse) GetApplicationproblemJSON404 ¶
func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetVmBackupPolicyResponse) GetApplicationproblemJSON429 ¶
func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetVmBackupPolicyResponse) GetApplicationproblemJSON500 ¶
func (r GetVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetVmBackupPolicyResponse) GetBody ¶
func (r GetVmBackupPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmBackupPolicyResponse) GetJSON200 ¶
func (r GetVmBackupPolicyResponse) GetJSON200() *PublicBackupPolicyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmBackupPolicyResponse) Status ¶
func (r GetVmBackupPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmBackupPolicyResponse) StatusCode ¶
func (r GetVmBackupPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmResponse ¶
type GetVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVmDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetVmResponse ¶
func ParseGetVmResponse(rsp *http.Response) (*GetVmResponse, error)
ParseGetVmResponse parses an HTTP response from a GetVmWithResponse call
func (GetVmResponse) ContentType ¶
func (r GetVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmResponse) GetApplicationproblemJSON401 ¶
func (r GetVmResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetVmResponse) GetApplicationproblemJSON403 ¶
func (r GetVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetVmResponse) GetApplicationproblemJSON404 ¶
func (r GetVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetVmResponse) GetApplicationproblemJSON429 ¶
func (r GetVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetVmResponse) GetApplicationproblemJSON500 ¶
func (r GetVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetVmResponse) GetBody ¶
func (r GetVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmResponse) GetJSON200 ¶
func (r GetVmResponse) GetJSON200() *PublicVmDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmResponse) Status ¶
func (r GetVmResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmResponse) StatusCode ¶
func (r GetVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpcResponse ¶
type GetVpcResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVpcDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGetVpcResponse ¶
func ParseGetVpcResponse(rsp *http.Response) (*GetVpcResponse, error)
ParseGetVpcResponse parses an HTTP response from a GetVpcWithResponse call
func (GetVpcResponse) ContentType ¶
func (r GetVpcResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpcResponse) GetApplicationproblemJSON401 ¶
func (r GetVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetVpcResponse) GetApplicationproblemJSON403 ¶
func (r GetVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetVpcResponse) GetApplicationproblemJSON404 ¶
func (r GetVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetVpcResponse) GetApplicationproblemJSON429 ¶
func (r GetVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetVpcResponse) GetApplicationproblemJSON500 ¶
func (r GetVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GetVpcResponse) GetBody ¶
func (r GetVpcResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpcResponse) GetJSON200 ¶
func (r GetVpcResponse) GetJSON200() *PublicVpcDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVpcResponse) Status ¶
func (r GetVpcResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpcResponse) StatusCode ¶
func (r GetVpcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrantBucketKeyBucketAccessResponse ¶
type GrantBucketKeyBucketAccessResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseGrantBucketKeyBucketAccessResponse ¶
func ParseGrantBucketKeyBucketAccessResponse(rsp *http.Response) (*GrantBucketKeyBucketAccessResponse, error)
ParseGrantBucketKeyBucketAccessResponse parses an HTTP response from a GrantBucketKeyBucketAccessWithResponse call
func (GrantBucketKeyBucketAccessResponse) ContentType ¶
func (r GrantBucketKeyBucketAccessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON401 ¶
func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON403 ¶
func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON404 ¶
func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON429 ¶
func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON500 ¶
func (r GrantBucketKeyBucketAccessResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GrantBucketKeyBucketAccessResponse) GetBody ¶
func (r GrantBucketKeyBucketAccessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GrantBucketKeyBucketAccessResponse) Status ¶
func (r GrantBucketKeyBucketAccessResponse) Status() string
Status returns HTTPResponse.Status
func (GrantBucketKeyBucketAccessResponse) StatusCode ¶
func (r GrantBucketKeyBucketAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrowKubernetesClusterStorageJSONRequestBody ¶
type GrowKubernetesClusterStorageJSONRequestBody = PublicKubernetesClusterGrowStorageRequest
GrowKubernetesClusterStorageJSONRequestBody defines body for GrowKubernetesClusterStorage for application/json ContentType.
type GrowKubernetesClusterStorageParams ¶
type GrowKubernetesClusterStorageParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
GrowKubernetesClusterStorageParams defines parameters for GrowKubernetesClusterStorage.
type GrowKubernetesClusterStorageResponse ¶
type GrowKubernetesClusterStorageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *GrowKubernetesClusterStorageResponse202Headers
}
func ParseGrowKubernetesClusterStorageResponse ¶
func ParseGrowKubernetesClusterStorageResponse(rsp *http.Response) (*GrowKubernetesClusterStorageResponse, error)
ParseGrowKubernetesClusterStorageResponse parses an HTTP response from a GrowKubernetesClusterStorageWithResponse call
func (GrowKubernetesClusterStorageResponse) ContentType ¶
func (r GrowKubernetesClusterStorageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON400 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON401 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON403 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON404 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON409 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON422 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON429 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON500 ¶
func (r GrowKubernetesClusterStorageResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (GrowKubernetesClusterStorageResponse) GetBody ¶
func (r GrowKubernetesClusterStorageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GrowKubernetesClusterStorageResponse) GetJSON202 ¶
func (r GrowKubernetesClusterStorageResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (GrowKubernetesClusterStorageResponse) Status ¶
func (r GrowKubernetesClusterStorageResponse) Status() string
Status returns HTTPResponse.Status
func (GrowKubernetesClusterStorageResponse) StatusCode ¶
func (r GrowKubernetesClusterStorageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrowKubernetesClusterStorageResponse202Headers ¶
type GrowKubernetesClusterStorageResponse202Headers struct {
Location *string
}
GrowKubernetesClusterStorageResponse202Headers the declared response headers of an HTTP 202 response for GrowKubernetesClusterStorage
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListActivityParams ¶
type ListActivityParams struct {
// Cursor Account feed: the previous response's nextCursor. A malformed cursor, or one from a different kind of list, is 400. Send it only to this route.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 50; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// SubjectId Subject history: the subject's id.
SubjectId *string `form:"subjectId,omitempty" json:"subjectId,omitempty"`
// SubjectType Subject history: the kind of subject, for example vm.
SubjectType *string `form:"subjectType,omitempty" json:"subjectType,omitempty"`
// Types Account feed: subject types to include, repeated or comma-separated.
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
}
ListActivityParams defines parameters for ListActivity.
type ListActivityResponse ¶
type ListActivityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicActivityDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListActivityResponse ¶
func ParseListActivityResponse(rsp *http.Response) (*ListActivityResponse, error)
ParseListActivityResponse parses an HTTP response from a ListActivityWithResponse call
func (ListActivityResponse) ContentType ¶
func (r ListActivityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListActivityResponse) GetApplicationproblemJSON400 ¶
func (r ListActivityResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListActivityResponse) GetApplicationproblemJSON401 ¶
func (r ListActivityResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListActivityResponse) GetApplicationproblemJSON404 ¶
func (r ListActivityResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListActivityResponse) GetApplicationproblemJSON429 ¶
func (r ListActivityResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListActivityResponse) GetApplicationproblemJSON500 ¶
func (r ListActivityResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListActivityResponse) GetBody ¶
func (r ListActivityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListActivityResponse) GetJSON200 ¶
func (r ListActivityResponse) GetJSON200() *CursorPagePublicActivityDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListActivityResponse) Status ¶
func (r ListActivityResponse) Status() string
Status returns HTTPResponse.Status
func (ListActivityResponse) StatusCode ¶
func (r ListActivityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAiSandboxTemplatesParams ¶
type ListAiSandboxTemplatesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAiSandboxTemplatesParams defines parameters for ListAiSandboxTemplates.
type ListAiSandboxTemplatesResponse ¶
type ListAiSandboxTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPageSandboxTemplateDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListAiSandboxTemplatesResponse ¶
func ParseListAiSandboxTemplatesResponse(rsp *http.Response) (*ListAiSandboxTemplatesResponse, error)
ParseListAiSandboxTemplatesResponse parses an HTTP response from a ListAiSandboxTemplatesWithResponse call
func (ListAiSandboxTemplatesResponse) ContentType ¶
func (r ListAiSandboxTemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAiSandboxTemplatesResponse) GetApplicationproblemJSON400 ¶
func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListAiSandboxTemplatesResponse) GetApplicationproblemJSON401 ¶
func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListAiSandboxTemplatesResponse) GetApplicationproblemJSON403 ¶
func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListAiSandboxTemplatesResponse) GetApplicationproblemJSON429 ¶
func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListAiSandboxTemplatesResponse) GetApplicationproblemJSON500 ¶
func (r ListAiSandboxTemplatesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListAiSandboxTemplatesResponse) GetBody ¶
func (r ListAiSandboxTemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAiSandboxTemplatesResponse) GetJSON200 ¶
func (r ListAiSandboxTemplatesResponse) GetJSON200() *CursorPageSandboxTemplateDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAiSandboxTemplatesResponse) Status ¶
func (r ListAiSandboxTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAiSandboxTemplatesResponse) StatusCode ¶
func (r ListAiSandboxTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAiSandboxesParams ¶
type ListAiSandboxesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAiSandboxesParams defines parameters for ListAiSandboxes.
type ListAiSandboxesResponse ¶
type ListAiSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPageSandboxDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListAiSandboxesResponse ¶
func ParseListAiSandboxesResponse(rsp *http.Response) (*ListAiSandboxesResponse, error)
ParseListAiSandboxesResponse parses an HTTP response from a ListAiSandboxesWithResponse call
func (ListAiSandboxesResponse) ContentType ¶
func (r ListAiSandboxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAiSandboxesResponse) GetApplicationproblemJSON400 ¶
func (r ListAiSandboxesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListAiSandboxesResponse) GetApplicationproblemJSON401 ¶
func (r ListAiSandboxesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListAiSandboxesResponse) GetApplicationproblemJSON403 ¶
func (r ListAiSandboxesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListAiSandboxesResponse) GetApplicationproblemJSON429 ¶
func (r ListAiSandboxesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListAiSandboxesResponse) GetApplicationproblemJSON500 ¶
func (r ListAiSandboxesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListAiSandboxesResponse) GetBody ¶
func (r ListAiSandboxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAiSandboxesResponse) GetJSON200 ¶
func (r ListAiSandboxesResponse) GetJSON200() *CursorPageSandboxDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAiSandboxesResponse) Status ¶
func (r ListAiSandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAiSandboxesResponse) StatusCode ¶
func (r ListAiSandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupPoliciesParams ¶
type ListBackupPoliciesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListBackupPoliciesParams defines parameters for ListBackupPolicies.
type ListBackupPoliciesResponse ¶
type ListBackupPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmBackupPolicyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBackupPoliciesResponse ¶
func ParseListBackupPoliciesResponse(rsp *http.Response) (*ListBackupPoliciesResponse, error)
ParseListBackupPoliciesResponse parses an HTTP response from a ListBackupPoliciesWithResponse call
func (ListBackupPoliciesResponse) ContentType ¶
func (r ListBackupPoliciesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBackupPoliciesResponse) GetApplicationproblemJSON400 ¶
func (r ListBackupPoliciesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBackupPoliciesResponse) GetApplicationproblemJSON401 ¶
func (r ListBackupPoliciesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBackupPoliciesResponse) GetApplicationproblemJSON403 ¶
func (r ListBackupPoliciesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBackupPoliciesResponse) GetApplicationproblemJSON429 ¶
func (r ListBackupPoliciesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBackupPoliciesResponse) GetApplicationproblemJSON500 ¶
func (r ListBackupPoliciesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBackupPoliciesResponse) GetBody ¶
func (r ListBackupPoliciesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBackupPoliciesResponse) GetJSON200 ¶
func (r ListBackupPoliciesResponse) GetJSON200() *CursorPagePublicVmBackupPolicyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBackupPoliciesResponse) Status ¶
func (r ListBackupPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupPoliciesResponse) StatusCode ¶
func (r ListBackupPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupWindowsResponse ¶
type ListBackupWindowsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBackupWindowDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBackupWindowsResponse ¶
func ParseListBackupWindowsResponse(rsp *http.Response) (*ListBackupWindowsResponse, error)
ParseListBackupWindowsResponse parses an HTTP response from a ListBackupWindowsWithResponse call
func (ListBackupWindowsResponse) ContentType ¶
func (r ListBackupWindowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBackupWindowsResponse) GetApplicationproblemJSON401 ¶
func (r ListBackupWindowsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBackupWindowsResponse) GetApplicationproblemJSON403 ¶
func (r ListBackupWindowsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBackupWindowsResponse) GetApplicationproblemJSON429 ¶
func (r ListBackupWindowsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBackupWindowsResponse) GetApplicationproblemJSON500 ¶
func (r ListBackupWindowsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBackupWindowsResponse) GetBody ¶
func (r ListBackupWindowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBackupWindowsResponse) GetJSON200 ¶
func (r ListBackupWindowsResponse) GetJSON200() *CursorPagePublicBackupWindowDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBackupWindowsResponse) Status ¶
func (r ListBackupWindowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupWindowsResponse) StatusCode ¶
func (r ListBackupWindowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBucketDeletedObjectsParams ¶ added in v0.3.0
type ListBucketDeletedObjectsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Prefix List only keys starting with this text.
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
}
ListBucketDeletedObjectsParams defines parameters for ListBucketDeletedObjects.
type ListBucketDeletedObjectsResponse ¶ added in v0.3.0
type ListBucketDeletedObjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBucketObjectVersionDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBucketDeletedObjectsResponse ¶ added in v0.3.0
func ParseListBucketDeletedObjectsResponse(rsp *http.Response) (*ListBucketDeletedObjectsResponse, error)
ParseListBucketDeletedObjectsResponse parses an HTTP response from a ListBucketDeletedObjectsWithResponse call
func (ListBucketDeletedObjectsResponse) ContentType ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBucketDeletedObjectsResponse) GetBody ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBucketDeletedObjectsResponse) GetJSON200 ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) GetJSON200() *CursorPagePublicBucketObjectVersionDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBucketDeletedObjectsResponse) Status ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBucketDeletedObjectsResponse) StatusCode ¶ added in v0.3.0
func (r ListBucketDeletedObjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBucketKeysParams ¶
type ListBucketKeysParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListBucketKeysParams defines parameters for ListBucketKeys.
type ListBucketKeysResponse ¶
type ListBucketKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBucketKeyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBucketKeysResponse ¶
func ParseListBucketKeysResponse(rsp *http.Response) (*ListBucketKeysResponse, error)
ParseListBucketKeysResponse parses an HTTP response from a ListBucketKeysWithResponse call
func (ListBucketKeysResponse) ContentType ¶
func (r ListBucketKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBucketKeysResponse) GetApplicationproblemJSON400 ¶
func (r ListBucketKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBucketKeysResponse) GetApplicationproblemJSON401 ¶
func (r ListBucketKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBucketKeysResponse) GetApplicationproblemJSON403 ¶
func (r ListBucketKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBucketKeysResponse) GetApplicationproblemJSON429 ¶
func (r ListBucketKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBucketKeysResponse) GetApplicationproblemJSON500 ¶
func (r ListBucketKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBucketKeysResponse) GetBody ¶
func (r ListBucketKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBucketKeysResponse) GetJSON200 ¶
func (r ListBucketKeysResponse) GetJSON200() *CursorPagePublicBucketKeyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBucketKeysResponse) Status ¶
func (r ListBucketKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListBucketKeysResponse) StatusCode ¶
func (r ListBucketKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBucketObjectVersionsParams ¶ added in v0.3.0
type ListBucketObjectVersionsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Key The object's key.
Key string `form:"key" json:"key"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListBucketObjectVersionsParams defines parameters for ListBucketObjectVersions.
type ListBucketObjectVersionsResponse ¶ added in v0.3.0
type ListBucketObjectVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBucketObjectVersionDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBucketObjectVersionsResponse ¶ added in v0.3.0
func ParseListBucketObjectVersionsResponse(rsp *http.Response) (*ListBucketObjectVersionsResponse, error)
ParseListBucketObjectVersionsResponse parses an HTTP response from a ListBucketObjectVersionsWithResponse call
func (ListBucketObjectVersionsResponse) ContentType ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBucketObjectVersionsResponse) GetBody ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBucketObjectVersionsResponse) GetJSON200 ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) GetJSON200() *CursorPagePublicBucketObjectVersionDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBucketObjectVersionsResponse) Status ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBucketObjectVersionsResponse) StatusCode ¶ added in v0.3.0
func (r ListBucketObjectVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBucketObjectsParams ¶ added in v0.3.0
type ListBucketObjectsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Prefix List only keys starting with this text.
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
}
ListBucketObjectsParams defines parameters for ListBucketObjects.
type ListBucketObjectsResponse ¶ added in v0.3.0
type ListBucketObjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBucketObjectDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBucketObjectsResponse ¶ added in v0.3.0
func ParseListBucketObjectsResponse(rsp *http.Response) (*ListBucketObjectsResponse, error)
ParseListBucketObjectsResponse parses an HTTP response from a ListBucketObjectsWithResponse call
func (ListBucketObjectsResponse) ContentType ¶ added in v0.3.0
func (r ListBucketObjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBucketObjectsResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBucketObjectsResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBucketObjectsResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBucketObjectsResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListBucketObjectsResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBucketObjectsResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBucketObjectsResponse) GetBody ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBucketObjectsResponse) GetJSON200 ¶ added in v0.3.0
func (r ListBucketObjectsResponse) GetJSON200() *CursorPagePublicBucketObjectDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBucketObjectsResponse) Status ¶ added in v0.3.0
func (r ListBucketObjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBucketObjectsResponse) StatusCode ¶ added in v0.3.0
func (r ListBucketObjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBucketsParams ¶
type ListBucketsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListBucketsParams defines parameters for ListBuckets.
type ListBucketsResponse ¶
type ListBucketsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBucketDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListBucketsResponse ¶
func ParseListBucketsResponse(rsp *http.Response) (*ListBucketsResponse, error)
ParseListBucketsResponse parses an HTTP response from a ListBucketsWithResponse call
func (ListBucketsResponse) ContentType ¶
func (r ListBucketsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBucketsResponse) GetApplicationproblemJSON400 ¶
func (r ListBucketsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListBucketsResponse) GetApplicationproblemJSON401 ¶
func (r ListBucketsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListBucketsResponse) GetApplicationproblemJSON403 ¶
func (r ListBucketsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListBucketsResponse) GetApplicationproblemJSON429 ¶
func (r ListBucketsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListBucketsResponse) GetApplicationproblemJSON500 ¶
func (r ListBucketsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListBucketsResponse) GetBody ¶
func (r ListBucketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBucketsResponse) GetJSON200 ¶
func (r ListBucketsResponse) GetJSON200() *CursorPagePublicBucketDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBucketsResponse) Status ¶
func (r ListBucketsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBucketsResponse) StatusCode ¶
func (r ListBucketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCardsParams ¶
type ListCardsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCardsParams defines parameters for ListCards.
type ListCardsResponse ¶
type ListCardsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicCardDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListCardsResponse ¶
func ParseListCardsResponse(rsp *http.Response) (*ListCardsResponse, error)
ParseListCardsResponse parses an HTTP response from a ListCardsWithResponse call
func (ListCardsResponse) ContentType ¶
func (r ListCardsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCardsResponse) GetApplicationproblemJSON400 ¶
func (r ListCardsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListCardsResponse) GetApplicationproblemJSON401 ¶
func (r ListCardsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListCardsResponse) GetApplicationproblemJSON403 ¶
func (r ListCardsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListCardsResponse) GetApplicationproblemJSON429 ¶
func (r ListCardsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListCardsResponse) GetApplicationproblemJSON500 ¶
func (r ListCardsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListCardsResponse) GetBody ¶
func (r ListCardsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCardsResponse) GetJSON200 ¶
func (r ListCardsResponse) GetJSON200() *CursorPagePublicCardDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCardsResponse) Status ¶
func (r ListCardsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCardsResponse) StatusCode ¶
func (r ListCardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIpAddressesParams ¶
type ListIpAddressesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListIpAddressesParams defines parameters for ListIpAddresses.
type ListIpAddressesResponse ¶
type ListIpAddressesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicIpAddressDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListIpAddressesResponse ¶
func ParseListIpAddressesResponse(rsp *http.Response) (*ListIpAddressesResponse, error)
ParseListIpAddressesResponse parses an HTTP response from a ListIpAddressesWithResponse call
func (ListIpAddressesResponse) ContentType ¶
func (r ListIpAddressesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIpAddressesResponse) GetApplicationproblemJSON400 ¶
func (r ListIpAddressesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListIpAddressesResponse) GetApplicationproblemJSON401 ¶
func (r ListIpAddressesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListIpAddressesResponse) GetApplicationproblemJSON403 ¶
func (r ListIpAddressesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListIpAddressesResponse) GetApplicationproblemJSON429 ¶
func (r ListIpAddressesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListIpAddressesResponse) GetApplicationproblemJSON500 ¶
func (r ListIpAddressesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListIpAddressesResponse) GetBody ¶
func (r ListIpAddressesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIpAddressesResponse) GetJSON200 ¶
func (r ListIpAddressesResponse) GetJSON200() *CursorPagePublicIpAddressDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIpAddressesResponse) Status ¶
func (r ListIpAddressesResponse) Status() string
Status returns HTTPResponse.Status
func (ListIpAddressesResponse) StatusCode ¶
func (r ListIpAddressesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListKubernetesClustersParams ¶
type ListKubernetesClustersParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListKubernetesClustersParams defines parameters for ListKubernetesClusters.
type ListKubernetesClustersResponse ¶
type ListKubernetesClustersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicKubernetesClusterDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListKubernetesClustersResponse ¶
func ParseListKubernetesClustersResponse(rsp *http.Response) (*ListKubernetesClustersResponse, error)
ParseListKubernetesClustersResponse parses an HTTP response from a ListKubernetesClustersWithResponse call
func (ListKubernetesClustersResponse) ContentType ¶
func (r ListKubernetesClustersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListKubernetesClustersResponse) GetApplicationproblemJSON400 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListKubernetesClustersResponse) GetApplicationproblemJSON401 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListKubernetesClustersResponse) GetApplicationproblemJSON403 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListKubernetesClustersResponse) GetApplicationproblemJSON404 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListKubernetesClustersResponse) GetApplicationproblemJSON429 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListKubernetesClustersResponse) GetApplicationproblemJSON500 ¶
func (r ListKubernetesClustersResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListKubernetesClustersResponse) GetBody ¶
func (r ListKubernetesClustersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListKubernetesClustersResponse) GetJSON200 ¶
func (r ListKubernetesClustersResponse) GetJSON200() *CursorPagePublicKubernetesClusterDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListKubernetesClustersResponse) Status ¶
func (r ListKubernetesClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListKubernetesClustersResponse) StatusCode ¶
func (r ListKubernetesClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMembersParams ¶
type ListMembersParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMembersParams defines parameters for ListMembers.
type ListMembersResponse ¶
type ListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicMemberDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListMembersResponse ¶
func ParseListMembersResponse(rsp *http.Response) (*ListMembersResponse, error)
ParseListMembersResponse parses an HTTP response from a ListMembersWithResponse call
func (ListMembersResponse) ContentType ¶
func (r ListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMembersResponse) GetApplicationproblemJSON400 ¶
func (r ListMembersResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListMembersResponse) GetApplicationproblemJSON401 ¶
func (r ListMembersResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListMembersResponse) GetApplicationproblemJSON403 ¶
func (r ListMembersResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListMembersResponse) GetApplicationproblemJSON429 ¶
func (r ListMembersResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListMembersResponse) GetApplicationproblemJSON500 ¶
func (r ListMembersResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListMembersResponse) GetBody ¶
func (r ListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMembersResponse) GetJSON200 ¶
func (r ListMembersResponse) GetJSON200() *CursorPagePublicMemberDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMembersResponse) Status ¶
func (r ListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListMembersResponse) StatusCode ¶
func (r ListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOsImagesParams ¶
type ListOsImagesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListOsImagesParams defines parameters for ListOsImages.
type ListOsImagesResponse ¶
type ListOsImagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicOsImageDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListOsImagesResponse ¶
func ParseListOsImagesResponse(rsp *http.Response) (*ListOsImagesResponse, error)
ParseListOsImagesResponse parses an HTTP response from a ListOsImagesWithResponse call
func (ListOsImagesResponse) ContentType ¶
func (r ListOsImagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOsImagesResponse) GetApplicationproblemJSON400 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListOsImagesResponse) GetApplicationproblemJSON401 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListOsImagesResponse) GetApplicationproblemJSON403 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListOsImagesResponse) GetApplicationproblemJSON404 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListOsImagesResponse) GetApplicationproblemJSON429 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListOsImagesResponse) GetApplicationproblemJSON500 ¶
func (r ListOsImagesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListOsImagesResponse) GetBody ¶
func (r ListOsImagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOsImagesResponse) GetJSON200 ¶
func (r ListOsImagesResponse) GetJSON200() *CursorPagePublicOsImageDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOsImagesResponse) Status ¶
func (r ListOsImagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListOsImagesResponse) StatusCode ¶
func (r ListOsImagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlacementGroupDatacentersResponse ¶
type ListPlacementGroupDatacentersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicPlacementDatacenterDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListPlacementGroupDatacentersResponse ¶
func ParseListPlacementGroupDatacentersResponse(rsp *http.Response) (*ListPlacementGroupDatacentersResponse, error)
ParseListPlacementGroupDatacentersResponse parses an HTTP response from a ListPlacementGroupDatacentersWithResponse call
func (ListPlacementGroupDatacentersResponse) ContentType ¶
func (r ListPlacementGroupDatacentersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON401 ¶
func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON403 ¶
func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON429 ¶
func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON500 ¶
func (r ListPlacementGroupDatacentersResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListPlacementGroupDatacentersResponse) GetBody ¶
func (r ListPlacementGroupDatacentersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPlacementGroupDatacentersResponse) GetJSON200 ¶
func (r ListPlacementGroupDatacentersResponse) GetJSON200() *CursorPagePublicPlacementDatacenterDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPlacementGroupDatacentersResponse) Status ¶
func (r ListPlacementGroupDatacentersResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlacementGroupDatacentersResponse) StatusCode ¶
func (r ListPlacementGroupDatacentersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlacementGroupsParams ¶
type ListPlacementGroupsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPlacementGroupsParams defines parameters for ListPlacementGroups.
type ListPlacementGroupsResponse ¶
type ListPlacementGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicPlacementGroupDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListPlacementGroupsResponse ¶
func ParseListPlacementGroupsResponse(rsp *http.Response) (*ListPlacementGroupsResponse, error)
ParseListPlacementGroupsResponse parses an HTTP response from a ListPlacementGroupsWithResponse call
func (ListPlacementGroupsResponse) ContentType ¶
func (r ListPlacementGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPlacementGroupsResponse) GetApplicationproblemJSON400 ¶
func (r ListPlacementGroupsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListPlacementGroupsResponse) GetApplicationproblemJSON401 ¶
func (r ListPlacementGroupsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListPlacementGroupsResponse) GetApplicationproblemJSON403 ¶
func (r ListPlacementGroupsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListPlacementGroupsResponse) GetApplicationproblemJSON429 ¶
func (r ListPlacementGroupsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListPlacementGroupsResponse) GetApplicationproblemJSON500 ¶
func (r ListPlacementGroupsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListPlacementGroupsResponse) GetBody ¶
func (r ListPlacementGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPlacementGroupsResponse) GetJSON200 ¶
func (r ListPlacementGroupsResponse) GetJSON200() *CursorPagePublicPlacementGroupDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPlacementGroupsResponse) Status ¶
func (r ListPlacementGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlacementGroupsResponse) StatusCode ¶
func (r ListPlacementGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectResourcesParams ¶
type ListProjectResourcesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProjectResourcesParams defines parameters for ListProjectResources.
type ListProjectResourcesResponse ¶
type ListProjectResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicProjectResourceDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListProjectResourcesResponse ¶
func ParseListProjectResourcesResponse(rsp *http.Response) (*ListProjectResourcesResponse, error)
ParseListProjectResourcesResponse parses an HTTP response from a ListProjectResourcesWithResponse call
func (ListProjectResourcesResponse) ContentType ¶
func (r ListProjectResourcesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectResourcesResponse) GetApplicationproblemJSON400 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListProjectResourcesResponse) GetApplicationproblemJSON401 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListProjectResourcesResponse) GetApplicationproblemJSON403 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListProjectResourcesResponse) GetApplicationproblemJSON404 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListProjectResourcesResponse) GetApplicationproblemJSON429 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListProjectResourcesResponse) GetApplicationproblemJSON500 ¶
func (r ListProjectResourcesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListProjectResourcesResponse) GetBody ¶
func (r ListProjectResourcesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectResourcesResponse) GetJSON200 ¶
func (r ListProjectResourcesResponse) GetJSON200() *CursorPagePublicProjectResourceDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectResourcesResponse) Status ¶
func (r ListProjectResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectResourcesResponse) StatusCode ¶
func (r ListProjectResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectsParams ¶
type ListProjectsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProjectsParams defines parameters for ListProjects.
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicProjectDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListProjectsResponse ¶
func ParseListProjectsResponse(rsp *http.Response) (*ListProjectsResponse, error)
ParseListProjectsResponse parses an HTTP response from a ListProjectsWithResponse call
func (ListProjectsResponse) ContentType ¶
func (r ListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProjectsResponse) GetApplicationproblemJSON400 ¶
func (r ListProjectsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListProjectsResponse) GetApplicationproblemJSON401 ¶
func (r ListProjectsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListProjectsResponse) GetApplicationproblemJSON403 ¶
func (r ListProjectsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListProjectsResponse) GetApplicationproblemJSON429 ¶
func (r ListProjectsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListProjectsResponse) GetApplicationproblemJSON500 ¶
func (r ListProjectsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListProjectsResponse) GetBody ¶
func (r ListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectsResponse) GetJSON200 ¶
func (r ListProjectsResponse) GetJSON200() *CursorPagePublicProjectDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProjectsResponse) Status ¶
func (r ListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectsResponse) StatusCode ¶
func (r ListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSshKeysParams ¶
type ListSshKeysParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSshKeysParams defines parameters for ListSshKeys.
type ListSshKeysResponse ¶
type ListSshKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicSshKeyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListSshKeysResponse ¶
func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)
ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call
func (ListSshKeysResponse) ContentType ¶
func (r ListSshKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSshKeysResponse) GetApplicationproblemJSON400 ¶
func (r ListSshKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListSshKeysResponse) GetApplicationproblemJSON401 ¶
func (r ListSshKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListSshKeysResponse) GetApplicationproblemJSON403 ¶
func (r ListSshKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListSshKeysResponse) GetApplicationproblemJSON429 ¶
func (r ListSshKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListSshKeysResponse) GetApplicationproblemJSON500 ¶
func (r ListSshKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListSshKeysResponse) GetBody ¶
func (r ListSshKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSshKeysResponse) GetJSON200 ¶
func (r ListSshKeysResponse) GetJSON200() *CursorPagePublicSshKeyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSshKeysResponse) Status ¶
func (r ListSshKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListSshKeysResponse) StatusCode ¶
func (r ListSshKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSupportTicketsParams ¶
type ListSupportTicketsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
Status *[]string `form:"status,omitempty" json:"status,omitempty"`
}
ListSupportTicketsParams defines parameters for ListSupportTickets.
type ListSupportTicketsResponse ¶
type ListSupportTicketsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicSupportTicketDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListSupportTicketsResponse ¶
func ParseListSupportTicketsResponse(rsp *http.Response) (*ListSupportTicketsResponse, error)
ParseListSupportTicketsResponse parses an HTTP response from a ListSupportTicketsWithResponse call
func (ListSupportTicketsResponse) ContentType ¶
func (r ListSupportTicketsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSupportTicketsResponse) GetApplicationproblemJSON400 ¶
func (r ListSupportTicketsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListSupportTicketsResponse) GetApplicationproblemJSON401 ¶
func (r ListSupportTicketsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListSupportTicketsResponse) GetApplicationproblemJSON403 ¶
func (r ListSupportTicketsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListSupportTicketsResponse) GetApplicationproblemJSON429 ¶
func (r ListSupportTicketsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListSupportTicketsResponse) GetApplicationproblemJSON500 ¶
func (r ListSupportTicketsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListSupportTicketsResponse) GetBody ¶
func (r ListSupportTicketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSupportTicketsResponse) GetJSON200 ¶
func (r ListSupportTicketsResponse) GetJSON200() *CursorPagePublicSupportTicketDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSupportTicketsResponse) Status ¶
func (r ListSupportTicketsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSupportTicketsResponse) StatusCode ¶
func (r ListSupportTicketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTransactionsParams ¶
type ListTransactionsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListTransactionsParams defines parameters for ListTransactions.
type ListTransactionsResponse ¶
type ListTransactionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicTransactionDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON502 the response for an HTTP 502 `application/problem+json` response
ApplicationproblemJSON502 *ProblemDetail
}
func ParseListTransactionsResponse ¶
func ParseListTransactionsResponse(rsp *http.Response) (*ListTransactionsResponse, error)
ParseListTransactionsResponse parses an HTTP response from a ListTransactionsWithResponse call
func (ListTransactionsResponse) ContentType ¶
func (r ListTransactionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTransactionsResponse) GetApplicationproblemJSON401 ¶
func (r ListTransactionsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListTransactionsResponse) GetApplicationproblemJSON403 ¶
func (r ListTransactionsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListTransactionsResponse) GetApplicationproblemJSON429 ¶
func (r ListTransactionsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListTransactionsResponse) GetApplicationproblemJSON500 ¶
func (r ListTransactionsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListTransactionsResponse) GetApplicationproblemJSON502 ¶
func (r ListTransactionsResponse) GetApplicationproblemJSON502() *ProblemDetail
GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response
func (ListTransactionsResponse) GetBody ¶
func (r ListTransactionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTransactionsResponse) GetJSON200 ¶
func (r ListTransactionsResponse) GetJSON200() *CursorPagePublicTransactionDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTransactionsResponse) Status ¶
func (r ListTransactionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTransactionsResponse) StatusCode ¶
func (r ListTransactionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVipsParams ¶
type ListVipsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVipsParams defines parameters for ListVips.
type ListVipsResponse ¶
type ListVipsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVipDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVipsResponse ¶
func ParseListVipsResponse(rsp *http.Response) (*ListVipsResponse, error)
ParseListVipsResponse parses an HTTP response from a ListVipsWithResponse call
func (ListVipsResponse) ContentType ¶
func (r ListVipsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVipsResponse) GetApplicationproblemJSON400 ¶
func (r ListVipsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVipsResponse) GetApplicationproblemJSON401 ¶
func (r ListVipsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVipsResponse) GetApplicationproblemJSON403 ¶
func (r ListVipsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVipsResponse) GetApplicationproblemJSON429 ¶
func (r ListVipsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVipsResponse) GetApplicationproblemJSON500 ¶
func (r ListVipsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVipsResponse) GetBody ¶
func (r ListVipsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVipsResponse) GetJSON200 ¶
func (r ListVipsResponse) GetJSON200() *CursorPagePublicVipDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVipsResponse) Status ¶
func (r ListVipsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVipsResponse) StatusCode ¶
func (r ListVipsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmBackupRestoreSitesResponse ¶
type ListVmBackupRestoreSitesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicPlacementFeasibilityDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmBackupRestoreSitesResponse ¶
func ParseListVmBackupRestoreSitesResponse(rsp *http.Response) (*ListVmBackupRestoreSitesResponse, error)
ParseListVmBackupRestoreSitesResponse parses an HTTP response from a ListVmBackupRestoreSitesWithResponse call
func (ListVmBackupRestoreSitesResponse) ContentType ¶
func (r ListVmBackupRestoreSitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON401 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON403 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON404 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON409 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON429 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON500 ¶
func (r ListVmBackupRestoreSitesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmBackupRestoreSitesResponse) GetBody ¶
func (r ListVmBackupRestoreSitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmBackupRestoreSitesResponse) GetJSON200 ¶
func (r ListVmBackupRestoreSitesResponse) GetJSON200() *CursorPagePublicPlacementFeasibilityDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmBackupRestoreSitesResponse) Status ¶
func (r ListVmBackupRestoreSitesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmBackupRestoreSitesResponse) StatusCode ¶
func (r ListVmBackupRestoreSitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmBackupsParams ¶
type ListVmBackupsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmBackupsParams defines parameters for ListVmBackups.
type ListVmBackupsResponse ¶
type ListVmBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicBackupDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmBackupsResponse ¶
func ParseListVmBackupsResponse(rsp *http.Response) (*ListVmBackupsResponse, error)
ParseListVmBackupsResponse parses an HTTP response from a ListVmBackupsWithResponse call
func (ListVmBackupsResponse) ContentType ¶
func (r ListVmBackupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmBackupsResponse) GetApplicationproblemJSON400 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmBackupsResponse) GetApplicationproblemJSON401 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmBackupsResponse) GetApplicationproblemJSON403 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmBackupsResponse) GetApplicationproblemJSON404 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVmBackupsResponse) GetApplicationproblemJSON429 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmBackupsResponse) GetApplicationproblemJSON500 ¶
func (r ListVmBackupsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmBackupsResponse) GetBody ¶
func (r ListVmBackupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmBackupsResponse) GetJSON200 ¶
func (r ListVmBackupsResponse) GetJSON200() *CursorPagePublicBackupDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmBackupsResponse) Status ¶
func (r ListVmBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmBackupsResponse) StatusCode ¶
func (r ListVmBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmDisksParams ¶
type ListVmDisksParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmDisksParams defines parameters for ListVmDisks.
type ListVmDisksResponse ¶
type ListVmDisksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmDiskDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmDisksResponse ¶
func ParseListVmDisksResponse(rsp *http.Response) (*ListVmDisksResponse, error)
ParseListVmDisksResponse parses an HTTP response from a ListVmDisksWithResponse call
func (ListVmDisksResponse) ContentType ¶
func (r ListVmDisksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmDisksResponse) GetApplicationproblemJSON400 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmDisksResponse) GetApplicationproblemJSON401 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmDisksResponse) GetApplicationproblemJSON403 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmDisksResponse) GetApplicationproblemJSON404 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVmDisksResponse) GetApplicationproblemJSON429 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmDisksResponse) GetApplicationproblemJSON500 ¶
func (r ListVmDisksResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmDisksResponse) GetBody ¶
func (r ListVmDisksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmDisksResponse) GetJSON200 ¶
func (r ListVmDisksResponse) GetJSON200() *CursorPagePublicVmDiskDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmDisksResponse) Status ¶
func (r ListVmDisksResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmDisksResponse) StatusCode ¶
func (r ListVmDisksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmFirewallRulesResponse ¶
type ListVmFirewallRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicFirewallRuleDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmFirewallRulesResponse ¶
func ParseListVmFirewallRulesResponse(rsp *http.Response) (*ListVmFirewallRulesResponse, error)
ParseListVmFirewallRulesResponse parses an HTTP response from a ListVmFirewallRulesWithResponse call
func (ListVmFirewallRulesResponse) ContentType ¶
func (r ListVmFirewallRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmFirewallRulesResponse) GetApplicationproblemJSON401 ¶
func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmFirewallRulesResponse) GetApplicationproblemJSON403 ¶
func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmFirewallRulesResponse) GetApplicationproblemJSON429 ¶
func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmFirewallRulesResponse) GetApplicationproblemJSON500 ¶
func (r ListVmFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmFirewallRulesResponse) GetBody ¶
func (r ListVmFirewallRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmFirewallRulesResponse) GetJSON200 ¶
func (r ListVmFirewallRulesResponse) GetJSON200() *CursorPagePublicFirewallRuleDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmFirewallRulesResponse) Status ¶
func (r ListVmFirewallRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmFirewallRulesResponse) StatusCode ¶
func (r ListVmFirewallRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmNetworkInterfacesParams ¶
type ListVmNetworkInterfacesParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmNetworkInterfacesParams defines parameters for ListVmNetworkInterfaces.
type ListVmNetworkInterfacesResponse ¶
type ListVmNetworkInterfacesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmNicDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmNetworkInterfacesResponse ¶
func ParseListVmNetworkInterfacesResponse(rsp *http.Response) (*ListVmNetworkInterfacesResponse, error)
ParseListVmNetworkInterfacesResponse parses an HTTP response from a ListVmNetworkInterfacesWithResponse call
func (ListVmNetworkInterfacesResponse) ContentType ¶
func (r ListVmNetworkInterfacesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmNetworkInterfacesResponse) GetApplicationproblemJSON400 ¶
func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmNetworkInterfacesResponse) GetApplicationproblemJSON401 ¶
func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmNetworkInterfacesResponse) GetApplicationproblemJSON403 ¶
func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmNetworkInterfacesResponse) GetApplicationproblemJSON429 ¶
func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmNetworkInterfacesResponse) GetApplicationproblemJSON500 ¶
func (r ListVmNetworkInterfacesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmNetworkInterfacesResponse) GetBody ¶
func (r ListVmNetworkInterfacesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmNetworkInterfacesResponse) GetJSON200 ¶
func (r ListVmNetworkInterfacesResponse) GetJSON200() *CursorPagePublicVmNicDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmNetworkInterfacesResponse) Status ¶
func (r ListVmNetworkInterfacesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmNetworkInterfacesResponse) StatusCode ¶
func (r ListVmNetworkInterfacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmPrivateIpsParams ¶
type ListVmPrivateIpsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmPrivateIpsParams defines parameters for ListVmPrivateIps.
type ListVmPrivateIpsResponse ¶
type ListVmPrivateIpsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmPrivateIpDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmPrivateIpsResponse ¶
func ParseListVmPrivateIpsResponse(rsp *http.Response) (*ListVmPrivateIpsResponse, error)
ParseListVmPrivateIpsResponse parses an HTTP response from a ListVmPrivateIpsWithResponse call
func (ListVmPrivateIpsResponse) ContentType ¶
func (r ListVmPrivateIpsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON400 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON401 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON403 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON404 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON429 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetApplicationproblemJSON500 ¶
func (r ListVmPrivateIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmPrivateIpsResponse) GetBody ¶
func (r ListVmPrivateIpsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmPrivateIpsResponse) GetJSON200 ¶
func (r ListVmPrivateIpsResponse) GetJSON200() *CursorPagePublicVmPrivateIpDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmPrivateIpsResponse) Status ¶
func (r ListVmPrivateIpsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmPrivateIpsResponse) StatusCode ¶
func (r ListVmPrivateIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmPublicIpsParams ¶
type ListVmPublicIpsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmPublicIpsParams defines parameters for ListVmPublicIps.
type ListVmPublicIpsResponse ¶
type ListVmPublicIpsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmPublicIpDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmPublicIpsResponse ¶
func ParseListVmPublicIpsResponse(rsp *http.Response) (*ListVmPublicIpsResponse, error)
ParseListVmPublicIpsResponse parses an HTTP response from a ListVmPublicIpsWithResponse call
func (ListVmPublicIpsResponse) ContentType ¶
func (r ListVmPublicIpsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmPublicIpsResponse) GetApplicationproblemJSON400 ¶
func (r ListVmPublicIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmPublicIpsResponse) GetApplicationproblemJSON401 ¶
func (r ListVmPublicIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmPublicIpsResponse) GetApplicationproblemJSON403 ¶
func (r ListVmPublicIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmPublicIpsResponse) GetApplicationproblemJSON429 ¶
func (r ListVmPublicIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmPublicIpsResponse) GetApplicationproblemJSON500 ¶
func (r ListVmPublicIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmPublicIpsResponse) GetBody ¶
func (r ListVmPublicIpsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmPublicIpsResponse) GetJSON200 ¶
func (r ListVmPublicIpsResponse) GetJSON200() *CursorPagePublicVmPublicIpDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmPublicIpsResponse) Status ¶
func (r ListVmPublicIpsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmPublicIpsResponse) StatusCode ¶
func (r ListVmPublicIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmSshKeysParams ¶
type ListVmSshKeysParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVmSshKeysParams defines parameters for ListVmSshKeys.
type ListVmSshKeysResponse ¶
type ListVmSshKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicSshKeyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmSshKeysResponse ¶
func ParseListVmSshKeysResponse(rsp *http.Response) (*ListVmSshKeysResponse, error)
ParseListVmSshKeysResponse parses an HTTP response from a ListVmSshKeysWithResponse call
func (ListVmSshKeysResponse) ContentType ¶
func (r ListVmSshKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmSshKeysResponse) GetApplicationproblemJSON400 ¶
func (r ListVmSshKeysResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVmSshKeysResponse) GetApplicationproblemJSON401 ¶
func (r ListVmSshKeysResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmSshKeysResponse) GetApplicationproblemJSON403 ¶
func (r ListVmSshKeysResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmSshKeysResponse) GetApplicationproblemJSON429 ¶
func (r ListVmSshKeysResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmSshKeysResponse) GetApplicationproblemJSON500 ¶
func (r ListVmSshKeysResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmSshKeysResponse) GetBody ¶
func (r ListVmSshKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmSshKeysResponse) GetJSON200 ¶
func (r ListVmSshKeysResponse) GetJSON200() *CursorPagePublicSshKeyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmSshKeysResponse) Status ¶
func (r ListVmSshKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmSshKeysResponse) StatusCode ¶
func (r ListVmSshKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVmsParams ¶
type ListVmsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Slug Filter by current slug (transient — id is the stable identifier).
Slug *string `form:"slug,omitempty" json:"slug,omitempty"`
}
ListVmsParams defines parameters for ListVms.
type ListVmsResponse ¶
type ListVmsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVmDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVmsResponse ¶
func ParseListVmsResponse(rsp *http.Response) (*ListVmsResponse, error)
ParseListVmsResponse parses an HTTP response from a ListVmsWithResponse call
func (ListVmsResponse) ContentType ¶
func (r ListVmsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVmsResponse) GetApplicationproblemJSON401 ¶
func (r ListVmsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVmsResponse) GetApplicationproblemJSON403 ¶
func (r ListVmsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVmsResponse) GetApplicationproblemJSON429 ¶
func (r ListVmsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVmsResponse) GetApplicationproblemJSON500 ¶
func (r ListVmsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVmsResponse) GetBody ¶
func (r ListVmsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVmsResponse) GetJSON200 ¶
func (r ListVmsResponse) GetJSON200() *CursorPagePublicVmDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVmsResponse) Status ¶
func (r ListVmsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVmsResponse) StatusCode ¶
func (r ListVmsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVpcFirewallRulesResponse ¶
type ListVpcFirewallRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicFirewallRuleDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVpcFirewallRulesResponse ¶
func ParseListVpcFirewallRulesResponse(rsp *http.Response) (*ListVpcFirewallRulesResponse, error)
ParseListVpcFirewallRulesResponse parses an HTTP response from a ListVpcFirewallRulesWithResponse call
func (ListVpcFirewallRulesResponse) ContentType ¶
func (r ListVpcFirewallRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVpcFirewallRulesResponse) GetApplicationproblemJSON401 ¶
func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVpcFirewallRulesResponse) GetApplicationproblemJSON403 ¶
func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVpcFirewallRulesResponse) GetApplicationproblemJSON429 ¶
func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVpcFirewallRulesResponse) GetApplicationproblemJSON500 ¶
func (r ListVpcFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVpcFirewallRulesResponse) GetBody ¶
func (r ListVpcFirewallRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVpcFirewallRulesResponse) GetJSON200 ¶
func (r ListVpcFirewallRulesResponse) GetJSON200() *CursorPagePublicFirewallRuleDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVpcFirewallRulesResponse) Status ¶
func (r ListVpcFirewallRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVpcFirewallRulesResponse) StatusCode ¶
func (r ListVpcFirewallRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVpcReservedIpsParams ¶
type ListVpcReservedIpsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVpcReservedIpsParams defines parameters for ListVpcReservedIps.
type ListVpcReservedIpsResponse ¶
type ListVpcReservedIpsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicReservedIpDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVpcReservedIpsResponse ¶
func ParseListVpcReservedIpsResponse(rsp *http.Response) (*ListVpcReservedIpsResponse, error)
ParseListVpcReservedIpsResponse parses an HTTP response from a ListVpcReservedIpsWithResponse call
func (ListVpcReservedIpsResponse) ContentType ¶
func (r ListVpcReservedIpsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON400 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON401 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON403 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON404 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON429 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetApplicationproblemJSON500 ¶
func (r ListVpcReservedIpsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVpcReservedIpsResponse) GetBody ¶
func (r ListVpcReservedIpsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVpcReservedIpsResponse) GetJSON200 ¶
func (r ListVpcReservedIpsResponse) GetJSON200() *CursorPagePublicReservedIpDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVpcReservedIpsResponse) Status ¶
func (r ListVpcReservedIpsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVpcReservedIpsResponse) StatusCode ¶
func (r ListVpcReservedIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVpcVipFirewallRulesResponse ¶
type ListVpcVipFirewallRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVipFirewallRulesDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVpcVipFirewallRulesResponse ¶
func ParseListVpcVipFirewallRulesResponse(rsp *http.Response) (*ListVpcVipFirewallRulesResponse, error)
ParseListVpcVipFirewallRulesResponse parses an HTTP response from a ListVpcVipFirewallRulesWithResponse call
func (ListVpcVipFirewallRulesResponse) ContentType ¶
func (r ListVpcVipFirewallRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON401 ¶
func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON403 ¶
func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON404 ¶
func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON429 ¶
func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON500 ¶
func (r ListVpcVipFirewallRulesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVpcVipFirewallRulesResponse) GetBody ¶
func (r ListVpcVipFirewallRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVpcVipFirewallRulesResponse) GetJSON200 ¶
func (r ListVpcVipFirewallRulesResponse) GetJSON200() *PublicVipFirewallRulesDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVpcVipFirewallRulesResponse) Status ¶
func (r ListVpcVipFirewallRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVpcVipFirewallRulesResponse) StatusCode ¶
func (r ListVpcVipFirewallRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVpcsParams ¶
type ListVpcsParams struct {
// Cursor The previous response's nextCursor; leave out for the first page. A malformed cursor, or one from a different kind of list, is 400. Send it only to the route that returned it.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, a whole number from 1 to 200; defaults to 50. Any other value is 400.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVpcsParams defines parameters for ListVpcs.
type ListVpcsResponse ¶
type ListVpcsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorPagePublicVpcDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseListVpcsResponse ¶
func ParseListVpcsResponse(rsp *http.Response) (*ListVpcsResponse, error)
ParseListVpcsResponse parses an HTTP response from a ListVpcsWithResponse call
func (ListVpcsResponse) ContentType ¶
func (r ListVpcsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVpcsResponse) GetApplicationproblemJSON400 ¶
func (r ListVpcsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListVpcsResponse) GetApplicationproblemJSON401 ¶
func (r ListVpcsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListVpcsResponse) GetApplicationproblemJSON403 ¶
func (r ListVpcsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListVpcsResponse) GetApplicationproblemJSON429 ¶
func (r ListVpcsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListVpcsResponse) GetApplicationproblemJSON500 ¶
func (r ListVpcsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ListVpcsResponse) GetBody ¶
func (r ListVpcsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVpcsResponse) GetJSON200 ¶
func (r ListVpcsResponse) GetJSON200() *CursorPagePublicVpcDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVpcsResponse) Status ¶
func (r ListVpcsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVpcsResponse) StatusCode ¶
func (r ListVpcsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Member ¶
type Member struct {
// Name The VM's display name.
Name *string `json:"name,omitempty"`
// ResourceId The VM's stable identifier.
ResourceId *string `json:"resourceId,omitempty"`
}
Member A VM declared to serve an address.
type Memory ¶
type Memory struct {
TotalMb *int32 `json:"totalMb,omitempty"`
}
Memory defines model for Memory.
type MoveProjectResourceResponse ¶
type MoveProjectResourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicProjectDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseMoveProjectResourceResponse ¶
func ParseMoveProjectResourceResponse(rsp *http.Response) (*MoveProjectResourceResponse, error)
ParseMoveProjectResourceResponse parses an HTTP response from a MoveProjectResourceWithResponse call
func (MoveProjectResourceResponse) ContentType ¶
func (r MoveProjectResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveProjectResourceResponse) GetApplicationproblemJSON400 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (MoveProjectResourceResponse) GetApplicationproblemJSON401 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (MoveProjectResourceResponse) GetApplicationproblemJSON403 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (MoveProjectResourceResponse) GetApplicationproblemJSON404 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (MoveProjectResourceResponse) GetApplicationproblemJSON429 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (MoveProjectResourceResponse) GetApplicationproblemJSON500 ¶
func (r MoveProjectResourceResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (MoveProjectResourceResponse) GetBody ¶
func (r MoveProjectResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveProjectResourceResponse) GetJSON200 ¶
func (r MoveProjectResourceResponse) GetJSON200() *PublicProjectDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MoveProjectResourceResponse) Status ¶
func (r MoveProjectResourceResponse) Status() string
Status returns HTTPResponse.Status
func (MoveProjectResourceResponse) StatusCode ¶
func (r MoveProjectResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Operation ¶
type Operation = PublicOperationDto
Operation is an asynchronous operation as returned by GET /v1/operations/{id}.
type OperationAccepted ¶
type OperationAccepted struct {
OperationId *string `json:"operationId,omitempty"`
}
OperationAccepted defines model for OperationAccepted.
type OperationError ¶
OperationError is returned by WaitForOperation for a failed or cancelled operation.
func (*OperationError) Error ¶
func (e *OperationError) Error() string
type Option ¶
type Option func(*Client)
Option configures a Client.
func WithConcurrency ¶
WithConcurrency sets the maximum number of in-flight requests (default 4).
func WithTransport ¶
func WithTransport(rt http.RoundTripper) Option
WithTransport sets the underlying RoundTripper (default http.DefaultTransport; nil keeps the default).
func WithUserAgent ¶
WithUserAgent prepends product (e.g. "ca/0.1.0") to the User-Agent, which otherwise is "cloudafrica-go/<Version>".
type PauseAiSandboxResponse ¶
type PauseAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParsePauseAiSandboxResponse ¶
func ParsePauseAiSandboxResponse(rsp *http.Response) (*PauseAiSandboxResponse, error)
ParsePauseAiSandboxResponse parses an HTTP response from a PauseAiSandboxWithResponse call
func (PauseAiSandboxResponse) ContentType ¶
func (r PauseAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PauseAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PauseAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PauseAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PauseAiSandboxResponse) GetApplicationproblemJSON409 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (PauseAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (PauseAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r PauseAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PauseAiSandboxResponse) GetBody ¶
func (r PauseAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PauseAiSandboxResponse) GetJSON200 ¶
func (r PauseAiSandboxResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PauseAiSandboxResponse) Status ¶
func (r PauseAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (PauseAiSandboxResponse) StatusCode ¶
func (r PauseAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewVmBackupPolicyRotationJSONRequestBody ¶
type PreviewVmBackupPolicyRotationJSONRequestBody = PublicBackupPolicyRequest
PreviewVmBackupPolicyRotationJSONRequestBody defines body for PreviewVmBackupPolicyRotation for application/json ContentType.
type PreviewVmBackupPolicyRotationResponse ¶
type PreviewVmBackupPolicyRotationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBackupRotationPreviewDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParsePreviewVmBackupPolicyRotationResponse ¶
func ParsePreviewVmBackupPolicyRotationResponse(rsp *http.Response) (*PreviewVmBackupPolicyRotationResponse, error)
ParsePreviewVmBackupPolicyRotationResponse parses an HTTP response from a PreviewVmBackupPolicyRotationWithResponse call
func (PreviewVmBackupPolicyRotationResponse) ContentType ¶
func (r PreviewVmBackupPolicyRotationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON400 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON401 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON403 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON404 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON429 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON500 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PreviewVmBackupPolicyRotationResponse) GetBody ¶
func (r PreviewVmBackupPolicyRotationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreviewVmBackupPolicyRotationResponse) GetJSON200 ¶
func (r PreviewVmBackupPolicyRotationResponse) GetJSON200() *PublicBackupRotationPreviewDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreviewVmBackupPolicyRotationResponse) Status ¶
func (r PreviewVmBackupPolicyRotationResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewVmBackupPolicyRotationResponse) StatusCode ¶
func (r PreviewVmBackupPolicyRotationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProblemDetail ¶
type ProblemDetail struct {
Detail *string `json:"detail,omitempty"`
Instance *string `json:"instance,omitempty"`
Key *string `json:"key,omitempty"`
Limit *int32 `json:"limit,omitempty"`
RequestId *string `json:"requestId,omitempty"`
Scope *string `json:"scope,omitempty"`
Status *int32 `json:"status,omitempty"`
SupportNeed *string `json:"supportNeed,omitempty"`
Title *string `json:"title,omitempty"`
TraceId *string `json:"traceId,omitempty"`
Type *string `json:"type,omitempty"`
Used *int64 `json:"used,omitempty"`
Violations *[]Violation `json:"violations,omitempty"`
}
ProblemDetail defines model for ProblemDetail.
type PublicAccountDto ¶
type PublicAccountDto struct {
// AccountId Account UUID the token is bound to.
AccountId *string `json:"accountId,omitempty"`
// AccountName Display name of the account.
AccountName *string `json:"accountName,omitempty"`
// ExpiresAt Optional expiry; null = no expiry.
//
// Examples: 2022-03-10T16:15:50Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// RateLimit Current rate-limit window state.
RateLimit *RateLimitState `json:"rateLimit,omitempty"`
// Scopes Active token scopes.
Scopes *[]string `json:"scopes,omitempty"`
// TokenId Token id.
TokenId *string `json:"tokenId,omitempty"`
// TokenName Customer-chosen label for the token.
TokenName *string `json:"tokenName,omitempty"`
}
PublicAccountDto Information about the API token making the request and the account it is bound to.
type PublicAccrualDto ¶
type PublicAccrualDto struct {
// AsOf The instant this figure was computed as at.
//
// Examples: 2022-03-10T16:15:50Z
AsOf *time.Time `json:"asOf,omitempty"`
// BillableHours Billable hours covered by this window.
BillableHours *float32 `json:"billableHours,omitempty"`
// Currency ISO 4217 currency code. CloudAfrica bills in ZAR only.
Currency *string `json:"currency,omitempty"`
// PeriodEnd End of the accrual window — the meter's coverage frontier, up to an hour stale by construction.
//
// Examples: 2022-03-10T16:15:50Z
PeriodEnd *time.Time `json:"periodEnd,omitempty"`
// PeriodStart Start of the accrual window (normally the month start).
//
// Examples: 2022-03-10T16:15:50Z
PeriodStart *time.Time `json:"periodStart,omitempty"`
// Total Accrued total in rands, rounded to the cent.
//
// Examples: 84.08
Total *string `json:"total,omitempty"`
// TotalMilliCents Accrued total, in milli-cents (thousandths of a cent) — 100,000 to the rand.
//
// Examples: 8407667
TotalMilliCents *string `json:"totalMilliCents,omitempty"`
// UnpriceableHours Hours in the window that resolved to no price — the total is a floor wherever this is positive.
UnpriceableHours *float32 `json:"unpriceableHours,omitempty"`
}
PublicAccrualDto The account's month-to-date accrual — a reading, not an invoice.
type PublicActivityActorClass ¶
type PublicActivityActorClass string
PublicActivityActorClass defines model for PublicActivityActorClass.
const ( AUTOMATIC PublicActivityActorClass = "AUTOMATIC" CUSTOMER PublicActivityActorClass = "CUSTOMER" OUTSIDEPORTAL PublicActivityActorClass = "OUTSIDE_PORTAL" SUPPORT PublicActivityActorClass = "SUPPORT" )
Defines values for PublicActivityActorClass.
func (PublicActivityActorClass) Valid ¶
func (e PublicActivityActorClass) Valid() bool
Valid indicates whether the value is a known member of the PublicActivityActorClass enum.
type PublicActivityDto ¶
type PublicActivityDto struct {
// ActorClass Who acted.
ActorClass *PublicActivityActorClass `json:"actorClass,omitempty"`
// ActorDisplayName A teammate's short display name, or "Service token"; null unless the actor is a CUSTOMER.
ActorDisplayName *string `json:"actorDisplayName,omitempty"`
// ActorIsViewer Whether the token's own user performed it.
ActorIsViewer *bool `json:"actorIsViewer,omitempty"`
// FailureReason Why it failed, for example timed_out; null unless it failed.
FailureReason *string `json:"failureReason,omitempty"`
// FinishedAt When it finished; null while in progress.
//
// Examples: 2022-03-10T16:15:50Z
FinishedAt *time.Time `json:"finishedAt,omitempty"`
// Id The row's id.
Id *string `json:"id,omitempty"`
// StartedAt When it started.
//
// Examples: 2022-03-10T16:15:50Z
StartedAt *time.Time `json:"startedAt,omitempty"`
// Status Where the activity stands.
Status *PublicActivityStatus `json:"status,omitempty"`
// SubjectId The subject's id; null if none.
SubjectId *string `json:"subjectId,omitempty"`
// SubjectLabel The subject's display label when recorded; null if none.
SubjectLabel *string `json:"subjectLabel,omitempty"`
// SubjectType The kind of thing acted on, for example vm; null if none.
SubjectType *string `json:"subjectType,omitempty"`
// Summary Verb-specific detail. Keys vary by verb.
Summary *map[string]interface{} `json:"summary,omitempty"`
// Verb What happened, for example vm.started.
Verb *string `json:"verb,omitempty"`
}
PublicActivityDto One recorded activity on the account or on one of its resources.
type PublicActivityStatus ¶
type PublicActivityStatus string
PublicActivityStatus defines model for PublicActivityStatus.
const ( CANCELLED PublicActivityStatus = "CANCELLED" FAILED PublicActivityStatus = "FAILED" INPROGRESS PublicActivityStatus = "IN_PROGRESS" SUCCEEDED PublicActivityStatus = "SUCCEEDED" )
Defines values for PublicActivityStatus.
func (PublicActivityStatus) Valid ¶
func (e PublicActivityStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicActivityStatus enum.
type PublicAddDiskRequest ¶
type PublicAddDiskRequest struct {
// SizeGib Size in GiB, at least 1. A size above the disk ceiling is refused with a 400.
SizeGib *int32 `json:"sizeGib,omitempty"`
}
PublicAddDiskRequest A data disk to attach.
type PublicAddPrivateIpRequest ¶
type PublicAddPrivateIpRequest struct {
// NicId The interface's identifier, from GET /v1/vms/{id}/network-interfaces.
NicId string `json:"nicId"`
}
PublicAddPrivateIpRequest The network interface to lease an additional private address to.
type PublicAttachNicRequest ¶
type PublicAttachNicRequest struct {
// VpcResourceId The VPC's identifier, as /v1/vpcs uses it.
VpcResourceId string `json:"vpcResourceId"`
}
PublicAttachNicRequest The VPC to attach a new network interface in.
type PublicBackupDto ¶
type PublicBackupDto struct {
// Description The description given to this backup, at most 120 characters; null if none.
Description *string `json:"description,omitempty"`
// DurationSeconds How long the backup run took, in seconds; null if not measured.
DurationSeconds *int32 `json:"durationSeconds,omitempty"`
// Origin manual, automated, or unknown.
Origin *string `json:"origin,omitempty"`
// Protected True if this backup is protected from rotation.
Protected *bool `json:"protected,omitempty"`
// SizeBytes The archived disk's logical size, in bytes.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
// StartedAt When the backup started — the point a restore returns the guest to. Identifies the backup within its VM.
//
// Examples: 2022-03-10T16:15:50Z
StartedAt *time.Time `json:"startedAt,omitempty"`
}
PublicBackupDto One backup of a virtual machine.
type PublicBackupPolicyDto ¶
type PublicBackupPolicyDto struct {
// AssignedSlot Minute-of-day this VM's backup is scheduled to start, or null before one has been assigned.
AssignedSlot *int32 `json:"assignedSlot,omitempty"`
// CadenceDay The day component; null for daily.
CadenceDay *int32 `json:"cadenceDay,omitempty"`
// CadenceKind daily, weekly, or monthly.
CadenceKind *string `json:"cadenceKind,omitempty"`
// CreatedAt When the policy was first set.
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// LastFiredSlot The slot this policy last actually fired for, or null if never.
//
// Examples: 2022-03-10T16:15:50Z
LastFiredSlot *time.Time `json:"lastFiredSlot,omitempty"`
// ModifiedAt When the policy was last changed.
//
// Examples: 2022-03-10T16:15:50Z
ModifiedAt *time.Time `json:"modifiedAt,omitempty"`
// Paused True while the policy is configured but not firing.
Paused *bool `json:"paused,omitempty"`
// PlanDisplayName The plan's customer-facing name, or null.
PlanDisplayName *string `json:"planDisplayName,omitempty"`
// PlanId The catalogue plan these values were copied from, or null for a custom set.
PlanId *string `json:"planId,omitempty"`
// Retention How many backups to keep, per tier.
Retention *Retention `json:"retention,omitempty"`
// WindowPreference overnight, morning, afternoon, or evening.
WindowPreference *string `json:"windowPreference,omitempty"`
}
PublicBackupPolicyDto A virtual machine's backup policy. Absence is expressed by a 404, never by this record with empty fields.
type PublicBackupPolicyRequest ¶
type PublicBackupPolicyRequest struct {
// CadenceDay The day component: an ISO day-of-week (1-7) for weekly, 1-28 or -1 (last day of the month) for monthly, absent for daily.
CadenceDay *int32 `json:"cadenceDay,omitempty"`
// CadenceKind `daily`, `weekly` or `monthly`.
CadenceKind *string `json:"cadenceKind,omitempty"`
// Paused Start the policy paused.
Paused *bool `json:"paused,omitempty"`
// PlanId Catalogue plan to copy. Null for a custom set.
PlanId *string `json:"planId,omitempty"`
// Retention How many backups to keep at each granularity.
Retention *Retention1 `json:"retention,omitempty"`
// WindowPreference `overnight`, `morning`, `afternoon` or `evening`.
WindowPreference *string `json:"windowPreference,omitempty"`
}
PublicBackupPolicyRequest A VM's backup policy. A planId, or a cadenceKind with a retention — not both.
type PublicBackupRotationPreviewDto ¶
type PublicBackupRotationPreviewDto struct {
// Deleted The backups rotation would delete.
Deleted *[]Deleted `json:"deleted,omitempty"`
// ExcludedNotAutomated Backups skipped because they were not taken by this VM's policy.
ExcludedNotAutomated *int32 `json:"excludedNotAutomated,omitempty"`
// ExcludedProtected Backups skipped because they are protected.
ExcludedProtected *int32 `json:"excludedProtected,omitempty"`
// ExcludedUnusable Backups skipped because they could not be read.
ExcludedUnusable *int32 `json:"excludedUnusable,omitempty"`
// KeptCount How many backups would remain.
KeptCount *int32 `json:"keptCount,omitempty"`
// ReclaimedBytes Bytes the deletions would reclaim.
ReclaimedBytes *int64 `json:"reclaimedBytes,omitempty"`
}
PublicBackupRotationPreviewDto What a retention set would delete if saved now.
type PublicBackupTriggerRequest ¶
type PublicBackupTriggerRequest struct {
// Compress Compression: `zstd`, `lzo`, `gzip` or `none`.
Compress *string `json:"compress,omitempty"`
// Mode What the guest does while it is backed up: `snapshot` (no downtime), `suspend`, or `stop`.
Mode *string `json:"mode,omitempty"`
// Notes The backup's description: at most 120 characters, one line. Returned as `description` by the backup list.
Notes *string `json:"notes,omitempty"`
}
PublicBackupTriggerRequest An ad-hoc backup. Everything is optional; the defaults are the backend's.
type PublicBackupWindowDto ¶
type PublicBackupWindowDto struct {
// LengthMinutes How long the window runs, in minutes. May run past midnight.
LengthMinutes *int32 `json:"lengthMinutes,omitempty"`
// Preference overnight, morning, afternoon, or evening.
Preference *string `json:"preference,omitempty"`
// StartMinuteOfDayUtc Minute of the day, UTC, at which the window begins.
StartMinuteOfDayUtc *int32 `json:"startMinuteOfDayUtc,omitempty"`
}
PublicBackupWindowDto Where one backup window sits on the clock. Boundaries are operator-editable, so read them here rather than hardcoding them.
type PublicBalanceDto ¶
type PublicBalanceDto struct {
// ComputedAt When this figure was computed.
//
// Examples: 2022-03-10T16:15:50Z
ComputedAt *time.Time `json:"computedAt,omitempty"`
// Currency ISO 4217 currency code. CloudAfrica bills in ZAR only.
Currency *string `json:"currency,omitempty"`
// Current Current (not yet overdue) balance.
//
// Examples: 10.00
Current *string `json:"current,omitempty"`
// Overdue Overdue balance.
//
// Examples: 5.00
Overdue *string `json:"overdue,omitempty"`
// Total Total outstanding balance (current + overdue).
//
// Examples: 15.00
Total *string `json:"total,omitempty"`
}
PublicBalanceDto The account's outstanding balance.
type PublicBillingDetailsDto ¶
type PublicBillingDetailsDto struct {
// BillingEmail Billing email address.
BillingEmail *string `json:"billingEmail,omitempty"`
// CompanyNumber Company registration number.
CompanyNumber *string `json:"companyNumber,omitempty"`
// CountryCode ISO-3166 alpha-2 country code; absent when the account has none recorded.
CountryCode *string `json:"countryCode,omitempty"`
// Editable Whether the details can be edited; true for every live account.
Editable *bool `json:"editable,omitempty"`
// LegalName Registered legal name; not editable here.
LegalName *string `json:"legalName,omitempty"`
// PostalAddress1 Postal address line 1.
PostalAddress1 *string `json:"postalAddress1,omitempty"`
// PostalAddress2 Postal address line 2.
PostalAddress2 *string `json:"postalAddress2,omitempty"`
// PostalAddress3 Postal address line 3.
PostalAddress3 *string `json:"postalAddress3,omitempty"`
// PostalAddress4 Postal address line 4.
PostalAddress4 *string `json:"postalAddress4,omitempty"`
// PostalAddress5 Postal address line 5.
PostalAddress5 *string `json:"postalAddress5,omitempty"`
// VatNumber VAT registration number.
VatNumber *string `json:"vatNumber,omitempty"`
}
PublicBillingDetailsDto An account's billing details.
type PublicBillingDetailsRequest ¶
type PublicBillingDetailsRequest struct {
// BillingEmail Billing email address. Null or absent leaves it unchanged.
BillingEmail *string `json:"billingEmail,omitempty"`
// CompanyNumber Company registration number. Null or absent leaves it unchanged.
CompanyNumber *string `json:"companyNumber,omitempty"`
// CountryCode ISO-3166 alpha-2 country code, e.g. ZA. Absent leaves it unchanged; it cannot be cleared.
CountryCode *string `json:"countryCode,omitempty"`
// PostalAddress1 Postal address line 1. Null or absent leaves it unchanged.
PostalAddress1 *string `json:"postalAddress1,omitempty"`
// PostalAddress2 Postal address line 2. Null or absent leaves it unchanged.
PostalAddress2 *string `json:"postalAddress2,omitempty"`
// PostalAddress3 Postal address line 3. Null or absent leaves it unchanged.
PostalAddress3 *string `json:"postalAddress3,omitempty"`
// PostalAddress4 Postal address line 4. Null or absent leaves it unchanged.
PostalAddress4 *string `json:"postalAddress4,omitempty"`
// PostalAddress5 Postal address line 5. Null or absent leaves it unchanged.
PostalAddress5 *string `json:"postalAddress5,omitempty"`
// VatNumber VAT registration number. Null or absent leaves it unchanged.
VatNumber *string `json:"vatNumber,omitempty"`
}
PublicBillingDetailsRequest An edit to an account's billing details. Every field is optional.
type PublicBucketCorsDto ¶ added in v0.3.0
type PublicBucketCorsDto struct {
// Rules The rules; send them back as basedOn when you replace them.
Rules *[]PublicBucketCorsRuleDto `json:"rules,omitempty"`
}
PublicBucketCorsDto A bucket's CORS rules.
type PublicBucketCorsRequest ¶ added in v0.3.0
type PublicBucketCorsRequest struct {
// BasedOn The rules GET /cors returned. Omitted means none were seen, which is a 409 on a bucket that has rules.
BasedOn *[]PublicBucketCorsRuleDto `json:"basedOn,omitempty"`
// Rules The new rules; an empty list removes every rule.
Rules []PublicBucketCorsRuleDto `json:"rules"`
}
PublicBucketCorsRequest A bucket's new CORS rules, replacing all of the current ones.
type PublicBucketCorsRuleDto ¶ added in v0.3.0
type PublicBucketCorsRuleDto struct {
// AllowedHeaders Request headers allowed.
AllowedHeaders *[]string `json:"allowedHeaders,omitempty"`
// AllowedMethods HTTP methods allowed: GET, PUT, POST, DELETE, HEAD.
AllowedMethods *[]string `json:"allowedMethods,omitempty"`
// AllowedOrigins Origins allowed, such as https://example.com, or *.
AllowedOrigins *[]string `json:"allowedOrigins,omitempty"`
// ExposeHeaders Response headers a browser may read.
ExposeHeaders *[]string `json:"exposeHeaders,omitempty"`
// MaxAgeSeconds How long a browser may cache the preflight answer, in seconds, or null.
MaxAgeSeconds *int32 `json:"maxAgeSeconds,omitempty"`
}
PublicBucketCorsRuleDto One CORS rule: which browser origins may call the bucket, and how.
type PublicBucketDto ¶
type PublicBucketDto struct {
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DisplayName Customer-chosen display name.
DisplayName *string `json:"displayName,omitempty"`
// Id Stable identifier (the bucket's public id).
Id *string `json:"id,omitempty"`
// LastModified When the bucket's contents last changed.
//
// Examples: 2022-03-10T16:15:50Z
LastModified *time.Time `json:"lastModified,omitempty"`
// Name The bucket's real name. Immutable.
Name *string `json:"name,omitempty"`
// ObjectCount Number of objects stored.
ObjectCount *int64 `json:"objectCount,omitempty"`
// PlacementRule Storage placement rule/pool.
PlacementRule *string `json:"placementRule,omitempty"`
// QuotaBytes The bucket's quota usage — the quantity the storage SKU prices, in bytes.
QuotaBytes *int64 `json:"quotaBytes,omitempty"`
// SizeActualBytes Size occupied on disk after erasure coding and compression, in bytes.
SizeActualBytes *int64 `json:"sizeActualBytes,omitempty"`
// Status provisioning / active / suspended / terminated / unknown.
Status *string `json:"status,omitempty"`
}
PublicBucketDto An object storage bucket in the customer's account.
type PublicBucketKeyCreatedDto ¶
type PublicBucketKeyCreatedDto struct {
// Key The key, in the shape the key list returns.
Key *PublicBucketKeyDto `json:"key,omitempty"`
// SecretKey The secret key. Retain it; the list never carries it again. Absent when the response is a replay of an earlier create.
SecretKey *string `json:"secretKey,omitempty"`
}
PublicBucketKeyCreatedDto A newly created access key, with its secret shown once.
type PublicBucketKeyDto ¶
type PublicBucketKeyDto struct {
// AccessKey The access key id (not the secret).
AccessKey *string `json:"accessKey,omitempty"`
// AccessType read or full.
AccessType *string `json:"accessType,omitempty"`
// BucketName The bucket this key is attached to, or null for an account-level key.
BucketName *string `json:"bucketName,omitempty"`
// Id Stable identifier (the key's public id).
Id *string `json:"id,omitempty"`
// Master True for the account's master key.
Master *bool `json:"master,omitempty"`
// Name Customer-chosen key name.
Name *string `json:"name,omitempty"`
}
PublicBucketKeyDto An object storage access key in the customer's account.
type PublicBucketLifecycleDto ¶ added in v0.3.0
type PublicBucketLifecycleDto struct {
// Rules The rules; send them back as basedOn when you replace them.
Rules *[]PublicBucketLifecycleRuleDto `json:"rules,omitempty"`
// Unsupported True when the bucket also holds rules this API cannot represent; replacing the rules then needs replaceUnsupported.
Unsupported *bool `json:"unsupported,omitempty"`
}
PublicBucketLifecycleDto A bucket's lifecycle rules.
type PublicBucketLifecycleRequest ¶ added in v0.3.0
type PublicBucketLifecycleRequest struct {
// BasedOn The rules GET /lifecycle returned. Omitted means none were seen, which is a 409 on a bucket that has rules. Not checked when replaceUnsupported is true.
BasedOn *[]PublicBucketLifecycleRuleDto `json:"basedOn,omitempty"`
// ReplaceUnsupported True to replace whatever is stored, rules this API cannot represent included, without the basedOn check; always needs step-up.
ReplaceUnsupported *bool `json:"replaceUnsupported,omitempty"`
// Rules The new rules; an empty list removes every rule.
Rules []PublicBucketLifecycleRuleDto `json:"rules"`
}
PublicBucketLifecycleRequest A bucket's new lifecycle rules, replacing all of the current ones.
type PublicBucketLifecycleRuleDto ¶ added in v0.3.0
type PublicBucketLifecycleRuleDto struct {
// AbortIncompleteUploadDays Days after which incomplete multipart uploads are aborted, or null.
AbortIncompleteUploadDays *int32 `json:"abortIncompleteUploadDays,omitempty"`
// Enabled True when the rule is in force.
Enabled *bool `json:"enabled,omitempty"`
// ExpirationDays Days after which current versions expire, or null.
ExpirationDays *int32 `json:"expirationDays,omitempty"`
// ExpireDeleteMarker True to remove delete markers that no longer hide any version.
ExpireDeleteMarker *bool `json:"expireDeleteMarker,omitempty"`
// NoncurrentExpirationDays Days after which noncurrent versions are removed, or null.
NoncurrentExpirationDays *int32 `json:"noncurrentExpirationDays,omitempty"`
// Prefix The key prefix the rule applies to; empty or null for the whole bucket.
Prefix *string `json:"prefix,omitempty"`
}
PublicBucketLifecycleRuleDto One lifecycle rule: what expires under a prefix, and when.
type PublicBucketObjectDto ¶ added in v0.3.0
type PublicBucketObjectDto struct {
// ContentType The content type, when the listing carries one.
ContentType *string `json:"contentType,omitempty"`
// Key The object's key, its full name inside the bucket.
Key *string `json:"key,omitempty"`
// LastModified When the current version was written.
//
// Examples: 2022-03-10T16:15:50Z
LastModified *time.Time `json:"lastModified,omitempty"`
// SizeBytes Size in bytes.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
}
PublicBucketObjectDto One object in a bucket, as the listing returns it.
type PublicBucketObjectMetadataDto ¶ added in v0.3.0
type PublicBucketObjectMetadataDto struct {
// CacheControl Cache-Control.
CacheControl *string `json:"cacheControl,omitempty"`
// ContentDisposition Content-Disposition.
ContentDisposition *string `json:"contentDisposition,omitempty"`
// ContentEncoding Content-Encoding.
ContentEncoding *string `json:"contentEncoding,omitempty"`
// ContentLanguage Content-Language.
ContentLanguage *string `json:"contentLanguage,omitempty"`
// ContentType Content-Type.
ContentType *string `json:"contentType,omitempty"`
// Etag The entity tag.
Etag *string `json:"etag,omitempty"`
// Expires Expires.
//
// Examples: 2022-03-10T16:15:50Z
Expires *time.Time `json:"expires,omitempty"`
// Key The object's key.
Key *string `json:"key,omitempty"`
// LastModified When the current version was written.
//
// Examples: 2022-03-10T16:15:50Z
LastModified *time.Time `json:"lastModified,omitempty"`
// LegalHold True when a legal hold is set.
LegalHold *bool `json:"legalHold,omitempty"`
// RetainUntil When object-lock retention ends, or null.
//
// Examples: 2022-03-10T16:15:50Z
RetainUntil *time.Time `json:"retainUntil,omitempty"`
// RetentionMode Object-lock retention mode, or null.
RetentionMode *string `json:"retentionMode,omitempty"`
// SizeBytes Size in bytes.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
// Tags Object tags.
Tags *map[string]string `json:"tags,omitempty"`
// UserMetadata User metadata (x-amz-meta-*), without the prefix.
UserMetadata *map[string]string `json:"userMetadata,omitempty"`
// VersionId The current version's id; null on a bucket that was never versioned.
VersionId *string `json:"versionId,omitempty"`
}
PublicBucketObjectMetadataDto The metadata, tags and retention of an object's current version.
type PublicBucketObjectVersionDto ¶ added in v0.3.0
type PublicBucketObjectVersionDto struct {
// DeleteMarker True when this version is a delete marker: the object reads as deleted.
DeleteMarker *bool `json:"deleteMarker,omitempty"`
// Key The object's key.
Key *string `json:"key,omitempty"`
// LastModified When this version was written.
//
// Examples: 2022-03-10T16:15:50Z
LastModified *time.Time `json:"lastModified,omitempty"`
// Latest True for the object's current version.
Latest *bool `json:"latest,omitempty"`
// SizeBytes Size in bytes; 0 for a delete marker.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
// VersionId The version id; null on a bucket that was never versioned.
VersionId *string `json:"versionId,omitempty"`
}
PublicBucketObjectVersionDto One version of an object; a delete marker is a version too.
type PublicBucketProtectionDto ¶ added in v0.3.0
type PublicBucketProtectionDto struct {
// DefaultEncryption The default server-side encryption algorithm, or NONE when none is set.
DefaultEncryption *string `json:"defaultEncryption,omitempty"`
// ObjectLock True when object lock is on; it can only be chosen when the bucket is ordered.
ObjectLock *bool `json:"objectLock,omitempty"`
}
PublicBucketProtectionDto A bucket's object lock and default encryption.
type PublicBucketUsageDto ¶
type PublicBucketUsageDto struct {
// BucketName The bucket's real name.
BucketName *string `json:"bucketName,omitempty"`
// BytesDownloaded Traffic out of the bucket over the window, in bytes.
BytesDownloaded *int64 `json:"bytesDownloaded,omitempty"`
// BytesUploaded Traffic into the bucket over the window, in bytes.
BytesUploaded *int64 `json:"bytesUploaded,omitempty"`
// ObjectCount Number of objects stored.
ObjectCount *int64 `json:"objectCount,omitempty"`
// Operations S3 requests over the window, successful and failed alike.
Operations *int64 `json:"operations,omitempty"`
// SizeActualBytes Size occupied on disk after erasure coding and compression.
SizeActualBytes *int64 `json:"sizeActualBytes,omitempty"`
// SizeBytes Logical size held, in bytes.
SizeBytes *int64 `json:"sizeBytes,omitempty"`
// WindowHours The window the traffic figures below cover, in hours.
WindowHours *int32 `json:"windowHours,omitempty"`
}
PublicBucketUsageDto What one bucket is holding, and what has moved in and out of it.
type PublicBucketVersioningDto ¶
type PublicBucketVersioningDto struct {
// Mode off, enabled, suspended, or unknown when Croit cannot determine it.
Mode *string `json:"mode,omitempty"`
}
PublicBucketVersioningDto A bucket's current versioning state.
type PublicBucketVersioningRequest ¶
type PublicBucketVersioningRequest struct {
// Mode The new versioning state.
Mode PublicBucketVersioningRequestMode `json:"mode"`
}
PublicBucketVersioningRequest A versioning change for an existing bucket.
type PublicBucketVersioningRequestMode ¶
type PublicBucketVersioningRequestMode string
PublicBucketVersioningRequestMode The new versioning state.
const ( PublicBucketVersioningRequestModeEnabled PublicBucketVersioningRequestMode = "enabled" PublicBucketVersioningRequestModeOff PublicBucketVersioningRequestMode = "off" PublicBucketVersioningRequestModeSuspended PublicBucketVersioningRequestMode = "suspended" )
Defines values for PublicBucketVersioningRequestMode.
func (PublicBucketVersioningRequestMode) Valid ¶
func (e PublicBucketVersioningRequestMode) Valid() bool
Valid indicates whether the value is a known member of the PublicBucketVersioningRequestMode enum.
type PublicCardDto ¶
type PublicCardDto struct {
// Brand Card brand, e.g. "Visa".
Brand *string `json:"brand,omitempty"`
// ExpiryMonth Expiry month (1-12); null if not yet known.
ExpiryMonth *int32 `json:"expiryMonth,omitempty"`
// ExpiryYear Expiry year (4-digit); null if not yet known.
ExpiryYear *int32 `json:"expiryYear,omitempty"`
// Id CloudAfrica's card id, as the card routes take — never the payment provider's token.
Id *string `json:"id,omitempty"`
// IsDefault This is the account's default card.
IsDefault *bool `json:"isDefault,omitempty"`
// Last4 Last 4 digits of the card number.
Last4 *string `json:"last4,omitempty"`
// Status "active" or "invalid".
Status *string `json:"status,omitempty"`
}
PublicCardDto A saved credit card.
type PublicCardLinkDto ¶
type PublicCardLinkDto struct {
// Card The linked card; null until the link reaches "linked".
Card *PublicCardDto `json:"card,omitempty"`
// Status "pending", "linked", "declined" or "failed".
Status *string `json:"status,omitempty"`
}
PublicCardLinkDto The state of a card link.
type PublicCheckoutDto ¶
type PublicCheckoutDto struct {
// CheckoutId The provider's checkout id; pass it to POST /v1/cards/links/{checkoutId}.
CheckoutId *string `json:"checkoutId,omitempty"`
// EntityId Capture-channel id the payment provider's form is mounted with.
EntityId *string `json:"entityId,omitempty"`
}
PublicCheckoutDto A started card-capture checkout.
type PublicClusterTokenDto ¶
type PublicClusterTokenDto struct {
ApiVersion *string `json:"apiVersion,omitempty"`
Kind *string `json:"kind,omitempty"`
Status *Status `json:"status,omitempty"`
}
PublicClusterTokenDto A 15-minute Kubernetes cluster token in the shape kubectl's exec plugin reads.
type PublicCreateBucketKeyRequest ¶
type PublicCreateBucketKeyRequest struct {
// AccessType read (objects readable) or full (objects readable and writable).
AccessType PublicCreateBucketKeyRequestAccessType `json:"accessType"`
// BucketResourceId The id of the bucket to attach the key to — the `id` from GET /v1/buckets, not its name. Omit for an account-level key.
BucketResourceId *string `json:"bucketResourceId,omitempty"`
// Name Key name: 1-60 characters of letters, digits, _ and -.
Name string `json:"name"`
}
PublicCreateBucketKeyRequest A new object storage access key.
type PublicCreateBucketKeyRequestAccessType ¶
type PublicCreateBucketKeyRequestAccessType string
PublicCreateBucketKeyRequestAccessType read (objects readable) or full (objects readable and writable).
const ( Full PublicCreateBucketKeyRequestAccessType = "full" Read PublicCreateBucketKeyRequestAccessType = "read" )
Defines values for PublicCreateBucketKeyRequestAccessType.
func (PublicCreateBucketKeyRequestAccessType) Valid ¶
func (e PublicCreateBucketKeyRequestAccessType) Valid() bool
Valid indicates whether the value is a known member of the PublicCreateBucketKeyRequestAccessType enum.
type PublicCreateSshKeyRequest ¶
type PublicCreateSshKeyRequest struct {
// Name Display name for the key.
Name string `json:"name"`
// PublicKey The public key body, e.g. `ssh-ed25519 AAAA…`.
PublicKey string `json:"publicKey"`
}
PublicCreateSshKeyRequest A new SSH public key for the token's own person.
type PublicCreateVmRequest ¶
type PublicCreateVmRequest struct {
// BootDiskGib Boot disk size in GiB.
BootDiskGib int64 `json:"bootDiskGib"`
// DatacenterSlug A datacenter slug from GET /v1/placement-groups/datacenters.
DatacenterSlug string `json:"datacenterSlug"`
// ExtraDisksGib Optional extra data disks, each in GiB (max 8).
ExtraDisksGib *[]int64 `json:"extraDisksGib,omitempty"`
// FirewallRules Firewall rules to install on the VM (max 64).
FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"`
// Name DNS-style name, unique in the account.
Name string `json:"name"`
// OsImageId An osImageId from the image catalogue.
OsImageId string `json:"osImageId"`
// PlacementGroupId A placement group the VM should join, if any.
PlacementGroupId *string `json:"placementGroupId,omitempty"`
// PublicIp Attach a public IP to the VM.
PublicIp *bool `json:"publicIp,omitempty"`
// RamMib RAM in MiB. Must be a multiple of 2048 (2 GiB). With vcpu, must cover at least one package on sale, else 400. Also 400 above the largest memory any package on sale has.
RamMib int64 `json:"ramMib"`
// ReservedPublicIpId Optional. The id of one of the account's unattached Reserved IPs, from GET /v1/vpcs/{id}/reserved-ips, to build the VM onto instead of drawing a public address from the pool. Implies a public IP; publicIp need not be set. 404 when the account does not hold it, 409 when a VM already has it.
ReservedPublicIpId *string `json:"reservedPublicIpId,omitempty"`
// SshKeyIds SSH key ids to install (max 32).
SshKeyIds *[]string `json:"sshKeyIds,omitempty"`
// TermsAccepted Acceptance of the terms of use.
TermsAccepted bool `json:"termsAccepted"`
// Vcpu vCPU count. Must be even. With ramMib, must cover at least one package on sale, else 400. Also 400 above the largest vCPU count any package on sale has.
Vcpu int32 `json:"vcpu"`
// VpcResourceId The VPC the VM joins.
VpcResourceId string `json:"vpcResourceId"`
}
PublicCreateVmRequest A new virtual machine to provision.
type PublicDeleteBucketRequest ¶
type PublicDeleteBucketRequest struct {
// ConfirmBucketName The bucket's name, spelled exactly as GET /v1/buckets returns it.
ConfirmBucketName string `json:"confirmBucketName"`
}
PublicDeleteBucketRequest Confirmation to delete a bucket and everything in it.
type PublicDeletedVmBackupRetentionDto ¶
type PublicDeletedVmBackupRetentionDto struct {
// RetentionDays The window in whole days; 0 removes the newest backup on the next sweep.
RetentionDays *int32 `json:"retentionDays,omitempty"`
}
PublicDeletedVmBackupRetentionDto How long a deleted virtual machine's newest backup is kept.
type PublicElevationRequestBody ¶
type PublicElevationRequestBody struct {
// Label The client's own name for itself, shown on the confirm page.
Label *string `json:"label,omitempty"`
}
PublicElevationRequestBody Optional description of the client being paired.
type PublicElevationRequestDto ¶
type PublicElevationRequestDto struct {
// Code The code the confirm page shows; compare it with this one. Absent when already paired.
Code *string `json:"code,omitempty"`
// ExpiresAt When the request lapses. Absent when already paired or when a request is already pending.
//
// Examples: 2022-03-10T16:15:50Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// Paired True when this client is already paired; there is nothing to confirm.
Paired *bool `json:"paired,omitempty"`
// Url The page the token's owner opens to confirm. Absent when already paired.
Url *string `json:"url,omitempty"`
}
PublicElevationRequestDto Where to confirm a pairing, or that the client is already paired.
type PublicFirewallDescriptionRequest ¶
type PublicFirewallDescriptionRequest struct {
// Description At most 255 characters; null or blank clears it.
Description *string `json:"description,omitempty"`
}
PublicFirewallDescriptionRequest A new description for a firewall rule.
type PublicFirewallRuleDto ¶
type PublicFirewallRuleDto struct {
// Action accept, drop or reject.
Action *PublicFirewallRuleDtoAction `json:"action,omitempty"`
// Description Description / note, if set.
Description *string `json:"description,omitempty"`
// Direction in or out.
Direction *PublicFirewallRuleDtoDirection `json:"direction,omitempty"`
// FromPort First port in range; null for a rule with no port restriction.
FromPort *int32 `json:"fromPort,omitempty"`
// Id Stable identifier.
Id *string `json:"id,omitempty"`
// IsDisabled Whether this rule is currently disabled.
IsDisabled *bool `json:"isDisabled,omitempty"`
// IsSystem Whether this rule is platform-managed and not the customer's to change.
IsSystem *bool `json:"isSystem,omitempty"`
// Protocol Protocol.
Protocol *PublicFirewallRuleDtoProtocol `json:"protocol,omitempty"`
// PublicIpId The public IP this rule is scoped to; null when it is not IP-scoped.
PublicIpId *string `json:"publicIpId,omitempty"`
// Source Source CIDR or address this rule matches.
Source *string `json:"source,omitempty"`
// Status Lifecycle status.
Status *PublicFirewallRuleDtoStatus `json:"status,omitempty"`
// ToPort Last port in range; null for a rule with no port restriction.
ToPort *int32 `json:"toPort,omitempty"`
}
PublicFirewallRuleDto A firewall rule.
type PublicFirewallRuleDtoAction ¶
type PublicFirewallRuleDtoAction string
PublicFirewallRuleDtoAction accept, drop or reject.
const ( Accept PublicFirewallRuleDtoAction = "accept" Drop PublicFirewallRuleDtoAction = "drop" Reject PublicFirewallRuleDtoAction = "reject" )
Defines values for PublicFirewallRuleDtoAction.
func (PublicFirewallRuleDtoAction) Valid ¶
func (e PublicFirewallRuleDtoAction) Valid() bool
Valid indicates whether the value is a known member of the PublicFirewallRuleDtoAction enum.
type PublicFirewallRuleDtoDirection ¶
type PublicFirewallRuleDtoDirection string
PublicFirewallRuleDtoDirection in or out.
const ( In PublicFirewallRuleDtoDirection = "in" Out PublicFirewallRuleDtoDirection = "out" )
Defines values for PublicFirewallRuleDtoDirection.
func (PublicFirewallRuleDtoDirection) Valid ¶
func (e PublicFirewallRuleDtoDirection) Valid() bool
Valid indicates whether the value is a known member of the PublicFirewallRuleDtoDirection enum.
type PublicFirewallRuleDtoProtocol ¶
type PublicFirewallRuleDtoProtocol string
PublicFirewallRuleDtoProtocol Protocol.
const ( Icmp PublicFirewallRuleDtoProtocol = "icmp" Tcp PublicFirewallRuleDtoProtocol = "tcp" Udp PublicFirewallRuleDtoProtocol = "udp" )
Defines values for PublicFirewallRuleDtoProtocol.
func (PublicFirewallRuleDtoProtocol) Valid ¶
func (e PublicFirewallRuleDtoProtocol) Valid() bool
Valid indicates whether the value is a known member of the PublicFirewallRuleDtoProtocol enum.
type PublicFirewallRuleDtoStatus ¶
type PublicFirewallRuleDtoStatus string
PublicFirewallRuleDtoStatus Lifecycle status.
const ( Active PublicFirewallRuleDtoStatus = "active" Adding PublicFirewallRuleDtoStatus = "adding" Deleting PublicFirewallRuleDtoStatus = "deleting" )
Defines values for PublicFirewallRuleDtoStatus.
func (PublicFirewallRuleDtoStatus) Valid ¶
func (e PublicFirewallRuleDtoStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicFirewallRuleDtoStatus enum.
type PublicFirewallRuleRequest ¶
type PublicFirewallRuleRequest struct {
// Description Description / note, if set.
Description *string `json:"description,omitempty"`
// FromPort First port in the range, if any.
FromPort *int32 `json:"fromPort,omitempty"`
// Protocol tcp, udp or icmp.
Protocol string `json:"protocol"`
// Source An IPv4 address, a CIDR network, or "any".
Source string `json:"source"`
// ToPort Last port in the range, if any.
ToPort *int32 `json:"toPort,omitempty"`
}
PublicFirewallRuleRequest A firewall rule to add or update.
type PublicFirewallRulesRemoveRequest ¶
type PublicFirewallRulesRemoveRequest struct {
// RuleIds Ids of the rules to remove. Ids that match no rule on this server or VIP are ignored.
RuleIds []string `json:"ruleIds"`
}
PublicFirewallRulesRemoveRequest The firewall rules to remove in one operation.
type PublicInvoiceLineDto ¶
type PublicInvoiceLineDto struct {
// Amount Exclusive-of-VAT line total.
//
// Examples: 60.05
Amount *string `json:"amount,omitempty"`
// Description Human-readable description of the charge.
Description *string `json:"description,omitempty"`
// LineNumber Line number within the invoice.
LineNumber *int32 `json:"lineNumber,omitempty"`
// Quantity Quantity billed, unrounded.
Quantity *float32 `json:"quantity,omitempty"`
// ResourceName The resource the charge relates to, if any.
ResourceName *string `json:"resourceName,omitempty"`
// Service The billed service, e.g. "compute".
Service *string `json:"service,omitempty"`
// UnitPrice Unit price, unrounded.
//
// Examples: 0.0834
UnitPrice *string `json:"unitPrice,omitempty"`
}
PublicInvoiceLineDto One line item of an invoice.
type PublicIpAddressDto ¶
type PublicIpAddressDto struct {
// Address The address itself.
Address *string `json:"address,omitempty"`
// Kind public or private.
Kind *string `json:"kind,omitempty"`
// OwnerKind What this address hangs off: vm or vip.
OwnerKind *string `json:"ownerKind,omitempty"`
// OwnerName The owner's display name.
OwnerName *string `json:"ownerName,omitempty"`
// Primary Whether this is the owner's primary address of its kind.
Primary *bool `json:"primary,omitempty"`
// ServedBy The VMs declared to serve this address; empty if none.
ServedBy *[]Member `json:"servedBy,omitempty"`
// VipId The VIP this address belongs to; null when it is not a VIP's. Present on both of a VIP's rows (private and public), so separate them by kind.
VipId *string `json:"vipId,omitempty"`
// VpcId The VPC this address sits in, as the id /v1/vpcs uses; null for a public address.
VpcId *string `json:"vpcId,omitempty"`
// VpcName The VPC this address sits in; null for a public address.
VpcName *string `json:"vpcName,omitempty"`
}
PublicIpAddressDto One IP address the account holds — attached or not, public and private alike.
type PublicKubernetesClusterCreateRequest ¶
type PublicKubernetesClusterCreateRequest struct {
// Datacenter A datacenter slug from GET /v1/placement-groups/datacenters.
Datacenter string `json:"datacenter"`
// Name The cluster's name.
Name string `json:"name"`
// VpcId The id of the VPC the workers join, from GET /v1/vpcs.
VpcId string `json:"vpcId"`
// WorkerCount How many workers to start with.
WorkerCount int32 `json:"workerCount"`
// WorkerDataDiskGib Data disk per worker, in GiB; the platform's default when absent.
WorkerDataDiskGib *int32 `json:"workerDataDiskGib,omitempty"`
// WorkerRamGib RAM per worker, in GiB.
WorkerRamGib int32 `json:"workerRamGib"`
// WorkerVcpu Virtual CPUs per worker.
WorkerVcpu int32 `json:"workerVcpu"`
}
PublicKubernetesClusterCreateRequest A new Kubernetes cluster.
type PublicKubernetesClusterDetailDto ¶
type PublicKubernetesClusterDetailDto struct {
// Cluster The cluster.
Cluster *PublicKubernetesClusterDto `json:"cluster,omitempty"`
// Nodes The cluster's live workers.
Nodes *[]PublicKubernetesNodeDto `json:"nodes,omitempty"`
// PublicAddresses Public IP addresses held by the cluster's load balancers and already answering.
PublicAddresses *[]string `json:"publicAddresses,omitempty"`
PublicAddressesUnavailable *bool `json:"publicAddressesUnavailable,omitempty"`
}
PublicKubernetesClusterDetailDto A managed Kubernetes cluster and its workers.
type PublicKubernetesClusterDto ¶
type PublicKubernetesClusterDto struct {
// ActiveChange The change running on the cluster, when state is SCALING.
ActiveChange *string `json:"activeChange,omitempty"`
// ApiServerEndpoint The API server address; absent until the cluster has one.
ApiServerEndpoint *string `json:"apiServerEndpoint,omitempty"`
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DesiredWorkers Workers the cluster is set to have.
DesiredWorkers *int32 `json:"desiredWorkers,omitempty"`
// Id Stable identifier.
Id *string `json:"id,omitempty"`
// KubernetesVersion The Kubernetes version; absent while it cannot be read.
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
// Name Display name.
Name *string `json:"name,omitempty"`
// State The cluster's own state; absent while it cannot be read.
State *string `json:"state,omitempty"`
// Status Lifecycle status of the cluster's resource.
Status *string `json:"status,omitempty"`
// Upgrade Versions and worker upgrade status; absent while they cannot be read.
Upgrade *PublicKubernetesClusterUpgradeDto `json:"upgrade,omitempty"`
// WorkerBootDiskGib Boot disk per worker, in GiB.
WorkerBootDiskGib *int32 `json:"workerBootDiskGib,omitempty"`
// WorkerDataDiskGib Data disk per worker, in GiB.
WorkerDataDiskGib *int32 `json:"workerDataDiskGib,omitempty"`
// WorkerRamGib RAM per worker, in GiB.
WorkerRamGib *int32 `json:"workerRamGib,omitempty"`
// WorkerVcpu vCPUs per worker.
WorkerVcpu *int32 `json:"workerVcpu,omitempty"`
// Workers Workers the cluster has now; absent while it cannot be read.
Workers *int32 `json:"workers,omitempty"`
}
PublicKubernetesClusterDto A managed Kubernetes cluster.
type PublicKubernetesClusterGrowStorageRequest ¶
type PublicKubernetesClusterGrowStorageRequest struct {
// DataDiskGib The new data disk size per worker, in GiB. A disk is never shrunk.
DataDiskGib int32 `json:"dataDiskGib"`
// RestartAfter Whether the grown workers are restarted one at a time to use the space (true) or marked as owed a restart (false, the default).
RestartAfter *bool `json:"restartAfter,omitempty"`
}
PublicKubernetesClusterGrowStorageRequest The data disk size every worker of a cluster is grown to.
type PublicKubernetesClusterResizeRequest ¶
type PublicKubernetesClusterResizeRequest struct {
// RamGib RAM per worker, in GiB.
RamGib int32 `json:"ramGib"`
// RestartAfter Whether a worker that cannot take the change live is drained and restarted (true, the default) or left running and marked as owed a restart.
RestartAfter *bool `json:"restartAfter,omitempty"`
// Vcpu Virtual CPUs per worker.
Vcpu int32 `json:"vcpu"`
}
PublicKubernetesClusterResizeRequest The shape every worker of a cluster is resized to.
type PublicKubernetesClusterScaleRequest ¶
type PublicKubernetesClusterScaleRequest struct {
// WorkerCount The target worker count.
WorkerCount int32 `json:"workerCount"`
}
PublicKubernetesClusterScaleRequest The number of workers a cluster should have.
type PublicKubernetesClusterUpgradeDto ¶ added in v0.2.0
type PublicKubernetesClusterUpgradeDto struct {
// ControlPlane The control plane's status.
ControlPlane *PublicKubernetesUpgradeStatusDto `json:"controlPlane,omitempty"`
// ControlPlaneWindow When the platform next moves the control plane to a new minor; absent when none is announced.
ControlPlaneWindow *PublicKubernetesUpgradeWindowDto `json:"controlPlaneWindow,omitempty"`
// WorkerKubernetesVersion The workers' Kubernetes version.
WorkerKubernetesVersion *string `json:"workerKubernetesVersion,omitempty"`
// WorkerTalosVersion The workers' Talos version.
WorkerTalosVersion *string `json:"workerTalosVersion,omitempty"`
// WorkerTargets What an upgrade of the workers can go to now, oldest first; empty when there is none. A worker upgrade never goes past the control plane's version.
WorkerTargets *[]PublicKubernetesUpgradeTargetDto `json:"workerTargets,omitempty"`
// Workers The workers' status.
Workers *PublicKubernetesUpgradeStatusDto `json:"workers,omitempty"`
}
PublicKubernetesClusterUpgradeDto The cluster's versions and what its workers can be upgraded to. The platform upgrades the control plane; you upgrade the workers.
type PublicKubernetesClusterUpgradeWorkersRequest ¶ added in v0.2.0
type PublicKubernetesClusterUpgradeWorkersRequest struct {
// TargetKubernetes One of the cluster's `upgrade.workerTargets[].kubernetes`, such as `v1.37.2`.
TargetKubernetes string `json:"targetKubernetes"`
}
PublicKubernetesClusterUpgradeWorkersRequest The Kubernetes version to upgrade a cluster's workers to.
type PublicKubernetesMetricPointDto ¶
type PublicKubernetesMetricPointDto struct {
// EpochSec Unix time of the sample, in seconds.
EpochSec *int64 `json:"epochSec,omitempty"`
// Value CPU in percent, or memory in bytes.
Value *float64 `json:"value,omitempty"`
}
PublicKubernetesMetricPointDto One sample of a worker's CPU or memory series.
type PublicKubernetesNodeDto ¶
type PublicKubernetesNodeDto struct {
// Name Display name.
Name *string `json:"name,omitempty"`
// PrivateIp The worker's private address; absent until it has one.
PrivateIp *string `json:"privateIp,omitempty"`
// Ready Whether the node is Ready in the cluster; absent when not known.
Ready *bool `json:"ready,omitempty"`
// RestartPending Whether the worker is owed a restart to finish a change.
RestartPending *bool `json:"restartPending,omitempty"`
// Status The virtual machine's status.
Status *string `json:"status,omitempty"`
// VmId The worker's virtual machine id.
VmId *string `json:"vmId,omitempty"`
}
PublicKubernetesNodeDto A worker machine of a Kubernetes cluster.
type PublicKubernetesNodeMetricDto ¶
type PublicKubernetesNodeMetricDto struct {
// LimitBytes The worker's RAM in bytes; set for memory only.
LimitBytes *int64 `json:"limitBytes,omitempty"`
// Points The samples.
Points *[]PublicKubernetesMetricPointDto `json:"points,omitempty"`
Unavailable *bool `json:"unavailable,omitempty"`
}
PublicKubernetesNodeMetricDto One worker's CPU (percent) or memory (bytes) over a window, oldest first.
type PublicKubernetesUpgradeStatusDto ¶ added in v0.2.0
type PublicKubernetesUpgradeStatusDto struct {
// Deadline The date for DEADLINE and UNSUPPORTED; absent otherwise.
//
// Examples: 2022-03-10
Deadline *openapi_types.Date `json:"deadline,omitempty"`
// State CURRENT: supported, nothing newer offered. UPGRADE_AVAILABLE: a newer version is offered. DEADLINE: going out of support on `deadline`; after that date the platform may upgrade it itself. UNSUPPORTED: past `deadline`; the platform may upgrade it. UNKNOWN: the platform has no record of the version.
State *PublicKubernetesUpgradeStatusDtoState `json:"state,omitempty"`
}
PublicKubernetesUpgradeStatusDto Where a cluster component stands against the versions the platform supports.
type PublicKubernetesUpgradeStatusDtoState ¶ added in v0.2.0
type PublicKubernetesUpgradeStatusDtoState string
PublicKubernetesUpgradeStatusDtoState CURRENT: supported, nothing newer offered. UPGRADE_AVAILABLE: a newer version is offered. DEADLINE: going out of support on `deadline`; after that date the platform may upgrade it itself. UNSUPPORTED: past `deadline`; the platform may upgrade it. UNKNOWN: the platform has no record of the version.
const ( CURRENT PublicKubernetesUpgradeStatusDtoState = "CURRENT" DEADLINE PublicKubernetesUpgradeStatusDtoState = "DEADLINE" UNKNOWN PublicKubernetesUpgradeStatusDtoState = "UNKNOWN" UNSUPPORTED PublicKubernetesUpgradeStatusDtoState = "UNSUPPORTED" UPGRADEAVAILABLE PublicKubernetesUpgradeStatusDtoState = "UPGRADE_AVAILABLE" )
Defines values for PublicKubernetesUpgradeStatusDtoState.
func (PublicKubernetesUpgradeStatusDtoState) Valid ¶ added in v0.2.0
func (e PublicKubernetesUpgradeStatusDtoState) Valid() bool
Valid indicates whether the value is a known member of the PublicKubernetesUpgradeStatusDtoState enum.
type PublicKubernetesUpgradeTargetDto ¶ added in v0.2.0
type PublicKubernetesUpgradeTargetDto struct {
// Kubernetes The Kubernetes version; the upgrade request names it.
Kubernetes *string `json:"kubernetes,omitempty"`
// Talos The Talos version that comes with it.
Talos *string `json:"talos,omitempty"`
}
PublicKubernetesUpgradeTargetDto A version pair the workers can be upgraded to.
type PublicKubernetesUpgradeWindowDto ¶ added in v0.2.0
type PublicKubernetesUpgradeWindowDto struct {
// End Last day of the window.
//
// Examples: 2022-03-10
End *openapi_types.Date `json:"end,omitempty"`
// Kubernetes The minor version the control plane moves to.
Kubernetes *string `json:"kubernetes,omitempty"`
// Start First day of the window.
//
// Examples: 2022-03-10
Start *openapi_types.Date `json:"start,omitempty"`
}
PublicKubernetesUpgradeWindowDto When the platform moves the control plane to a new minor version, both days inclusive.
type PublicLimitDto ¶
type PublicLimitDto struct {
// Key The limit's key. New keys may appear; ignore ones you do not know.
Key *string `json:"key,omitempty"`
// Limit The cap; null means unlimited.
Limit *int32 `json:"limit,omitempty"`
// Scope What the limit is counted against, e.g. ACCOUNT, VM, PLACEMENT_GROUP or K8S_CLUSTER. New scopes may appear; ignore ones you do not know.
Scope *string `json:"scope,omitempty"`
// Used Current usage. Null when the limit is not account-wide (a per-VM or per-group cap has no single usage figure) — null means 'no answer', not zero.
Used *int32 `json:"used,omitempty"`
}
PublicLimitDto One effective limit on the account.
type PublicMeDto ¶
type PublicMeDto struct {
// AccountId The customer account the token is bound to. Absent for STAFF and SERVICE_ACCOUNT.
AccountId *string `json:"accountId,omitempty"`
// PrincipalKind Token principal kind: CUSTOMER_PAT (a personal token), ACCOUNT_SERVICE (an account service token), PORTAL_SESSION (a short-lived customer-portal assistant session), OAUTH_ACCESS (an MCP client's access token), STAFF or SERVICE_ACCOUNT.
PrincipalKind *string `json:"principalKind,omitempty"`
// RateLimit Current rate-limit window state.
RateLimit *RateLimitState1 `json:"rateLimit,omitempty"`
// Scopes Active token scopes.
Scopes *[]string `json:"scopes,omitempty"`
// SubjectId Subject the token authenticates as — the owning user's id (CUSTOMER_PAT, PORTAL_SESSION), the account id (ACCOUNT_SERVICE), the staff user id (STAFF), or the machine-user id (SERVICE_ACCOUNT).
SubjectId *string `json:"subjectId,omitempty"`
// TokenId Token id.
TokenId *string `json:"tokenId,omitempty"`
// TokenName Token label.
TokenName *string `json:"tokenName,omitempty"`
}
PublicMeDto Identity of the API token making the request.
type PublicMemberDto ¶
type PublicMemberDto struct {
// Email Login email address.
Email *string `json:"email,omitempty"`
// FirstName First name; may be absent.
FirstName *string `json:"firstName,omitempty"`
// LastName Last name; may be absent.
LastName *string `json:"lastName,omitempty"`
// Pending The invitation has not been accepted yet.
Pending *bool `json:"pending,omitempty"`
// Role The member's role in this account: owner, admin, operator, billing or viewer.
Role *string `json:"role,omitempty"`
// UserId The member's id.
UserId *string `json:"userId,omitempty"`
}
PublicMemberDto One member (or pending invitee) of the account's team.
type PublicMemberInviteDto ¶
type PublicMemberInviteDto struct {
// AlreadyRegistered The identity provider already knew this address, so the invitee signs in rather than registering a new login.
AlreadyRegistered *bool `json:"alreadyRegistered,omitempty"`
// UserId The invited person's id, as `GET /v1/members` returns it.
UserId *string `json:"userId,omitempty"`
}
PublicMemberInviteDto A submitted invitation. Pending until the person accepts it.
type PublicMemberInviteRequest ¶
type PublicMemberInviteRequest struct {
// Email The colleague's login email address.
Email string `json:"email"`
// FirstName First name; used only when the invitation creates a new login.
FirstName *string `json:"firstName,omitempty"`
// LastName Last name; used only when the invitation creates a new login.
LastName *string `json:"lastName,omitempty"`
// Role The role to grant: `operator`, `admin`, `billing` or `viewer`. Only an owner may grant `billing`. `owner` is refused — ownership is transferred, not granted.
Role PublicMemberInviteRequestRole `json:"role"`
}
PublicMemberInviteRequest An invitation to add someone to the account's team.
type PublicMemberInviteRequestRole ¶
type PublicMemberInviteRequestRole string
PublicMemberInviteRequestRole The role to grant: `operator`, `admin`, `billing` or `viewer`. Only an owner may grant `billing`. `owner` is refused — ownership is transferred, not granted.
const ( PublicMemberInviteRequestRoleAdmin PublicMemberInviteRequestRole = "admin" PublicMemberInviteRequestRoleBilling PublicMemberInviteRequestRole = "billing" PublicMemberInviteRequestRoleOperator PublicMemberInviteRequestRole = "operator" PublicMemberInviteRequestRoleViewer PublicMemberInviteRequestRole = "viewer" )
Defines values for PublicMemberInviteRequestRole.
func (PublicMemberInviteRequestRole) Valid ¶
func (e PublicMemberInviteRequestRole) Valid() bool
Valid indicates whether the value is a known member of the PublicMemberInviteRequestRole enum.
type PublicMemberRoleRequest ¶
type PublicMemberRoleRequest struct {
// Role The new role: `operator`, `admin`, `billing` or `viewer`. Only an owner may change a role to or from `billing`. `owner` is refused, and an existing owner's role cannot be changed here — ownership is transferred, not granted.
Role PublicMemberRoleRequestRole `json:"role"`
}
PublicMemberRoleRequest The role to set for one member.
type PublicMemberRoleRequestRole ¶
type PublicMemberRoleRequestRole string
PublicMemberRoleRequestRole The new role: `operator`, `admin`, `billing` or `viewer`. Only an owner may change a role to or from `billing`. `owner` is refused, and an existing owner's role cannot be changed here — ownership is transferred, not granted.
const ( PublicMemberRoleRequestRoleAdmin PublicMemberRoleRequestRole = "admin" PublicMemberRoleRequestRoleBilling PublicMemberRoleRequestRole = "billing" PublicMemberRoleRequestRoleOperator PublicMemberRoleRequestRole = "operator" PublicMemberRoleRequestRoleViewer PublicMemberRoleRequestRole = "viewer" )
Defines values for PublicMemberRoleRequestRole.
func (PublicMemberRoleRequestRole) Valid ¶
func (e PublicMemberRoleRequestRole) Valid() bool
Valid indicates whether the value is a known member of the PublicMemberRoleRequestRole enum.
type PublicObjectDownloadUrlDto ¶ added in v0.3.0
type PublicObjectDownloadUrlDto struct {
// ExpiresAt When the URL stops working.
//
// Examples: 2022-03-10T16:15:50Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// Url The URL; anyone holding it can download the object until it expires.
Url *string `json:"url,omitempty"`
}
PublicObjectDownloadUrlDto A short-lived URL that downloads one object without further credentials.
type PublicObjectDownloadUrlRequest ¶ added in v0.3.0
type PublicObjectDownloadUrlRequest struct {
// Key The object's key.
Key string `json:"key"`
// VersionId An earlier version to download; omit for the current one.
VersionId *string `json:"versionId,omitempty"`
}
PublicObjectDownloadUrlRequest The object a download URL is for.
type PublicObjectUploadUrlDto ¶ added in v0.3.0
type PublicObjectUploadUrlDto struct {
// ExpiresAt When the URL stops working.
//
// Examples: 2022-03-10T16:15:50Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// Headers Headers the PUT must send, every one, exactly as given: they are signed into the URL.
Headers *map[string]string `json:"headers,omitempty"`
// Url The URL to PUT the bytes to; a credential until it expires.
Url *string `json:"url,omitempty"`
}
PublicObjectUploadUrlDto A short-lived URL that uploads one new object with an HTTP PUT.
type PublicObjectUploadUrlRequest ¶ added in v0.3.0
type PublicObjectUploadUrlRequest struct {
// ContentLength The exact size the upload will send, in bytes; at most 25 MiB.
ContentLength int64 `json:"contentLength"`
// ContentType The Content-Type the upload will send.
ContentType string `json:"contentType"`
// Key The new object's key. A key that already exists is refused, when the URL is minted on a versioned bucket and by the PUT otherwise.
Key string `json:"key"`
}
PublicObjectUploadUrlRequest The new object an upload URL is for.
type PublicOperationDto ¶
type PublicOperationDto struct {
// Cancellable Whether POST …/cancel may be attempted now.
Cancellable *bool `json:"cancellable,omitempty"`
// CompletedAt Examples: 2022-03-10T16:15:50Z
CompletedAt *time.Time `json:"completedAt,omitempty"`
// CreatedResource The resource a completed create made, once it exists.
CreatedResource *Target `json:"createdResource,omitempty"`
// Error Why it failed, when it failed.
Error *Failure `json:"error,omitempty"`
// Id Stable identifier; the Location of the 202 that started it.
Id *string `json:"id,omitempty"`
// Kind What the operation does, e.g. "vm.delete".
Kind *string `json:"kind,omitempty"`
// ProgressMessage Human-readable progress, when the operation reports one.
ProgressMessage *string `json:"progressMessage,omitempty"`
// ProgressPct Progress 0–100, when the operation reports one.
ProgressPct *int32 `json:"progressPct,omitempty"`
// StartedAt Examples: 2022-03-10T16:15:50Z
StartedAt *time.Time `json:"startedAt,omitempty"`
// State pending / running / complete / failed / cancelled.
State *string `json:"state,omitempty"`
// SubmittedAt Examples: 2022-03-10T16:15:50Z
SubmittedAt *time.Time `json:"submittedAt,omitempty"`
// SupportNeed What a completed operation's message still asks of staff: none / limit / staff / fault. Absent when the producer did not say.
SupportNeed *string `json:"supportNeed,omitempty"`
// Target The resource the operation acts on, when it has one.
Target *Target `json:"target,omitempty"`
}
PublicOperationDto An asynchronous operation started by a write, polled until it reaches a terminal state.
type PublicOrderBucketRequest ¶
type PublicOrderBucketRequest struct {
// DisplayName Customer-chosen display name (max 120).
DisplayName *string `json:"displayName,omitempty"`
// ObjectLock Enable S3 object lock. Write-once: a bucket ordered without it can never be locked afterwards.
ObjectLock *bool `json:"objectLock,omitempty"`
// Versioning Versioning at creation, off / enabled / suspended; absent leaves Croit's default.
Versioning *PublicOrderBucketRequestVersioning `json:"versioning,omitempty"`
}
PublicOrderBucketRequest A new object storage bucket to order.
type PublicOrderBucketRequestVersioning ¶
type PublicOrderBucketRequestVersioning string
PublicOrderBucketRequestVersioning Versioning at creation, off / enabled / suspended; absent leaves Croit's default.
const ( PublicOrderBucketRequestVersioningEnabled PublicOrderBucketRequestVersioning = "enabled" PublicOrderBucketRequestVersioningOff PublicOrderBucketRequestVersioning = "off" PublicOrderBucketRequestVersioningSuspended PublicOrderBucketRequestVersioning = "suspended" )
Defines values for PublicOrderBucketRequestVersioning.
func (PublicOrderBucketRequestVersioning) Valid ¶
func (e PublicOrderBucketRequestVersioning) Valid() bool
Valid indicates whether the value is a known member of the PublicOrderBucketRequestVersioning enum.
type PublicOsImageDto ¶
type PublicOsImageDto struct {
// Description What the image is, as plain text. Null when none is set.
Description *string `json:"description,omitempty"`
// Id The value POST /v1/vms takes as `osImageId`.
Id *string `json:"id,omitempty"`
// MinDiskGib The smallest boot disk, in GiB, POST /v1/vms accepts for this image. Null: no minimum.
MinDiskGib *int32 `json:"minDiskGib,omitempty"`
// MinRamMib The least memory, in MiB, a VM from this image may have. Refused like minVcpus. Null: no minimum.
MinRamMib *int32 `json:"minRamMib,omitempty"`
// MinVcpus The fewest vCPUs a VM from this image may have. POST /v1/vms and a resize that lowers vCPUs below it are refused. Null: no minimum.
MinVcpus *int32 `json:"minVcpus,omitempty"`
// Name Display name.
Name *string `json:"name,omitempty"`
// Os Operating-system family in lowercase, e.g. ubuntu or windows. New families may appear; ignore ones you do not know.
Os *string `json:"os,omitempty"`
// RequiresSshKey True when creating a VM from this image requires at least one SSH key. False for Windows images, which refuse SSH keys.
RequiresSshKey *bool `json:"requiresSshKey,omitempty"`
// Version Image version.
Version *string `json:"version,omitempty"`
}
PublicOsImageDto An operating-system image a virtual machine can be created from.
type PublicPlacementDatacenterDto ¶
type PublicPlacementDatacenterDto struct {
// Label The label to show for this site.
Label *string `json:"label,omitempty"`
// Slug The slug create requires as its datacenterId.
Slug *string `json:"slug,omitempty"`
}
PublicPlacementDatacenterDto A datacenter site a placement group can be created in.
type PublicPlacementFeasibilityDto ¶
type PublicPlacementFeasibilityDto struct {
// Available True when the whole ask fits.
Available *bool `json:"available,omitempty"`
// DatacenterSlug The datacenter slug.
DatacenterSlug *string `json:"datacenterSlug,omitempty"`
// Fits How many of `requested` would be placed, between 0 and `requested`.
Fits *int32 `json:"fits,omitempty"`
// Reasons Why the ask fell short. Empty when available.
Reasons *[]PublicPlacementReason `json:"reasons,omitempty"`
// Requested The ask actually considered: `count` after the platform's clamping.
Requested *int32 `json:"requested,omitempty"`
}
PublicPlacementFeasibilityDto Whether a datacenter can take the asked shape.
type PublicPlacementGroupCreateRequest ¶
type PublicPlacementGroupCreateRequest struct {
// DatacenterId A datacenter slug from GET /v1/placement-groups/datacenters.
DatacenterId string `json:"datacenterId"`
// Name Display name.
Name string `json:"name"`
// Strategy spread (anti-affinity) or gather (affinity).
Strategy string `json:"strategy"`
}
PublicPlacementGroupCreateRequest A new placement group.
type PublicPlacementGroupDto ¶
type PublicPlacementGroupDto struct {
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DatacenterId The physical datacenter site the group is placed in.
DatacenterId *string `json:"datacenterId,omitempty"`
// Health satisfied, violated, or unknown when a member's host could not be resolved.
Health *string `json:"health,omitempty"`
// Id Stable identifier.
Id *string `json:"id,omitempty"`
// MaxMembers The effective member-count limit the server enforces, or absent when not known.
MaxMembers *int32 `json:"maxMembers,omitempty"`
// Members The group's live members, by VM id.
Members *[]string `json:"members,omitempty"`
// Name Display name.
Name *string `json:"name,omitempty"`
// Strategy spread (anti-affinity) or gather (affinity).
Strategy *string `json:"strategy,omitempty"`
}
PublicPlacementGroupDto A placement group constraining where its members' VMs are placed.
type PublicPlacementReason ¶
type PublicPlacementReason string
PublicPlacementReason defines model for PublicPlacementReason.
const ( GROUPATCAPACITY PublicPlacementReason = "GROUP_AT_CAPACITY" GROUPMEMBERPRESENT PublicPlacementReason = "GROUP_MEMBER_PRESENT" GROUPPINNEDHOSTFULL PublicPlacementReason = "GROUP_PINNED_HOST_FULL" NOCAPACITYFORSHAPE PublicPlacementReason = "NO_CAPACITY_FOR_SHAPE" )
Defines values for PublicPlacementReason.
func (PublicPlacementReason) Valid ¶
func (e PublicPlacementReason) Valid() bool
Valid indicates whether the value is a known member of the PublicPlacementReason enum.
type PublicProjectCreateRequest ¶
type PublicProjectCreateRequest struct {
// Name The project name, at most 120 characters.
Name string `json:"name"`
// Slug Optional short handle: 2 to 5 letters or digits, starting with a letter, upper-cased on receipt; DEF is reserved. Derived from the name when omitted (Production gives PRD). Cannot be changed later.
Slug *string `json:"slug,omitempty"`
}
PublicProjectCreateRequest A project to create.
type PublicProjectDto ¶
type PublicProjectDto struct {
// CreatedAt When the project was created.
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DefaultProject True for the account's default project: where resources land until they are filed elsewhere. It cannot be deleted.
DefaultProject *bool `json:"defaultProject,omitempty"`
// Id Stable identifier of this project.
Id *string `json:"id,omitempty"`
// Name Display name, unique within the account regardless of case.
Name *string `json:"name,omitempty"`
// ResourceCount How many resources the project holds. A project must be empty to be deleted.
ResourceCount *int64 `json:"resourceCount,omitempty"`
// Slug Short handle, unique within the account and fixed once the project is created. The default project's slug is DEF.
Slug *string `json:"slug,omitempty"`
}
PublicProjectDto A project: a named container that groups the account's resources.
type PublicProjectNameRequest ¶
type PublicProjectNameRequest struct {
// Name The project name, at most 120 characters.
Name string `json:"name"`
}
PublicProjectNameRequest The new name of a project. A project's slug cannot be changed.
type PublicProjectResourceDto ¶
type PublicProjectResourceDto struct {
// Assignable Whether PUT /v1/projects/{id}/resources/{resourceId} can move it.
Assignable *bool `json:"assignable,omitempty"`
// Name The resource's display name.
Name *string `json:"name,omitempty"`
// ResourceId Stable identifier of the resource. Use it to move the resource into another project.
ResourceId *string `json:"resourceId,omitempty"`
// Type The kind of resource, as a lowercase name, for example vm, vpc or bigstorage_bucket. New kinds may appear.
Type *string `json:"type,omitempty"`
}
PublicProjectResourceDto A resource held by a project.
type PublicRenameRequest ¶
type PublicRenameRequest struct {
// Name The new DNS-style name.
Name string `json:"name"`
}
PublicRenameRequest A new name for a virtual machine.
type PublicRenameSshKeyRequest ¶
type PublicRenameSshKeyRequest struct {
// Name The new display name.
Name string `json:"name"`
}
PublicRenameSshKeyRequest A rename of an existing SSH key.
type PublicReservedIpDto ¶
type PublicReservedIpDto struct {
// Address The public address.
Address *string `json:"address,omitempty"`
// Id Stable identifier; the {publicIpId} of DELETE /v1/vpcs/{id}/reserved-ips/{publicIpId}.
Id *string `json:"id,omitempty"`
// VmId The identifier, as /v1/vms uses it, of the VM the address is attached to; null when no server holds it (a VIP may).
VmId *string `json:"vmId,omitempty"`
}
PublicReservedIpDto A public IP address the account has reserved.
type PublicResizeRequest ¶
type PublicResizeRequest struct {
// Cpus Number of vCPUs. Must be even. A changed vCPU / memory shape must cover at least one package on sale, else 400. Also 400 above the largest vCPU count any package on sale has; a VM already above that can still shrink.
Cpus *int32 `json:"cpus,omitempty"`
// Disks Disks to grow, named by their id in the disk list. The backend refuses a shrink.
Disks *[]Disk `json:"disks,omitempty"`
Empty *bool `json:"empty,omitempty"`
// RamMib Memory in MiB. A changed value must be a multiple of 2048 (2 GiB); re-sending the current size is fine. A changed vCPU / memory shape must cover at least one package on sale, else 400. Also 400 above the largest memory any package on sale has; a VM already above that can still shrink.
RamMib *int32 `json:"ramMib,omitempty"`
}
PublicResizeRequest A partial resize: only the fields you send change.
type PublicRestoreRequest ¶
type PublicRestoreRequest struct {
// StartedAt The whole-second startedAt of the backup, from GET …/backups.
StartedAt int64 `json:"startedAt"`
}
PublicRestoreRequest A backup to restore a virtual machine from.
type PublicRestoreToNewVmRequest ¶
type PublicRestoreToNewVmRequest struct {
// DatacenterSlug The datacenter slug for the new VM; see GET …/restore-sites.
DatacenterSlug string `json:"datacenterSlug"`
// Name DNS-style name of the new VM, unique in the account.
Name string `json:"name"`
// PublicIp Attach a public IP to the new VM.
PublicIp *bool `json:"publicIp,omitempty"`
// TermsAccepted Acceptance of the terms of use. Must be true.
TermsAccepted bool `json:"termsAccepted"`
// VpcResourceId The VPC the new VM joins. Omit for a public-only VM, which needs publicIp.
VpcResourceId *string `json:"vpcResourceId,omitempty"`
}
PublicRestoreToNewVmRequest A new virtual machine to create from a backup.
type PublicRevealedKeySecretDto ¶
type PublicRevealedKeySecretDto struct {
// Available True when the backend holds the secret for this key.
Available *bool `json:"available,omitempty"`
// KeyId The key id the reveal was requested for.
KeyId *string `json:"keyId,omitempty"`
// SecretKey The secret key; null when available is false.
SecretKey *string `json:"secretKey,omitempty"`
}
PublicRevealedKeySecretDto A revealed access-key secret, or the statement that none is held.
type PublicSetBackupProtectedRequest ¶
type PublicSetBackupProtectedRequest struct {
// Protected True to protect the backup, false to release it.
Protected *bool `json:"protected,omitempty"`
}
PublicSetBackupProtectedRequest Whether the backup is protected from rotation.
type PublicSshKeyDto ¶
type PublicSshKeyDto struct {
// Fingerprint Fingerprint of the public key.
Fingerprint *string `json:"fingerprint,omitempty"`
// Id Stable identifier of this key.
Id *string `json:"id,omitempty"`
// Name Display name.
Name *string `json:"name,omitempty"`
// PublicKey The public key body.
PublicKey *string `json:"publicKey,omitempty"`
}
PublicSshKeyDto An SSH public key registered to the token's own person.
type PublicSupportTicketCreateRequest ¶
type PublicSupportTicketCreateRequest struct {
// Description What you need help with.
Description string `json:"description"`
// RequesterEmail Required for an account or service token, which raises the ticket on behalf of the member with this email; refused for a personal token.
RequesterEmail *string `json:"requesterEmail,omitempty"`
// ResourceId Optional id of a resource in this account the ticket is about.
ResourceId *string `json:"resourceId,omitempty"`
// Subject The ticket's subject line.
Subject string `json:"subject"`
}
PublicSupportTicketCreateRequest A support ticket to raise.
type PublicSupportTicketDetailDto ¶
type PublicSupportTicketDetailDto struct {
// DescriptionHtml The ticket's original description as sanitised HTML.
DescriptionHtml *string `json:"descriptionHtml,omitempty"`
// Messages The conversation, oldest first. Internal notes are never included.
Messages *[]PublicSupportTicketMessageDto `json:"messages,omitempty"`
// Ticket The ticket.
Ticket *PublicSupportTicketDto `json:"ticket,omitempty"`
}
PublicSupportTicketDetailDto A support ticket with its visible conversation.
type PublicSupportTicketDto ¶
type PublicSupportTicketDto struct {
// Access account: visible to the whole account; own: visible only because the caller raised it.
Access *PublicSupportTicketDtoAccess `json:"access,omitempty"`
// CreatedAt When the ticket was raised.
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id The ticket's id.
Id *string `json:"id,omitempty"`
// RaisedByName Who raised the ticket. A multi-word name is shortened to first name and last initial, for example "Thandi K."; a single-word name is returned as it is.
RaisedByName *string `json:"raisedByName,omitempty"`
// RaisedByYou The ticket was raised by the caller.
RaisedByYou *bool `json:"raisedByYou,omitempty"`
// Reference The ticket number shown to people, for example in emails.
Reference *int64 `json:"reference,omitempty"`
// Status Where the ticket stands for you.
Status *PublicSupportTicketDtoStatus `json:"status,omitempty"`
// Subject The ticket's subject line.
Subject *string `json:"subject,omitempty"`
// UpdatedAt When the ticket last changed.
//
// Examples: 2022-03-10T16:15:50Z
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
PublicSupportTicketDto A support ticket raised through the portal or the API.
type PublicSupportTicketDtoAccess ¶
type PublicSupportTicketDtoAccess string
PublicSupportTicketDtoAccess account: visible to the whole account; own: visible only because the caller raised it.
const ( Account PublicSupportTicketDtoAccess = "account" Own PublicSupportTicketDtoAccess = "own" )
Defines values for PublicSupportTicketDtoAccess.
func (PublicSupportTicketDtoAccess) Valid ¶
func (e PublicSupportTicketDtoAccess) Valid() bool
Valid indicates whether the value is a known member of the PublicSupportTicketDtoAccess enum.
type PublicSupportTicketDtoStatus ¶
type PublicSupportTicketDtoStatus string
PublicSupportTicketDtoStatus Where the ticket stands for you.
const ( PublicSupportTicketDtoStatusClosed PublicSupportTicketDtoStatus = "closed" PublicSupportTicketDtoStatusOpen PublicSupportTicketDtoStatus = "open" PublicSupportTicketDtoStatusResolved PublicSupportTicketDtoStatus = "resolved" PublicSupportTicketDtoStatusWaitingOnYou PublicSupportTicketDtoStatus = "waiting-on-you" )
Defines values for PublicSupportTicketDtoStatus.
func (PublicSupportTicketDtoStatus) Valid ¶
func (e PublicSupportTicketDtoStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicSupportTicketDtoStatus enum.
type PublicSupportTicketMessageDto ¶
type PublicSupportTicketMessageDto struct {
// Author Who wrote it.
Author *PublicSupportTicketMessageDtoAuthor `json:"author,omitempty"`
// AuthorName The author. A multi-word name is shortened to first name and last initial, for example "Thandi K."; a single-word name is returned as it is.
AuthorName *string `json:"authorName,omitempty"`
// BodyHtml The message body as sanitised HTML.
BodyHtml *string `json:"bodyHtml,omitempty"`
// Id The entry's id.
Id *string `json:"id,omitempty"`
// Kind message: someone wrote to the ticket; status-changed: the ticket's status moved.
Kind *PublicSupportTicketMessageDtoKind `json:"kind,omitempty"`
// OccurredAt When it happened.
//
// Examples: 2022-03-10T16:15:50Z
OccurredAt *time.Time `json:"occurredAt,omitempty"`
// Status For a status-changed entry, the status the ticket moved to.
Status *PublicSupportTicketMessageDtoStatus `json:"status,omitempty"`
}
PublicSupportTicketMessageDto One entry in a ticket's conversation.
type PublicSupportTicketMessageDtoAuthor ¶
type PublicSupportTicketMessageDtoAuthor string
PublicSupportTicketMessageDtoAuthor Who wrote it.
const ( Customer PublicSupportTicketMessageDtoAuthor = "customer" Support PublicSupportTicketMessageDtoAuthor = "support" System PublicSupportTicketMessageDtoAuthor = "system" )
Defines values for PublicSupportTicketMessageDtoAuthor.
func (PublicSupportTicketMessageDtoAuthor) Valid ¶
func (e PublicSupportTicketMessageDtoAuthor) Valid() bool
Valid indicates whether the value is a known member of the PublicSupportTicketMessageDtoAuthor enum.
type PublicSupportTicketMessageDtoKind ¶
type PublicSupportTicketMessageDtoKind string
PublicSupportTicketMessageDtoKind message: someone wrote to the ticket; status-changed: the ticket's status moved.
const ( Message PublicSupportTicketMessageDtoKind = "message" StatusChanged PublicSupportTicketMessageDtoKind = "status-changed" )
Defines values for PublicSupportTicketMessageDtoKind.
func (PublicSupportTicketMessageDtoKind) Valid ¶
func (e PublicSupportTicketMessageDtoKind) Valid() bool
Valid indicates whether the value is a known member of the PublicSupportTicketMessageDtoKind enum.
type PublicSupportTicketMessageDtoStatus ¶
type PublicSupportTicketMessageDtoStatus string
PublicSupportTicketMessageDtoStatus For a status-changed entry, the status the ticket moved to.
const ( PublicSupportTicketMessageDtoStatusClosed PublicSupportTicketMessageDtoStatus = "closed" PublicSupportTicketMessageDtoStatusOpen PublicSupportTicketMessageDtoStatus = "open" PublicSupportTicketMessageDtoStatusResolved PublicSupportTicketMessageDtoStatus = "resolved" PublicSupportTicketMessageDtoStatusWaitingOnYou PublicSupportTicketMessageDtoStatus = "waiting-on-you" )
Defines values for PublicSupportTicketMessageDtoStatus.
func (PublicSupportTicketMessageDtoStatus) Valid ¶
func (e PublicSupportTicketMessageDtoStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicSupportTicketMessageDtoStatus enum.
type PublicSupportTicketReplyRequest ¶
type PublicSupportTicketReplyRequest struct {
// AuthorEmail Required for an account or service token, which posts the reply on behalf of the member with this email; refused for a personal token.
AuthorEmail *string `json:"authorEmail,omitempty"`
// Body The reply text.
Body string `json:"body"`
}
PublicSupportTicketReplyRequest A reply to post on a support ticket.
type PublicTransactionDto ¶
type PublicTransactionDto struct {
// Amount Amount in rands, including tax. Positive for an invoice, negative for a credit note.
//
// Examples: -115.00
Amount *string `json:"amount,omitempty"`
// Currency ISO 4217 currency code. CloudAfrica bills in ZAR only.
Currency *string `json:"currency,omitempty"`
// Date The invoice's billing period end, or the date a credit note was recorded.
//
// Examples: 2022-03-10
Date *openapi_types.Date `json:"date,omitempty"`
// Kind The kind of transaction.
Kind *PublicTransactionDtoKind `json:"kind,omitempty"`
// Lines Invoice line items. Present for an INVOICE only.
Lines *[]PublicInvoiceLineDto `json:"lines,omitempty"`
// Number The document number, absent where none is held.
Number *string `json:"number,omitempty"`
// PdfAvailable True only for a credit note CloudAfrica issued, whose PDF is held; false for an invoice and for a credit note recorded in the accounting system.
PdfAvailable *bool `json:"pdfAvailable,omitempty"`
// RelatedNumber The invoice a credit note credits, when known.
RelatedNumber *string `json:"relatedNumber,omitempty"`
// Status The invoice's status, e.g. "paid" or "open"; "ISSUED" for a credit note.
Status *string `json:"status,omitempty"`
}
PublicTransactionDto One transaction on the account: an invoice or a credit note.
type PublicTransactionDtoKind ¶
type PublicTransactionDtoKind string
PublicTransactionDtoKind The kind of transaction.
const ( CREDITNOTE PublicTransactionDtoKind = "CREDIT_NOTE" INVOICE PublicTransactionDtoKind = "INVOICE" )
Defines values for PublicTransactionDtoKind.
func (PublicTransactionDtoKind) Valid ¶
func (e PublicTransactionDtoKind) Valid() bool
Valid indicates whether the value is a known member of the PublicTransactionDtoKind enum.
type PublicVipDto ¶
type PublicVipDto struct {
// Id Stable identifier; the {vipId} of /v1/vpcs/{id}/vips/{vipId}/firewall-rules.
Id *string `json:"id,omitempty"`
// Name The VIP's display name.
Name *string `json:"name,omitempty"`
// PrivateAddress The VIP's private address.
PrivateAddress *string `json:"privateAddress,omitempty"`
// PublicAddress The public overlay address; null when the VIP has none.
PublicAddress *string `json:"publicAddress,omitempty"`
// ServedBy The VMs declared to serve this VIP; empty if none.
ServedBy *[]Member `json:"servedBy,omitempty"`
// VpcId The VPC's identifier, as /v1/vpcs uses it.
VpcId *string `json:"vpcId,omitempty"`
// VpcName The VPC the VIP sits in.
VpcName *string `json:"vpcName,omitempty"`
}
PublicVipDto A virtual IP: one private address in a VPC, optionally with a public overlay address.
type PublicVipFirewallReadOnlyReason ¶
type PublicVipFirewallReadOnlyReason string
PublicVipFirewallReadOnlyReason defines model for PublicVipFirewallReadOnlyReason.
const ( EDGEDISABLED PublicVipFirewallReadOnlyReason = "EDGE_DISABLED" LOCKEDBYSUPPORT PublicVipFirewallReadOnlyReason = "LOCKED_BY_SUPPORT" NOTSUPPORTED PublicVipFirewallReadOnlyReason = "NOT_SUPPORTED" )
Defines values for PublicVipFirewallReadOnlyReason.
func (PublicVipFirewallReadOnlyReason) Valid ¶
func (e PublicVipFirewallReadOnlyReason) Valid() bool
Valid indicates whether the value is a known member of the PublicVipFirewallReadOnlyReason enum.
type PublicVipFirewallRulesDto ¶
type PublicVipFirewallRulesDto struct {
// ReadOnlyReason Why the rules are read-only; absent when writable.
ReadOnlyReason *PublicVipFirewallReadOnlyReason `json:"readOnlyReason,omitempty"`
Rules *[]PublicFirewallRuleDto `json:"rules,omitempty"`
// Writable Whether rules on this VIP can be added, described or removed now.
Writable *bool `json:"writable,omitempty"`
}
PublicVipFirewallRulesDto defines model for PublicVipFirewallRulesDto.
type PublicVmBackupPolicyDto ¶
type PublicVmBackupPolicyDto struct {
// Policy The VM's backup policy.
Policy *PublicBackupPolicyDto `json:"policy,omitempty"`
// VmId The virtual machine's id, as published by /v1/vms.
VmId *string `json:"vmId,omitempty"`
}
PublicVmBackupPolicyDto A backup policy together with the virtual machine it applies to.
type PublicVmDiskDto ¶
type PublicVmDiskDto struct {
// Boot Whether this is the boot disk.
Boot *bool `json:"boot,omitempty"`
// Id Stable identifier of this disk.
Id *string `json:"id,omitempty"`
// InterfaceType Bus/interface type, e.g. "scsi", "virtio".
InterfaceType *string `json:"interfaceType,omitempty"`
// Position The number after the bus name (scsi1 is position 1). (interfaceType, position) identifies the slot — use boot to find the boot disk.
Position *int32 `json:"position,omitempty"`
// SizeGib Size in GiB, when known.
SizeGib *int32 `json:"sizeGib,omitempty"`
}
PublicVmDiskDto One disk attached to a virtual machine.
type PublicVmDto ¶
type PublicVmDto struct {
// Cpu CPU configuration.
Cpu *Cpu `json:"cpu,omitempty"`
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Datacenter Physical datacenter site the VM is placed in, e.g. "Teraco JB1".
Datacenter *string `json:"datacenter,omitempty"`
// Disk Boot disk size.
Disk *Disk1 `json:"disk,omitempty"`
// Id Stable UUID identifier.
Id *string `json:"id,omitempty"`
// Image Image the VM was provisioned from.
Image *string `json:"image,omitempty"`
// KubernetesClusterId Id of the Managed Kubernetes cluster this VM is a worker node of; absent for an ordinary VM. Actions that change a node or its settings are refused on the VM routes.
KubernetesClusterId *string `json:"kubernetesClusterId,omitempty"`
// Memory Memory configuration.
Memory *Memory `json:"memory,omitempty"`
// Name Display name (current).
Name *string `json:"name,omitempty"`
// PlacementGroupId Id of the placement group the VM belongs to; absent when it is in none.
PlacementGroupId *string `json:"placementGroupId,omitempty"`
// PrivateIp Internal IPv4 address; null if unassigned.
PrivateIp *string `json:"privateIp,omitempty"`
// PublicIp Public IPv4 address; null if not attached.
PublicIp *string `json:"publicIp,omitempty"`
// Slug URL slug; mutable, do not persist.
Slug *string `json:"slug,omitempty"`
// Status Power state (running / stopped / starting / stopping).
Status *string `json:"status,omitempty"`
// VpcId Id of the VPC the VM is in, as the VPC routes use it; absent when the VM is in no VPC.
VpcId *string `json:"vpcId,omitempty"`
// VpcName VPC name.
VpcName *string `json:"vpcName,omitempty"`
}
PublicVmDto A virtual machine in the customer's account.
type PublicVmNicDto ¶
type PublicVmNicDto struct {
// Id Stable identifier of this interface.
Id *string `json:"id,omitempty"`
// IpAddress Assigned IPv4 address, if any.
IpAddress *string `json:"ipAddress,omitempty"`
// MacAddress MAC address.
MacAddress *string `json:"macAddress,omitempty"`
// Model Interface model, e.g. "virtio".
Model *string `json:"model,omitempty"`
// Position Attachment position.
Position *int32 `json:"position,omitempty"`
// Primary Whether this is the VM's primary interface.
Primary *bool `json:"primary,omitempty"`
// VlanTag VLAN tag, if any.
VlanTag *int32 `json:"vlanTag,omitempty"`
}
PublicVmNicDto One network interface attached to a virtual machine.
type PublicVmPrivateIpDto ¶
type PublicVmPrivateIpDto struct {
// Address The address.
Address *string `json:"address,omitempty"`
// Id Stable identifier of the lease; what privateLeaseId on POST /v1/vms/{id}/public-ips takes.
Id *string `json:"id,omitempty"`
// NicId The network interface the address is leased to.
NicId *string `json:"nicId,omitempty"`
}
PublicVmPrivateIpDto A private IP address leased to one of a virtual machine's network interfaces.
type PublicVmPublicIpDto ¶
type PublicVmPublicIpDto struct {
// Address The address itself.
Address *string `json:"address,omitempty"`
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Stable identifier.
Id *string `json:"id,omitempty"`
// Primary Whether this is the VM's primary public address.
Primary *bool `json:"primary,omitempty"`
// TargetLeaseId The private address (a leaseId from GET /v1/vms/{id}/private-ips) this public IP is paired with; null when it follows the primary interface.
TargetLeaseId *string `json:"targetLeaseId,omitempty"`
}
PublicVmPublicIpDto A public IP address attached to a VM.
type PublicVpcCreateRequest ¶
type PublicVpcCreateRequest struct {
// Description Optional description; absent leaves it unset.
Description *string `json:"description,omitempty"`
// Name The VPC's display name.
Name string `json:"name"`
}
PublicVpcCreateRequest A new VPC to create.
type PublicVpcDto ¶
type PublicVpcDto struct {
// CreatedAt Creation timestamp (ISO 8601 UTC).
//
// Examples: 2022-03-10T16:15:50Z
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Description, if set.
Description *string `json:"description,omitempty"`
// DnsServers DNS servers served to VMs in this VPC (comma-separated IPv4).
DnsServers *string `json:"dnsServers,omitempty"`
// Id Stable identifier.
Id *string `json:"id,omitempty"`
// Name Display name.
Name *string `json:"name,omitempty"`
// SearchDomain Search domain served to VMs in this VPC, if set.
SearchDomain *string `json:"searchDomain,omitempty"`
// Status Lifecycle status.
Status *string `json:"status,omitempty"`
}
PublicVpcDto A VPC in the customer's account.
type PublicVpcRenameRequest ¶
type PublicVpcRenameRequest struct {
// Name The new display name.
Name string `json:"name"`
}
PublicVpcRenameRequest A VPC rename.
type RateLimitState ¶
type RateLimitState struct {
Limit *int64 `json:"limit,omitempty"`
Remaining *int64 `json:"remaining,omitempty"`
ResetAt *int64 `json:"resetAt,omitempty"`
}
RateLimitState Sliding-window per-account rate limit, in requests per minute.
type RateLimitState1 ¶
type RateLimitState1 struct {
Limit *int64 `json:"limit,omitempty"`
Remaining *int64 `json:"remaining,omitempty"`
ResetAt *int64 `json:"resetAt,omitempty"`
}
RateLimitState1 Sliding-window rate limit, in requests per minute.
type ReadAiSandboxFileParams ¶
type ReadAiSandboxFileParams struct {
Path *string `form:"path,omitempty" json:"path,omitempty"`
}
ReadAiSandboxFileParams defines parameters for ReadAiSandboxFile.
type ReadAiSandboxFileResponse ¶
type ReadAiSandboxFileResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseReadAiSandboxFileResponse ¶
func ParseReadAiSandboxFileResponse(rsp *http.Response) (*ReadAiSandboxFileResponse, error)
ParseReadAiSandboxFileResponse parses an HTTP response from a ReadAiSandboxFileWithResponse call
func (ReadAiSandboxFileResponse) ContentType ¶
func (r ReadAiSandboxFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON401 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON403 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON404 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON409 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON429 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetApplicationproblemJSON500 ¶
func (r ReadAiSandboxFileResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ReadAiSandboxFileResponse) GetBody ¶
func (r ReadAiSandboxFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReadAiSandboxFileResponse) Status ¶
func (r ReadAiSandboxFileResponse) Status() string
Status returns HTTPResponse.Status
func (ReadAiSandboxFileResponse) StatusCode ¶
func (r ReadAiSandboxFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebootVmResponse ¶
type RebootVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RebootVmResponse202Headers
}
func ParseRebootVmResponse ¶
func ParseRebootVmResponse(rsp *http.Response) (*RebootVmResponse, error)
ParseRebootVmResponse parses an HTTP response from a RebootVmWithResponse call
func (RebootVmResponse) ContentType ¶
func (r RebootVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebootVmResponse) GetApplicationproblemJSON404 ¶
func (r RebootVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RebootVmResponse) GetApplicationproblemJSON409 ¶
func (r RebootVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RebootVmResponse) GetApplicationproblemJSON429 ¶
func (r RebootVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RebootVmResponse) GetApplicationproblemJSON500 ¶
func (r RebootVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RebootVmResponse) GetBody ¶
func (r RebootVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebootVmResponse) GetJSON202 ¶
func (r RebootVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RebootVmResponse) Status ¶
func (r RebootVmResponse) Status() string
Status returns HTTPResponse.Status
func (RebootVmResponse) StatusCode ¶
func (r RebootVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebootVmResponse202Headers ¶
type RebootVmResponse202Headers struct {
Location *string
}
RebootVmResponse202Headers the declared response headers of an HTTP 202 response for RebootVm
type RemovePlacementGroupMemberResponse ¶
type RemovePlacementGroupMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementGroupDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseRemovePlacementGroupMemberResponse ¶
func ParseRemovePlacementGroupMemberResponse(rsp *http.Response) (*RemovePlacementGroupMemberResponse, error)
ParseRemovePlacementGroupMemberResponse parses an HTTP response from a RemovePlacementGroupMemberWithResponse call
func (RemovePlacementGroupMemberResponse) ContentType ¶
func (r RemovePlacementGroupMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemovePlacementGroupMemberResponse) GetApplicationproblemJSON401 ¶
func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RemovePlacementGroupMemberResponse) GetApplicationproblemJSON403 ¶
func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RemovePlacementGroupMemberResponse) GetApplicationproblemJSON404 ¶
func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RemovePlacementGroupMemberResponse) GetApplicationproblemJSON429 ¶
func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RemovePlacementGroupMemberResponse) GetApplicationproblemJSON500 ¶
func (r RemovePlacementGroupMemberResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RemovePlacementGroupMemberResponse) GetBody ¶
func (r RemovePlacementGroupMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemovePlacementGroupMemberResponse) GetJSON200 ¶
func (r RemovePlacementGroupMemberResponse) GetJSON200() *PublicPlacementGroupDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RemovePlacementGroupMemberResponse) Status ¶
func (r RemovePlacementGroupMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemovePlacementGroupMemberResponse) StatusCode ¶
func (r RemovePlacementGroupMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveVmFromVipResponse ¶
type RemoveVmFromVipResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RemoveVmFromVipResponse202Headers
}
func ParseRemoveVmFromVipResponse ¶
func ParseRemoveVmFromVipResponse(rsp *http.Response) (*RemoveVmFromVipResponse, error)
ParseRemoveVmFromVipResponse parses an HTTP response from a RemoveVmFromVipWithResponse call
func (RemoveVmFromVipResponse) ContentType ¶
func (r RemoveVmFromVipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveVmFromVipResponse) GetApplicationproblemJSON401 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RemoveVmFromVipResponse) GetApplicationproblemJSON403 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RemoveVmFromVipResponse) GetApplicationproblemJSON404 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RemoveVmFromVipResponse) GetApplicationproblemJSON409 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RemoveVmFromVipResponse) GetApplicationproblemJSON429 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RemoveVmFromVipResponse) GetApplicationproblemJSON500 ¶
func (r RemoveVmFromVipResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RemoveVmFromVipResponse) GetBody ¶
func (r RemoveVmFromVipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveVmFromVipResponse) GetJSON202 ¶
func (r RemoveVmFromVipResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RemoveVmFromVipResponse) Status ¶
func (r RemoveVmFromVipResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveVmFromVipResponse) StatusCode ¶
func (r RemoveVmFromVipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveVmFromVipResponse202Headers ¶
type RemoveVmFromVipResponse202Headers struct {
Location *string
}
RemoveVmFromVipResponse202Headers the declared response headers of an HTTP 202 response for RemoveVmFromVip
type RenameVmJSONRequestBody ¶
type RenameVmJSONRequestBody = PublicRenameRequest
RenameVmJSONRequestBody defines body for RenameVm for application/json ContentType.
type RenameVmResponse ¶
type RenameVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RenameVmResponse202Headers
}
func ParseRenameVmResponse ¶
func ParseRenameVmResponse(rsp *http.Response) (*RenameVmResponse, error)
ParseRenameVmResponse parses an HTTP response from a RenameVmWithResponse call
func (RenameVmResponse) ContentType ¶
func (r RenameVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenameVmResponse) GetApplicationproblemJSON400 ¶
func (r RenameVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RenameVmResponse) GetApplicationproblemJSON403 ¶
func (r RenameVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RenameVmResponse) GetApplicationproblemJSON404 ¶
func (r RenameVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RenameVmResponse) GetApplicationproblemJSON409 ¶
func (r RenameVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RenameVmResponse) GetApplicationproblemJSON429 ¶
func (r RenameVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RenameVmResponse) GetApplicationproblemJSON500 ¶
func (r RenameVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RenameVmResponse) GetBody ¶
func (r RenameVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenameVmResponse) GetJSON202 ¶
func (r RenameVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RenameVmResponse) Status ¶
func (r RenameVmResponse) Status() string
Status returns HTTPResponse.Status
func (RenameVmResponse) StatusCode ¶
func (r RenameVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameVmResponse202Headers ¶
type RenameVmResponse202Headers struct {
Location *string
}
RenameVmResponse202Headers the declared response headers of an HTTP 202 response for RenameVm
type ReplaceBucketCorsJSONRequestBody ¶ added in v0.3.0
type ReplaceBucketCorsJSONRequestBody = PublicBucketCorsRequest
ReplaceBucketCorsJSONRequestBody defines body for ReplaceBucketCors for application/json ContentType.
type ReplaceBucketCorsResponse ¶ added in v0.3.0
type ReplaceBucketCorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketCorsDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseReplaceBucketCorsResponse ¶ added in v0.3.0
func ParseReplaceBucketCorsResponse(rsp *http.Response) (*ReplaceBucketCorsResponse, error)
ParseReplaceBucketCorsResponse parses an HTTP response from a ReplaceBucketCorsWithResponse call
func (ReplaceBucketCorsResponse) ContentType ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON409 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ReplaceBucketCorsResponse) GetBody ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReplaceBucketCorsResponse) GetJSON200 ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) GetJSON200() *PublicBucketCorsDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReplaceBucketCorsResponse) Status ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceBucketCorsResponse) StatusCode ¶ added in v0.3.0
func (r ReplaceBucketCorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceBucketLifecycleJSONRequestBody ¶ added in v0.3.0
type ReplaceBucketLifecycleJSONRequestBody = PublicBucketLifecycleRequest
ReplaceBucketLifecycleJSONRequestBody defines body for ReplaceBucketLifecycle for application/json ContentType.
type ReplaceBucketLifecycleResponse ¶ added in v0.3.0
type ReplaceBucketLifecycleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBucketLifecycleDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseReplaceBucketLifecycleResponse ¶ added in v0.3.0
func ParseReplaceBucketLifecycleResponse(rsp *http.Response) (*ReplaceBucketLifecycleResponse, error)
ParseReplaceBucketLifecycleResponse parses an HTTP response from a ReplaceBucketLifecycleWithResponse call
func (ReplaceBucketLifecycleResponse) ContentType ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON400 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON401 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON403 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON404 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON409 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON429 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetApplicationproblemJSON500 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ReplaceBucketLifecycleResponse) GetBody ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReplaceBucketLifecycleResponse) GetJSON200 ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) GetJSON200() *PublicBucketLifecycleDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReplaceBucketLifecycleResponse) Status ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceBucketLifecycleResponse) StatusCode ¶ added in v0.3.0
func (r ReplaceBucketLifecycleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendMemberInvitationResponse ¶
type ResendMemberInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseResendMemberInvitationResponse ¶
func ParseResendMemberInvitationResponse(rsp *http.Response) (*ResendMemberInvitationResponse, error)
ParseResendMemberInvitationResponse parses an HTTP response from a ResendMemberInvitationWithResponse call
func (ResendMemberInvitationResponse) ContentType ¶
func (r ResendMemberInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendMemberInvitationResponse) GetApplicationproblemJSON401 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON403 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON404 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON409 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON429 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON500 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ResendMemberInvitationResponse) GetApplicationproblemJSON503 ¶
func (r ResendMemberInvitationResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ResendMemberInvitationResponse) GetBody ¶
func (r ResendMemberInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendMemberInvitationResponse) Status ¶
func (r ResendMemberInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (ResendMemberInvitationResponse) StatusCode ¶
func (r ResendMemberInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeKubernetesClusterJSONRequestBody ¶
type ResizeKubernetesClusterJSONRequestBody = PublicKubernetesClusterResizeRequest
ResizeKubernetesClusterJSONRequestBody defines body for ResizeKubernetesCluster for application/json ContentType.
type ResizeKubernetesClusterParams ¶
type ResizeKubernetesClusterParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
ResizeKubernetesClusterParams defines parameters for ResizeKubernetesCluster.
type ResizeKubernetesClusterResponse ¶
type ResizeKubernetesClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ResizeKubernetesClusterResponse202Headers
}
func ParseResizeKubernetesClusterResponse ¶
func ParseResizeKubernetesClusterResponse(rsp *http.Response) (*ResizeKubernetesClusterResponse, error)
ParseResizeKubernetesClusterResponse parses an HTTP response from a ResizeKubernetesClusterWithResponse call
func (ResizeKubernetesClusterResponse) ContentType ¶
func (r ResizeKubernetesClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON400 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON401 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON403 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON404 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON409 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON422 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON429 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetApplicationproblemJSON500 ¶
func (r ResizeKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ResizeKubernetesClusterResponse) GetBody ¶
func (r ResizeKubernetesClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResizeKubernetesClusterResponse) GetJSON202 ¶
func (r ResizeKubernetesClusterResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ResizeKubernetesClusterResponse) Status ¶
func (r ResizeKubernetesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeKubernetesClusterResponse) StatusCode ¶
func (r ResizeKubernetesClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeKubernetesClusterResponse202Headers ¶
type ResizeKubernetesClusterResponse202Headers struct {
Location *string
}
ResizeKubernetesClusterResponse202Headers the declared response headers of an HTTP 202 response for ResizeKubernetesCluster
type ResizeVmJSONRequestBody ¶
type ResizeVmJSONRequestBody = PublicResizeRequest
ResizeVmJSONRequestBody defines body for ResizeVm for application/json ContentType.
type ResizeVmParams ¶
type ResizeVmParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
ResizeVmParams defines parameters for ResizeVm.
type ResizeVmResponse ¶
type ResizeVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ResizeVmResponse202Headers
}
func ParseResizeVmResponse ¶
func ParseResizeVmResponse(rsp *http.Response) (*ResizeVmResponse, error)
ParseResizeVmResponse parses an HTTP response from a ResizeVmWithResponse call
func (ResizeVmResponse) ContentType ¶
func (r ResizeVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResizeVmResponse) GetApplicationproblemJSON400 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON401 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON403 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON404 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON409 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON429 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ResizeVmResponse) GetApplicationproblemJSON500 ¶
func (r ResizeVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ResizeVmResponse) GetBody ¶
func (r ResizeVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResizeVmResponse) GetJSON202 ¶
func (r ResizeVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ResizeVmResponse) Status ¶
func (r ResizeVmResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeVmResponse) StatusCode ¶
func (r ResizeVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeVmResponse202Headers ¶
type ResizeVmResponse202Headers struct {
Location *string
}
ResizeVmResponse202Headers the declared response headers of an HTTP 202 response for ResizeVm
type ResolveSupportTicketResponse ¶
type ResolveSupportTicketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSupportTicketDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
}
func ParseResolveSupportTicketResponse ¶
func ParseResolveSupportTicketResponse(rsp *http.Response) (*ResolveSupportTicketResponse, error)
ParseResolveSupportTicketResponse parses an HTTP response from a ResolveSupportTicketWithResponse call
func (ResolveSupportTicketResponse) ContentType ¶
func (r ResolveSupportTicketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveSupportTicketResponse) GetApplicationproblemJSON401 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON403 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON404 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON409 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON429 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON500 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ResolveSupportTicketResponse) GetApplicationproblemJSON503 ¶
func (r ResolveSupportTicketResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ResolveSupportTicketResponse) GetBody ¶
func (r ResolveSupportTicketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResolveSupportTicketResponse) GetJSON200 ¶
func (r ResolveSupportTicketResponse) GetJSON200() *PublicSupportTicketDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResolveSupportTicketResponse) Status ¶
func (r ResolveSupportTicketResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveSupportTicketResponse) StatusCode ¶
func (r ResolveSupportTicketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestartKubernetesClusterNodesResponse ¶
type RestartKubernetesClusterNodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RestartKubernetesClusterNodesResponse202Headers
}
func ParseRestartKubernetesClusterNodesResponse ¶
func ParseRestartKubernetesClusterNodesResponse(rsp *http.Response) (*RestartKubernetesClusterNodesResponse, error)
ParseRestartKubernetesClusterNodesResponse parses an HTTP response from a RestartKubernetesClusterNodesWithResponse call
func (RestartKubernetesClusterNodesResponse) ContentType ¶
func (r RestartKubernetesClusterNodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON401 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON403 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON404 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON409 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON429 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON500 ¶
func (r RestartKubernetesClusterNodesResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RestartKubernetesClusterNodesResponse) GetBody ¶
func (r RestartKubernetesClusterNodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestartKubernetesClusterNodesResponse) GetJSON202 ¶
func (r RestartKubernetesClusterNodesResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RestartKubernetesClusterNodesResponse) Status ¶
func (r RestartKubernetesClusterNodesResponse) Status() string
Status returns HTTPResponse.Status
func (RestartKubernetesClusterNodesResponse) StatusCode ¶
func (r RestartKubernetesClusterNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestartKubernetesClusterNodesResponse202Headers ¶
type RestartKubernetesClusterNodesResponse202Headers struct {
Location *string
}
RestartKubernetesClusterNodesResponse202Headers the declared response headers of an HTTP 202 response for RestartKubernetesClusterNodes
type RestoreVmBackupToNewVmJSONRequestBody ¶
type RestoreVmBackupToNewVmJSONRequestBody = PublicRestoreToNewVmRequest
RestoreVmBackupToNewVmJSONRequestBody defines body for RestoreVmBackupToNewVm for application/json ContentType.
type RestoreVmBackupToNewVmParams ¶
type RestoreVmBackupToNewVmParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
RestoreVmBackupToNewVmParams defines parameters for RestoreVmBackupToNewVm.
type RestoreVmBackupToNewVmResponse ¶
type RestoreVmBackupToNewVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RestoreVmBackupToNewVmResponse202Headers
}
func ParseRestoreVmBackupToNewVmResponse ¶
func ParseRestoreVmBackupToNewVmResponse(rsp *http.Response) (*RestoreVmBackupToNewVmResponse, error)
ParseRestoreVmBackupToNewVmResponse parses an HTTP response from a RestoreVmBackupToNewVmWithResponse call
func (RestoreVmBackupToNewVmResponse) ContentType ¶
func (r RestoreVmBackupToNewVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON400 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON401 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON403 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON404 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON409 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON422 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON429 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON500 ¶
func (r RestoreVmBackupToNewVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RestoreVmBackupToNewVmResponse) GetBody ¶
func (r RestoreVmBackupToNewVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreVmBackupToNewVmResponse) GetJSON202 ¶
func (r RestoreVmBackupToNewVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RestoreVmBackupToNewVmResponse) Status ¶
func (r RestoreVmBackupToNewVmResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreVmBackupToNewVmResponse) StatusCode ¶
func (r RestoreVmBackupToNewVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreVmBackupToNewVmResponse202Headers ¶
type RestoreVmBackupToNewVmResponse202Headers struct {
Location *string
}
RestoreVmBackupToNewVmResponse202Headers the declared response headers of an HTTP 202 response for RestoreVmBackupToNewVm
type RestoreVmJSONRequestBody ¶
type RestoreVmJSONRequestBody = PublicRestoreRequest
RestoreVmJSONRequestBody defines body for RestoreVm for application/json ContentType.
type RestoreVmResponse ¶
type RestoreVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *RestoreVmResponse202Headers
}
func ParseRestoreVmResponse ¶
func ParseRestoreVmResponse(rsp *http.Response) (*RestoreVmResponse, error)
ParseRestoreVmResponse parses an HTTP response from a RestoreVmWithResponse call
func (RestoreVmResponse) ContentType ¶
func (r RestoreVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreVmResponse) GetApplicationproblemJSON400 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RestoreVmResponse) GetApplicationproblemJSON403 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RestoreVmResponse) GetApplicationproblemJSON404 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RestoreVmResponse) GetApplicationproblemJSON409 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RestoreVmResponse) GetApplicationproblemJSON429 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RestoreVmResponse) GetApplicationproblemJSON500 ¶
func (r RestoreVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RestoreVmResponse) GetBody ¶
func (r RestoreVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreVmResponse) GetJSON202 ¶
func (r RestoreVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RestoreVmResponse) Status ¶
func (r RestoreVmResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreVmResponse) StatusCode ¶
func (r RestoreVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreVmResponse202Headers ¶
type RestoreVmResponse202Headers struct {
Location *string
}
RestoreVmResponse202Headers the declared response headers of an HTTP 202 response for RestoreVm
type ResumeAiSandboxResponse ¶
type ResumeAiSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseResumeAiSandboxResponse ¶
func ParseResumeAiSandboxResponse(rsp *http.Response) (*ResumeAiSandboxResponse, error)
ParseResumeAiSandboxResponse parses an HTTP response from a ResumeAiSandboxWithResponse call
func (ResumeAiSandboxResponse) ContentType ¶
func (r ResumeAiSandboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeAiSandboxResponse) GetApplicationproblemJSON401 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResumeAiSandboxResponse) GetApplicationproblemJSON403 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ResumeAiSandboxResponse) GetApplicationproblemJSON404 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ResumeAiSandboxResponse) GetApplicationproblemJSON409 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResumeAiSandboxResponse) GetApplicationproblemJSON429 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ResumeAiSandboxResponse) GetApplicationproblemJSON500 ¶
func (r ResumeAiSandboxResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ResumeAiSandboxResponse) GetBody ¶
func (r ResumeAiSandboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResumeAiSandboxResponse) GetJSON200 ¶
func (r ResumeAiSandboxResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResumeAiSandboxResponse) Status ¶
func (r ResumeAiSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeAiSandboxResponse) StatusCode ¶
func (r ResumeAiSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Retention ¶
type Retention struct {
KeepDaily *int32 `json:"keepDaily,omitempty"`
KeepLast *int32 `json:"keepLast,omitempty"`
KeepMonthly *int32 `json:"keepMonthly,omitempty"`
KeepWeekly *int32 `json:"keepWeekly,omitempty"`
KeepYearly *int32 `json:"keepYearly,omitempty"`
}
Retention How many backups to keep, at each granularity. Each is null when that tier does not apply.
type Retention1 ¶
type Retention1 struct {
KeepDaily *int32 `json:"keepDaily,omitempty"`
KeepLast *int32 `json:"keepLast,omitempty"`
KeepMonthly *int32 `json:"keepMonthly,omitempty"`
KeepWeekly *int32 `json:"keepWeekly,omitempty"`
KeepYearly *int32 `json:"keepYearly,omitempty"`
}
Retention1 How many backups to keep, at each granularity. Each is null when that tier does not apply.
type RevealBucketKeySecretResponse ¶
type RevealBucketKeySecretResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicRevealedKeySecretDto
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseRevealBucketKeySecretResponse ¶
func ParseRevealBucketKeySecretResponse(rsp *http.Response) (*RevealBucketKeySecretResponse, error)
ParseRevealBucketKeySecretResponse parses an HTTP response from a RevealBucketKeySecretWithResponse call
func (RevealBucketKeySecretResponse) ContentType ¶
func (r RevealBucketKeySecretResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevealBucketKeySecretResponse) GetApplicationproblemJSON401 ¶
func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RevealBucketKeySecretResponse) GetApplicationproblemJSON403 ¶
func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RevealBucketKeySecretResponse) GetApplicationproblemJSON404 ¶
func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RevealBucketKeySecretResponse) GetApplicationproblemJSON429 ¶
func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RevealBucketKeySecretResponse) GetApplicationproblemJSON500 ¶
func (r RevealBucketKeySecretResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RevealBucketKeySecretResponse) GetBody ¶
func (r RevealBucketKeySecretResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevealBucketKeySecretResponse) GetJSON200 ¶
func (r RevealBucketKeySecretResponse) GetJSON200() *PublicRevealedKeySecretDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevealBucketKeySecretResponse) Status ¶
func (r RevealBucketKeySecretResponse) Status() string
Status returns HTTPResponse.Status
func (RevealBucketKeySecretResponse) StatusCode ¶
func (r RevealBucketKeySecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeBucketKeyBucketAccessResponse ¶
type RevokeBucketKeyBucketAccessResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseRevokeBucketKeyBucketAccessResponse ¶
func ParseRevokeBucketKeyBucketAccessResponse(rsp *http.Response) (*RevokeBucketKeyBucketAccessResponse, error)
ParseRevokeBucketKeyBucketAccessResponse parses an HTTP response from a RevokeBucketKeyBucketAccessWithResponse call
func (RevokeBucketKeyBucketAccessResponse) ContentType ¶
func (r RevokeBucketKeyBucketAccessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON401 ¶
func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON403 ¶
func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON404 ¶
func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON429 ¶
func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON500 ¶
func (r RevokeBucketKeyBucketAccessResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (RevokeBucketKeyBucketAccessResponse) GetBody ¶
func (r RevokeBucketKeyBucketAccessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeBucketKeyBucketAccessResponse) Status ¶
func (r RevokeBucketKeyBucketAccessResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeBucketKeyBucketAccessResponse) StatusCode ¶
func (r RevokeBucketKeyBucketAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SaveAiSandboxTemplateJSONBody ¶
type SaveAiSandboxTemplateJSONBody = map[string]interface{}
SaveAiSandboxTemplateJSONBody defines parameters for SaveAiSandboxTemplate.
type SaveAiSandboxTemplateJSONRequestBody ¶
type SaveAiSandboxTemplateJSONRequestBody = SaveAiSandboxTemplateJSONBody
SaveAiSandboxTemplateJSONRequestBody defines body for SaveAiSandboxTemplate for application/json ContentType.
type SaveAiSandboxTemplateParams ¶
type SaveAiSandboxTemplateParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
SaveAiSandboxTemplateParams defines parameters for SaveAiSandboxTemplate.
type SaveAiSandboxTemplateResponse ¶
type SaveAiSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *map[string]interface{}
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *SaveAiSandboxTemplateResponse202Headers
}
func ParseSaveAiSandboxTemplateResponse ¶
func ParseSaveAiSandboxTemplateResponse(rsp *http.Response) (*SaveAiSandboxTemplateResponse, error)
ParseSaveAiSandboxTemplateResponse parses an HTTP response from a SaveAiSandboxTemplateWithResponse call
func (SaveAiSandboxTemplateResponse) ContentType ¶
func (r SaveAiSandboxTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON400 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON401 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON403 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON404 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON409 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON429 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON500 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetApplicationproblemJSON503 ¶
func (r SaveAiSandboxTemplateResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SaveAiSandboxTemplateResponse) GetBody ¶
func (r SaveAiSandboxTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SaveAiSandboxTemplateResponse) GetJSON202 ¶
func (r SaveAiSandboxTemplateResponse) GetJSON202() *map[string]interface{}
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SaveAiSandboxTemplateResponse) Status ¶
func (r SaveAiSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (SaveAiSandboxTemplateResponse) StatusCode ¶
func (r SaveAiSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SaveAiSandboxTemplateResponse202Headers ¶
type SaveAiSandboxTemplateResponse202Headers struct {
Location *string
}
SaveAiSandboxTemplateResponse202Headers the declared response headers of an HTTP 202 response for SaveAiSandboxTemplate
type ScaleKubernetesClusterJSONRequestBody ¶
type ScaleKubernetesClusterJSONRequestBody = PublicKubernetesClusterScaleRequest
ScaleKubernetesClusterJSONRequestBody defines body for ScaleKubernetesCluster for application/json ContentType.
type ScaleKubernetesClusterParams ¶
type ScaleKubernetesClusterParams struct {
// IdempotencyKey Client-chosen key, 1-255 printable ASCII characters, unique per logical request. A retry under the same key replays the first outcome instead of repeating the write: 409 while the first call is still in flight, and 422 if the key is reused for a different request.
IdempotencyKey string `json:"Idempotency-Key"`
}
ScaleKubernetesClusterParams defines parameters for ScaleKubernetesCluster.
type ScaleKubernetesClusterResponse ¶
type ScaleKubernetesClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ScaleKubernetesClusterResponse202Headers
}
func ParseScaleKubernetesClusterResponse ¶
func ParseScaleKubernetesClusterResponse(rsp *http.Response) (*ScaleKubernetesClusterResponse, error)
ParseScaleKubernetesClusterResponse parses an HTTP response from a ScaleKubernetesClusterWithResponse call
func (ScaleKubernetesClusterResponse) ContentType ¶
func (r ScaleKubernetesClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON400 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON401 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON403 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON404 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON409 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON422 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON422() *ProblemDetail
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON429 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetApplicationproblemJSON500 ¶
func (r ScaleKubernetesClusterResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ScaleKubernetesClusterResponse) GetBody ¶
func (r ScaleKubernetesClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ScaleKubernetesClusterResponse) GetJSON200 ¶
func (r ScaleKubernetesClusterResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ScaleKubernetesClusterResponse) GetJSON202 ¶
func (r ScaleKubernetesClusterResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ScaleKubernetesClusterResponse) Status ¶
func (r ScaleKubernetesClusterResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleKubernetesClusterResponse) StatusCode ¶
func (r ScaleKubernetesClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleKubernetesClusterResponse202Headers ¶
type ScaleKubernetesClusterResponse202Headers struct {
Location *string
}
ScaleKubernetesClusterResponse202Headers the declared response headers of an HTTP 202 response for ScaleKubernetesCluster
type SetDefaultCardResponse ¶
type SetDefaultCardResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseSetDefaultCardResponse ¶
func ParseSetDefaultCardResponse(rsp *http.Response) (*SetDefaultCardResponse, error)
ParseSetDefaultCardResponse parses an HTTP response from a SetDefaultCardWithResponse call
func (SetDefaultCardResponse) ContentType ¶
func (r SetDefaultCardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetDefaultCardResponse) GetApplicationproblemJSON401 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetDefaultCardResponse) GetApplicationproblemJSON403 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (SetDefaultCardResponse) GetApplicationproblemJSON404 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetDefaultCardResponse) GetApplicationproblemJSON409 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetDefaultCardResponse) GetApplicationproblemJSON429 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (SetDefaultCardResponse) GetApplicationproblemJSON500 ¶
func (r SetDefaultCardResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (SetDefaultCardResponse) GetBody ¶
func (r SetDefaultCardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetDefaultCardResponse) Status ¶
func (r SetDefaultCardResponse) Status() string
Status returns HTTPResponse.Status
func (SetDefaultCardResponse) StatusCode ¶
func (r SetDefaultCardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetVpcVipFirewallRuleDescriptionJSONRequestBody ¶
type SetVpcVipFirewallRuleDescriptionJSONRequestBody = PublicFirewallDescriptionRequest
SetVpcVipFirewallRuleDescriptionJSONRequestBody defines body for SetVpcVipFirewallRuleDescription for application/json ContentType.
type SetVpcVipFirewallRuleDescriptionResponse ¶
type SetVpcVipFirewallRuleDescriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *SetVpcVipFirewallRuleDescriptionResponse202Headers
}
func ParseSetVpcVipFirewallRuleDescriptionResponse ¶
func ParseSetVpcVipFirewallRuleDescriptionResponse(rsp *http.Response) (*SetVpcVipFirewallRuleDescriptionResponse, error)
ParseSetVpcVipFirewallRuleDescriptionResponse parses an HTTP response from a SetVpcVipFirewallRuleDescriptionWithResponse call
func (SetVpcVipFirewallRuleDescriptionResponse) ContentType ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON400 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON401 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON403 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON404 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON409 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON429 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON500 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (SetVpcVipFirewallRuleDescriptionResponse) GetBody ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetVpcVipFirewallRuleDescriptionResponse) GetJSON202 ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SetVpcVipFirewallRuleDescriptionResponse) Status ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (SetVpcVipFirewallRuleDescriptionResponse) StatusCode ¶
func (r SetVpcVipFirewallRuleDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetVpcVipFirewallRuleDescriptionResponse202Headers ¶
type SetVpcVipFirewallRuleDescriptionResponse202Headers struct {
Location *string
}
SetVpcVipFirewallRuleDescriptionResponse202Headers the declared response headers of an HTTP 202 response for SetVpcVipFirewallRuleDescription
type ShutdownVmParams ¶
type ShutdownVmParams struct {
// Timeout Seconds to wait for the guest before giving up. Default 60.
Timeout *int32 `form:"timeout,omitempty" json:"timeout,omitempty"`
}
ShutdownVmParams defines parameters for ShutdownVm.
type ShutdownVmResponse ¶
type ShutdownVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ShutdownVmResponse202Headers
}
func ParseShutdownVmResponse ¶
func ParseShutdownVmResponse(rsp *http.Response) (*ShutdownVmResponse, error)
ParseShutdownVmResponse parses an HTTP response from a ShutdownVmWithResponse call
func (ShutdownVmResponse) ContentType ¶
func (r ShutdownVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ShutdownVmResponse) GetApplicationproblemJSON404 ¶
func (r ShutdownVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ShutdownVmResponse) GetApplicationproblemJSON409 ¶
func (r ShutdownVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ShutdownVmResponse) GetApplicationproblemJSON429 ¶
func (r ShutdownVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ShutdownVmResponse) GetApplicationproblemJSON500 ¶
func (r ShutdownVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (ShutdownVmResponse) GetBody ¶
func (r ShutdownVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ShutdownVmResponse) GetJSON202 ¶
func (r ShutdownVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ShutdownVmResponse) Status ¶
func (r ShutdownVmResponse) Status() string
Status returns HTTPResponse.Status
func (ShutdownVmResponse) StatusCode ¶
func (r ShutdownVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ShutdownVmResponse202Headers ¶
type ShutdownVmResponse202Headers struct {
Location *string
}
ShutdownVmResponse202Headers the declared response headers of an HTTP 202 response for ShutdownVm
type StartVmResponse ¶
type StartVmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *StartVmResponse202Headers
}
func ParseStartVmResponse ¶
func ParseStartVmResponse(rsp *http.Response) (*StartVmResponse, error)
ParseStartVmResponse parses an HTTP response from a StartVmWithResponse call
func (StartVmResponse) ContentType ¶
func (r StartVmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartVmResponse) GetApplicationproblemJSON404 ¶
func (r StartVmResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (StartVmResponse) GetApplicationproblemJSON409 ¶
func (r StartVmResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (StartVmResponse) GetApplicationproblemJSON429 ¶
func (r StartVmResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (StartVmResponse) GetApplicationproblemJSON500 ¶
func (r StartVmResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (StartVmResponse) GetBody ¶
func (r StartVmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartVmResponse) GetJSON202 ¶
func (r StartVmResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (StartVmResponse) Status ¶
func (r StartVmResponse) Status() string
Status returns HTTPResponse.Status
func (StartVmResponse) StatusCode ¶
func (r StartVmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartVmResponse202Headers ¶
type StartVmResponse202Headers struct {
Location *string
}
StartVmResponse202Headers the declared response headers of an HTTP 202 response for StartVm
type Status ¶
type Status struct {
ExpirationTimestamp *string `json:"expirationTimestamp,omitempty"`
Token *string `json:"token,omitempty"`
}
Status defines model for Status.
type Target ¶
type Target struct {
// Id The resource identifier.
Id *string `json:"id,omitempty"`
// Type The resource type, e.g. "vm".
Type *string `json:"type,omitempty"`
}
Target defines model for Target.
type TokenSource ¶
TokenSource supplies the bearer credential for each request. The client asks again on every attempt, so a source that refreshes an expiring token takes effect mid-retry. Token is called once a concurrency slot is held, so up to the client's concurrency of calls may run at once; an implementation that caches must be safe for concurrent use.
func StaticToken ¶
func StaticToken(token string) TokenSource
StaticToken is a TokenSource for a fixed credential, such as a cak_ API token. New refuses an empty one.
type TokenSourceFunc ¶
TokenSourceFunc adapts a function to TokenSource.
type UpdateBillingDetailsJSONRequestBody ¶
type UpdateBillingDetailsJSONRequestBody = PublicBillingDetailsRequest
UpdateBillingDetailsJSONRequestBody defines body for UpdateBillingDetails for application/json ContentType.
type UpdateBillingDetailsResponse ¶
type UpdateBillingDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateBillingDetailsResponse ¶
func ParseUpdateBillingDetailsResponse(rsp *http.Response) (*UpdateBillingDetailsResponse, error)
ParseUpdateBillingDetailsResponse parses an HTTP response from a UpdateBillingDetailsWithResponse call
func (UpdateBillingDetailsResponse) ContentType ¶
func (r UpdateBillingDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON400 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON401 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON403 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON409 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON429 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetApplicationproblemJSON500 ¶
func (r UpdateBillingDetailsResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateBillingDetailsResponse) GetBody ¶
func (r UpdateBillingDetailsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateBillingDetailsResponse) Status ¶
func (r UpdateBillingDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBillingDetailsResponse) StatusCode ¶
func (r UpdateBillingDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBucketVersioningJSONRequestBody ¶
type UpdateBucketVersioningJSONRequestBody = PublicBucketVersioningRequest
UpdateBucketVersioningJSONRequestBody defines body for UpdateBucketVersioning for application/json ContentType.
type UpdateBucketVersioningResponse ¶
type UpdateBucketVersioningResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateBucketVersioningResponse ¶
func ParseUpdateBucketVersioningResponse(rsp *http.Response) (*UpdateBucketVersioningResponse, error)
ParseUpdateBucketVersioningResponse parses an HTTP response from a UpdateBucketVersioningWithResponse call
func (UpdateBucketVersioningResponse) ContentType ¶
func (r UpdateBucketVersioningResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON400 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON401 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON403 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON404 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON429 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetApplicationproblemJSON500 ¶
func (r UpdateBucketVersioningResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateBucketVersioningResponse) GetBody ¶
func (r UpdateBucketVersioningResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateBucketVersioningResponse) Status ¶
func (r UpdateBucketVersioningResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBucketVersioningResponse) StatusCode ¶
func (r UpdateBucketVersioningResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMemberRoleJSONRequestBody ¶
type UpdateMemberRoleJSONRequestBody = PublicMemberRoleRequest
UpdateMemberRoleJSONRequestBody defines body for UpdateMemberRole for application/json ContentType.
type UpdateMemberRoleResponse ¶
type UpdateMemberRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateMemberRoleResponse ¶
func ParseUpdateMemberRoleResponse(rsp *http.Response) (*UpdateMemberRoleResponse, error)
ParseUpdateMemberRoleResponse parses an HTTP response from a UpdateMemberRoleWithResponse call
func (UpdateMemberRoleResponse) ContentType ¶
func (r UpdateMemberRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMemberRoleResponse) GetApplicationproblemJSON400 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateMemberRoleResponse) GetApplicationproblemJSON401 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateMemberRoleResponse) GetApplicationproblemJSON403 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateMemberRoleResponse) GetApplicationproblemJSON404 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateMemberRoleResponse) GetApplicationproblemJSON429 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateMemberRoleResponse) GetApplicationproblemJSON500 ¶
func (r UpdateMemberRoleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateMemberRoleResponse) GetBody ¶
func (r UpdateMemberRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMemberRoleResponse) Status ¶
func (r UpdateMemberRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMemberRoleResponse) StatusCode ¶
func (r UpdateMemberRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectJSONRequestBody ¶
type UpdateProjectJSONRequestBody = PublicProjectNameRequest
UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.
type UpdateProjectResponse ¶
type UpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicProjectDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateProjectResponse ¶
func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)
ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call
func (UpdateProjectResponse) ContentType ¶
func (r UpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProjectResponse) GetApplicationproblemJSON400 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON401 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON403 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON404 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON409 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON429 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateProjectResponse) GetApplicationproblemJSON500 ¶
func (r UpdateProjectResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateProjectResponse) GetBody ¶
func (r UpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateProjectResponse) GetJSON200 ¶
func (r UpdateProjectResponse) GetJSON200() *PublicProjectDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateProjectResponse) Status ¶
func (r UpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectResponse) StatusCode ¶
func (r UpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSshKeyJSONRequestBody ¶
type UpdateSshKeyJSONRequestBody = PublicRenameSshKeyRequest
UpdateSshKeyJSONRequestBody defines body for UpdateSshKey for application/json ContentType.
type UpdateSshKeyResponse ¶
type UpdateSshKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSshKeyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateSshKeyResponse ¶
func ParseUpdateSshKeyResponse(rsp *http.Response) (*UpdateSshKeyResponse, error)
ParseUpdateSshKeyResponse parses an HTTP response from a UpdateSshKeyWithResponse call
func (UpdateSshKeyResponse) ContentType ¶
func (r UpdateSshKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSshKeyResponse) GetApplicationproblemJSON400 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateSshKeyResponse) GetApplicationproblemJSON401 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateSshKeyResponse) GetApplicationproblemJSON403 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateSshKeyResponse) GetApplicationproblemJSON404 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateSshKeyResponse) GetApplicationproblemJSON429 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateSshKeyResponse) GetApplicationproblemJSON500 ¶
func (r UpdateSshKeyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateSshKeyResponse) GetBody ¶
func (r UpdateSshKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSshKeyResponse) GetJSON200 ¶
func (r UpdateSshKeyResponse) GetJSON200() *PublicSshKeyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSshKeyResponse) Status ¶
func (r UpdateSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSshKeyResponse) StatusCode ¶
func (r UpdateSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVmBackupPolicyJSONRequestBody ¶
type UpdateVmBackupPolicyJSONRequestBody = PublicBackupPolicyRequest
UpdateVmBackupPolicyJSONRequestBody defines body for UpdateVmBackupPolicy for application/json ContentType.
type UpdateVmBackupPolicyResponse ¶
type UpdateVmBackupPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBackupPolicyDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateVmBackupPolicyResponse ¶
func ParseUpdateVmBackupPolicyResponse(rsp *http.Response) (*UpdateVmBackupPolicyResponse, error)
ParseUpdateVmBackupPolicyResponse parses an HTTP response from a UpdateVmBackupPolicyWithResponse call
func (UpdateVmBackupPolicyResponse) ContentType ¶
func (r UpdateVmBackupPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON400 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON401 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON403 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON404 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON409 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON429 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetApplicationproblemJSON500 ¶
func (r UpdateVmBackupPolicyResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateVmBackupPolicyResponse) GetBody ¶
func (r UpdateVmBackupPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVmBackupPolicyResponse) GetJSON200 ¶
func (r UpdateVmBackupPolicyResponse) GetJSON200() *PublicBackupPolicyDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateVmBackupPolicyResponse) Status ¶
func (r UpdateVmBackupPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVmBackupPolicyResponse) StatusCode ¶
func (r UpdateVmBackupPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVmBackupProtectionJSONRequestBody ¶
type UpdateVmBackupProtectionJSONRequestBody = PublicSetBackupProtectedRequest
UpdateVmBackupProtectionJSONRequestBody defines body for UpdateVmBackupProtection for application/json ContentType.
type UpdateVmBackupProtectionResponse ¶
type UpdateVmBackupProtectionResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateVmBackupProtectionResponse ¶
func ParseUpdateVmBackupProtectionResponse(rsp *http.Response) (*UpdateVmBackupProtectionResponse, error)
ParseUpdateVmBackupProtectionResponse parses an HTTP response from a UpdateVmBackupProtectionWithResponse call
func (UpdateVmBackupProtectionResponse) ContentType ¶
func (r UpdateVmBackupProtectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON400 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON401 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON403 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON404 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON409 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON429 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetApplicationproblemJSON500 ¶
func (r UpdateVmBackupProtectionResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateVmBackupProtectionResponse) GetBody ¶
func (r UpdateVmBackupProtectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVmBackupProtectionResponse) Status ¶
func (r UpdateVmBackupProtectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVmBackupProtectionResponse) StatusCode ¶
func (r UpdateVmBackupProtectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVmFirewallRuleJSONRequestBody ¶
type UpdateVmFirewallRuleJSONRequestBody = PublicFirewallRuleRequest
UpdateVmFirewallRuleJSONRequestBody defines body for UpdateVmFirewallRule for application/json ContentType.
type UpdateVmFirewallRuleResponse ¶
type UpdateVmFirewallRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *UpdateVmFirewallRuleResponse202Headers
}
func ParseUpdateVmFirewallRuleResponse ¶
func ParseUpdateVmFirewallRuleResponse(rsp *http.Response) (*UpdateVmFirewallRuleResponse, error)
ParseUpdateVmFirewallRuleResponse parses an HTTP response from a UpdateVmFirewallRuleWithResponse call
func (UpdateVmFirewallRuleResponse) ContentType ¶
func (r UpdateVmFirewallRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON400 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON401 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON403 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON404 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON409 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON429 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetApplicationproblemJSON500 ¶
func (r UpdateVmFirewallRuleResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateVmFirewallRuleResponse) GetBody ¶
func (r UpdateVmFirewallRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVmFirewallRuleResponse) GetJSON202 ¶
func (r UpdateVmFirewallRuleResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdateVmFirewallRuleResponse) Status ¶
func (r UpdateVmFirewallRuleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVmFirewallRuleResponse) StatusCode ¶
func (r UpdateVmFirewallRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVmFirewallRuleResponse202Headers ¶
type UpdateVmFirewallRuleResponse202Headers struct {
Location *string
}
UpdateVmFirewallRuleResponse202Headers the declared response headers of an HTTP 202 response for UpdateVmFirewallRule
type UpdateVpcJSONRequestBody ¶
type UpdateVpcJSONRequestBody = PublicVpcRenameRequest
UpdateVpcJSONRequestBody defines body for UpdateVpc for application/json ContentType.
type UpdateVpcResponse ¶
type UpdateVpcResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVpcDto
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseUpdateVpcResponse ¶
func ParseUpdateVpcResponse(rsp *http.Response) (*UpdateVpcResponse, error)
ParseUpdateVpcResponse parses an HTTP response from a UpdateVpcWithResponse call
func (UpdateVpcResponse) ContentType ¶
func (r UpdateVpcResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVpcResponse) GetApplicationproblemJSON400 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateVpcResponse) GetApplicationproblemJSON401 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateVpcResponse) GetApplicationproblemJSON403 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpdateVpcResponse) GetApplicationproblemJSON404 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateVpcResponse) GetApplicationproblemJSON429 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpdateVpcResponse) GetApplicationproblemJSON500 ¶
func (r UpdateVpcResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpdateVpcResponse) GetBody ¶
func (r UpdateVpcResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVpcResponse) GetJSON200 ¶
func (r UpdateVpcResponse) GetJSON200() *PublicVpcDto
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateVpcResponse) Status ¶
func (r UpdateVpcResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVpcResponse) StatusCode ¶
func (r UpdateVpcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeKubernetesClusterWorkersJSONRequestBody ¶ added in v0.2.0
type UpgradeKubernetesClusterWorkersJSONRequestBody = PublicKubernetesClusterUpgradeWorkersRequest
UpgradeKubernetesClusterWorkersJSONRequestBody defines body for UpgradeKubernetesClusterWorkers for application/json ContentType.
type UpgradeKubernetesClusterWorkersResponse ¶ added in v0.2.0
type UpgradeKubernetesClusterWorkersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *OperationAccepted
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ProblemDetail
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *UpgradeKubernetesClusterWorkersResponse202Headers
}
func ParseUpgradeKubernetesClusterWorkersResponse ¶ added in v0.2.0
func ParseUpgradeKubernetesClusterWorkersResponse(rsp *http.Response) (*UpgradeKubernetesClusterWorkersResponse, error)
ParseUpgradeKubernetesClusterWorkersResponse parses an HTTP response from a UpgradeKubernetesClusterWorkersWithResponse call
func (UpgradeKubernetesClusterWorkersResponse) ContentType ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON400 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON401 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON403 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON404 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON409 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON429 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON500 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON503 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetApplicationproblemJSON503() *ProblemDetail
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (UpgradeKubernetesClusterWorkersResponse) GetBody ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpgradeKubernetesClusterWorkersResponse) GetJSON202 ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) GetJSON202() *OperationAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpgradeKubernetesClusterWorkersResponse) Status ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeKubernetesClusterWorkersResponse) StatusCode ¶ added in v0.2.0
func (r UpgradeKubernetesClusterWorkersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeKubernetesClusterWorkersResponse202Headers ¶ added in v0.2.0
type UpgradeKubernetesClusterWorkersResponse202Headers struct {
Location *string
}
UpgradeKubernetesClusterWorkersResponse202Headers the declared response headers of an HTTP 202 response for UpgradeKubernetesClusterWorkers
type Violation ¶
type Violation struct {
Code *string `json:"code,omitempty"`
Field *string `json:"field,omitempty"`
Message *string `json:"message,omitempty"`
}
Violation defines model for Violation.
type WriteAiSandboxFileParams ¶
type WriteAiSandboxFileParams struct {
Mode *string `form:"mode,omitempty" json:"mode,omitempty"`
Path *string `form:"path,omitempty" json:"path,omitempty"`
}
WriteAiSandboxFileParams defines parameters for WriteAiSandboxFile.
type WriteAiSandboxFileResponse ¶
type WriteAiSandboxFileResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ProblemDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ProblemDetail
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ProblemDetail
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ProblemDetail
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ProblemDetail
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *ProblemDetail
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ProblemDetail
}
func ParseWriteAiSandboxFileResponse ¶
func ParseWriteAiSandboxFileResponse(rsp *http.Response) (*WriteAiSandboxFileResponse, error)
ParseWriteAiSandboxFileResponse parses an HTTP response from a WriteAiSandboxFileWithResponse call
func (WriteAiSandboxFileResponse) ContentType ¶
func (r WriteAiSandboxFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON400 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON400() *ProblemDetail
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON401 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON401() *ProblemDetail
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON403 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON403() *ProblemDetail
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON404 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON404() *ProblemDetail
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON409 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON409() *ProblemDetail
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON429 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON429() *ProblemDetail
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetApplicationproblemJSON500 ¶
func (r WriteAiSandboxFileResponse) GetApplicationproblemJSON500() *ProblemDetail
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (WriteAiSandboxFileResponse) GetBody ¶
func (r WriteAiSandboxFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WriteAiSandboxFileResponse) Status ¶
func (r WriteAiSandboxFileResponse) Status() string
Status returns HTTPResponse.Status
func (WriteAiSandboxFileResponse) StatusCode ¶
func (r WriteAiSandboxFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode