Documentation
¶
Overview ¶
Package snapdb provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.
Index ¶
- func NewDeleteBackupRequest(server string, datasourceId string, jobId string) (*http.Request, error)
- func NewDeleteDatasourceRequest(server string, id string, body DeleteDatasourceJSONRequestBody) (*http.Request, error)
- func NewDeleteDatasourceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDatasourcesDatasourceIdPoliciesPolicyIdRequest(server string, datasourceId string, policyId string) (*http.Request, error)
- func NewDeleteStorageDestinationsIdRequest(server string, id string) (*http.Request, error)
- func NewGenerateBackupDownloadLinkRequest(server string, datasourceId string, jobId string) (*http.Request, error)
- func NewGetBackupHistoryRequest(server string, datasourceId string, params *GetBackupHistoryParams) (*http.Request, error)
- func NewGetBackupPoliciesRequest(server string) (*http.Request, error)
- func NewGetBackupsRequest(server string, params *GetBackupsParams) (*http.Request, error)
- func NewGetDatasourcesDatasourceIdRestoresRequest(server string, datasourceId string, ...) (*http.Request, error)
- func NewGetNotificationSettingsRequest(server string) (*http.Request, error)
- func NewGetRequest(server string, id string) (*http.Request, error)
- func NewGetRestoreCheckHistoryRequest(server string, datasourceId string, params *GetRestoreCheckHistoryParams) (*http.Request, error)
- func NewGetRestoreCheckRequest(server string, id string) (*http.Request, error)
- func NewGetRestoresIdLogsPresignRequest(server string, id string) (*http.Request, error)
- func NewGetRestoresIdRequest(server string, id string) (*http.Request, error)
- func NewGetStorageDestinationsIdRequest(server string, id string) (*http.Request, error)
- func NewGetStorageDestinationsRequest(server string, params *GetStorageDestinationsParams) (*http.Request, error)
- func NewListAuditLogActorsRequest(server string) (*http.Request, error)
- func NewListAuditLogsRequest(server string, params *ListAuditLogsParams) (*http.Request, error)
- func NewListBackupJobsRequest(server string, datasourceId string, params *ListBackupJobsParams) (*http.Request, error)
- func NewListPoliciesRequest(server string, datasourceId string) (*http.Request, error)
- func NewListRequest(server string, params *ListParams) (*http.Request, error)
- func NewPatchBackupPoliciesIdRequest(server string, id string, body PatchBackupPoliciesIdJSONRequestBody) (*http.Request, error)
- func NewPatchBackupPoliciesIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchStorageDestinationsIdRequest(server string, id string, body PatchStorageDestinationsIdJSONRequestBody) (*http.Request, error)
- func NewPatchStorageDestinationsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostBackupPoliciesRequest(server string, body PostBackupPoliciesJSONRequestBody) (*http.Request, error)
- func NewPostBackupPoliciesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostDatasourcesDatasourceIdPoliciesRequest(server string, datasourceId string, ...) (*http.Request, error)
- func NewPostDatasourcesDatasourceIdPoliciesRequestWithBody(server string, datasourceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostDatasourcesRequest(server string, body PostDatasourcesJSONRequestBody) (*http.Request, error)
- func NewPostDatasourcesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostRestoresRequest(server string, body PostRestoresJSONRequestBody) (*http.Request, error)
- func NewPostRestoresRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostRestoresTargetProbeRequest(server string, body PostRestoresTargetProbeJSONRequestBody) (*http.Request, error)
- func NewPostRestoresTargetProbeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostStorageDestinationsManagedEnsureRequest(server string, body PostStorageDestinationsManagedEnsureJSONRequestBody) (*http.Request, error)
- func NewPostStorageDestinationsManagedEnsureRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostStorageDestinationsRequest(server string, body PostStorageDestinationsJSONRequestBody) (*http.Request, error)
- func NewPostStorageDestinationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProtectDatasourceRequest(server string, body ProtectDatasourceJSONRequestBody) (*http.Request, error)
- func NewProtectDatasourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutDatasourcesIdCredentialsRequest(server string, id string, body PutDatasourcesIdCredentialsJSONRequestBody) (*http.Request, error)
- func NewPutDatasourcesIdCredentialsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutNotificationSettingsRequest(server string, body PutNotificationSettingsJSONRequestBody) (*http.Request, error)
- func NewPutNotificationSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutRestoreCheckRequest(server string, id string, body PutRestoreCheckJSONRequestBody) (*http.Request, error)
- func NewPutRestoreCheckRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewRunBackupNowRequest(server string, datasourceId string, body RunBackupNowJSONRequestBody) (*http.Request, error)
- func NewRunBackupNowRequestWithBody(server string, datasourceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTestNotificationsRequest(server string) (*http.Request, error)
- func NewUpdateDataSourceRequest(server string, id string, body UpdateDataSourceJSONRequestBody) (*http.Request, error)
- func NewUpdateDataSourceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePolicyAttachmentRequest(server string, datasourceId string, policyId string, ...) (*http.Request, error)
- func NewUpdatePolicyAttachmentRequestWithBody(server string, datasourceId string, policyId string, contentType string, ...) (*http.Request, error)
- func NewVerifyBackupNowRequest(server string, datasourceId string, jobId string) (*http.Request, error)
- func NewVerifyDatasourceRequest(server string, id string) (*http.Request, error)
- type AudithandlerPayloadActor
- type AudithandlerPayloadAuditLogEntry
- type AudithandlerPayloadListResponse
- type Client
- func (c *Client) DeleteBackup(ctx context.Context, datasourceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) DeleteDatasource(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteDatasourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteDatasourcesDatasourceIdPoliciesPolicyId(ctx context.Context, datasourceId string, policyId string, ...) (*http.Response, error)
- func (c *Client) DeleteStorageDestinationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GenerateBackupDownloadLink(ctx context.Context, datasourceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) Get(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBackupHistory(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetBackupPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBackups(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDatasourcesDatasourceIdRestores(ctx context.Context, datasourceId string, ...) (*http.Response, error)
- func (c *Client) GetNotificationSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRestoreCheck(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRestoreCheckHistory(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetRestoresId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRestoresIdLogsPresign(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStorageDestinations(ctx context.Context, params *GetStorageDestinationsParams, ...) (*http.Response, error)
- func (c *Client) GetStorageDestinationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAuditLogActors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAuditLogs(ctx context.Context, params *ListAuditLogsParams, ...) (*http.Response, error)
- func (c *Client) ListBackupJobs(ctx context.Context, datasourceId string, params *ListBackupJobsParams, ...) (*http.Response, error)
- func (c *Client) ListPolicies(ctx context.Context, datasourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchBackupPoliciesId(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchBackupPoliciesIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchStorageDestinationsId(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchStorageDestinationsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostBackupPolicies(ctx context.Context, body PostBackupPoliciesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostBackupPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostDatasources(ctx context.Context, body PostDatasourcesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostDatasourcesDatasourceIdPolicies(ctx context.Context, datasourceId string, ...) (*http.Response, error)
- func (c *Client) PostDatasourcesDatasourceIdPoliciesWithBody(ctx context.Context, datasourceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostDatasourcesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostRestores(ctx context.Context, body PostRestoresJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostRestoresTargetProbe(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostRestoresTargetProbeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostRestoresWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostStorageDestinations(ctx context.Context, body PostStorageDestinationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostStorageDestinationsManagedEnsure(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostStorageDestinationsManagedEnsureWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostStorageDestinationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProtectDatasource(ctx context.Context, body ProtectDatasourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProtectDatasourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutDatasourcesIdCredentials(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PutDatasourcesIdCredentialsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNotificationSettings(ctx context.Context, body PutNotificationSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNotificationSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutRestoreCheck(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutRestoreCheckWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RunBackupNow(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RunBackupNowWithBody(ctx context.Context, datasourceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TestNotifications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateDataSource(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateDataSourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePolicyAttachment(ctx context.Context, datasourceId string, policyId string, ...) (*http.Response, error)
- func (c *Client) UpdatePolicyAttachmentWithBody(ctx context.Context, datasourceId string, policyId string, contentType string, ...) (*http.Response, error)
- func (c *Client) VerifyBackupNow(ctx context.Context, datasourceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) VerifyDatasource(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteBackupWithResponse(ctx context.Context, datasourceId string, jobId string, ...) (*DeleteBackupResponse, error)
- func (c *ClientWithResponses) DeleteDatasourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DeleteDatasourceResponse, error)
- func (c *ClientWithResponses) DeleteDatasourceWithResponse(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, ...) (*DeleteDatasourceResponse, error)
- func (c *ClientWithResponses) DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse(ctx context.Context, datasourceId string, policyId string, ...) (*DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse, error)
- func (c *ClientWithResponses) DeleteStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStorageDestinationsIdResponse, error)
- func (c *ClientWithResponses) GenerateBackupDownloadLinkWithResponse(ctx context.Context, datasourceId string, jobId string, ...) (*GenerateBackupDownloadLinkResponse, error)
- func (c *ClientWithResponses) GetBackupHistoryWithResponse(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, ...) (*GetBackupHistoryResponse, error)
- func (c *ClientWithResponses) GetBackupPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBackupPoliciesResponse, error)
- func (c *ClientWithResponses) GetBackupsWithResponse(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*GetBackupsResponse, error)
- func (c *ClientWithResponses) GetDatasourcesDatasourceIdRestoresWithResponse(ctx context.Context, datasourceId string, ...) (*GetDatasourcesDatasourceIdRestoresResponse, error)
- func (c *ClientWithResponses) GetNotificationSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationSettingsResponse, error)
- func (c *ClientWithResponses) GetRestoreCheckHistoryWithResponse(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, ...) (*GetRestoreCheckHistoryResponse, error)
- func (c *ClientWithResponses) GetRestoreCheckWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoreCheckResponse, error)
- func (c *ClientWithResponses) GetRestoresIdLogsPresignWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdLogsPresignResponse, error)
- func (c *ClientWithResponses) GetRestoresIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdResponse, error)
- func (c *ClientWithResponses) GetStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStorageDestinationsIdResponse, error)
- func (c *ClientWithResponses) GetStorageDestinationsWithResponse(ctx context.Context, params *GetStorageDestinationsParams, ...) (*GetStorageDestinationsResponse, error)
- func (c *ClientWithResponses) GetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetResponse, error)
- func (c *ClientWithResponses) ListAuditLogActorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuditLogActorsResponse, error)
- func (c *ClientWithResponses) ListAuditLogsWithResponse(ctx context.Context, params *ListAuditLogsParams, ...) (*ListAuditLogsResponse, error)
- func (c *ClientWithResponses) ListBackupJobsWithResponse(ctx context.Context, datasourceId string, params *ListBackupJobsParams, ...) (*ListBackupJobsResponse, error)
- func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, datasourceId string, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)
- func (c *ClientWithResponses) ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error)
- func (c *ClientWithResponses) PatchBackupPoliciesIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PatchBackupPoliciesIdResponse, error)
- func (c *ClientWithResponses) PatchBackupPoliciesIdWithResponse(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, ...) (*PatchBackupPoliciesIdResponse, error)
- func (c *ClientWithResponses) PatchStorageDestinationsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PatchStorageDestinationsIdResponse, error)
- func (c *ClientWithResponses) PatchStorageDestinationsIdWithResponse(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, ...) (*PatchStorageDestinationsIdResponse, error)
- func (c *ClientWithResponses) PostBackupPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostBackupPoliciesResponse, error)
- func (c *ClientWithResponses) PostBackupPoliciesWithResponse(ctx context.Context, body PostBackupPoliciesJSONRequestBody, ...) (*PostBackupPoliciesResponse, error)
- func (c *ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, ...) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
- func (c *ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithResponse(ctx context.Context, datasourceId string, ...) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
- func (c *ClientWithResponses) PostDatasourcesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostDatasourcesResponse, error)
- func (c *ClientWithResponses) PostDatasourcesWithResponse(ctx context.Context, body PostDatasourcesJSONRequestBody, ...) (*PostDatasourcesResponse, error)
- func (c *ClientWithResponses) PostRestoresTargetProbeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRestoresTargetProbeResponse, error)
- func (c *ClientWithResponses) PostRestoresTargetProbeWithResponse(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, ...) (*PostRestoresTargetProbeResponse, error)
- func (c *ClientWithResponses) PostRestoresWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRestoresResponse, error)
- func (c *ClientWithResponses) PostRestoresWithResponse(ctx context.Context, body PostRestoresJSONRequestBody, ...) (*PostRestoresResponse, error)
- func (c *ClientWithResponses) PostStorageDestinationsManagedEnsureWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostStorageDestinationsManagedEnsureResponse, error)
- func (c *ClientWithResponses) PostStorageDestinationsManagedEnsureWithResponse(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, ...) (*PostStorageDestinationsManagedEnsureResponse, error)
- func (c *ClientWithResponses) PostStorageDestinationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostStorageDestinationsResponse, error)
- func (c *ClientWithResponses) PostStorageDestinationsWithResponse(ctx context.Context, body PostStorageDestinationsJSONRequestBody, ...) (*PostStorageDestinationsResponse, error)
- func (c *ClientWithResponses) ProtectDatasourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProtectDatasourceResponse, error)
- func (c *ClientWithResponses) ProtectDatasourceWithResponse(ctx context.Context, body ProtectDatasourceJSONRequestBody, ...) (*ProtectDatasourceResponse, error)
- func (c *ClientWithResponses) PutDatasourcesIdCredentialsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutDatasourcesIdCredentialsResponse, error)
- func (c *ClientWithResponses) PutDatasourcesIdCredentialsWithResponse(ctx context.Context, id string, ...) (*PutDatasourcesIdCredentialsResponse, error)
- func (c *ClientWithResponses) PutNotificationSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutNotificationSettingsResponse, error)
- func (c *ClientWithResponses) PutNotificationSettingsWithResponse(ctx context.Context, body PutNotificationSettingsJSONRequestBody, ...) (*PutNotificationSettingsResponse, error)
- func (c *ClientWithResponses) PutRestoreCheckWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutRestoreCheckResponse, error)
- func (c *ClientWithResponses) PutRestoreCheckWithResponse(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, ...) (*PutRestoreCheckResponse, error)
- func (c *ClientWithResponses) RunBackupNowWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, ...) (*RunBackupNowResponse, error)
- func (c *ClientWithResponses) RunBackupNowWithResponse(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, ...) (*RunBackupNowResponse, error)
- func (c *ClientWithResponses) TestNotificationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestNotificationsResponse, error)
- func (c *ClientWithResponses) UpdateDataSourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateDataSourceResponse, error)
- func (c *ClientWithResponses) UpdateDataSourceWithResponse(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, ...) (*UpdateDataSourceResponse, error)
- func (c *ClientWithResponses) UpdatePolicyAttachmentWithBodyWithResponse(ctx context.Context, datasourceId string, policyId string, contentType string, ...) (*UpdatePolicyAttachmentResponse, error)
- func (c *ClientWithResponses) UpdatePolicyAttachmentWithResponse(ctx context.Context, datasourceId string, policyId string, ...) (*UpdatePolicyAttachmentResponse, error)
- func (c *ClientWithResponses) VerifyBackupNowWithResponse(ctx context.Context, datasourceId string, jobId string, ...) (*VerifyBackupNowResponse, error)
- func (c *ClientWithResponses) VerifyDatasourceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VerifyDatasourceResponse, error)
- type ClientWithResponsesInterface
- type ConstantsAuditAction
- type ConstantsAuditTargetType
- type ConstantsBackupJobStatus
- type ConstantsBackupJobTrigger
- type ConstantsBackupPolicyCompression
- type ConstantsBackupPolicyEncryption
- type ConstantsBackupPolicyMethod
- type ConstantsDatasourceCredentialMode
- type ConstantsDatasourceEngine
- type ConstantsDatasourceEnvironment
- type ConstantsDatasourceRegion
- type ConstantsRestoreMode
- type ConstantsStorageDestinationRegion
- type DatasourcehandlerDeleteDatasourcePayload
- type DatasourcehandlerDeleteDatasourceResponse
- type DatasourcehandlerPayloadCreateRequest
- type DatasourcehandlerPayloadCreateResponse
- type DatasourcehandlerPayloadCredentialFieldsDTO
- type DatasourcehandlerPayloadDataSourcePolicyAttachRequest
- type DatasourcehandlerPayloadDataSourcePolicyAttachResponse
- type DatasourcehandlerPayloadDatasourcePolicyUpdateRequest
- type DatasourcehandlerPayloadDatasourceUpdateRequest
- type DatasourcehandlerPayloadDeleteBackupResponse
- type DatasourcehandlerPayloadGenerateDownloadLinkResponse
- type DatasourcehandlerPayloadProtectRequest
- type DatasourcehandlerPayloadProtectResponse
- type DatasourcehandlerPayloadRestoreCheckRequest
- type DatasourcehandlerPayloadRunBackupNowRequest
- type DatasourcehandlerPayloadRunBackupNowResponse
- type DatasourcehandlerPayloadSetCredentialsRequest
- type DatasourcehandlerPayloadSetCredentialsResponse
- type DatasourcehandlerPayloadVerifyBackupResponse
- type DatasourcehandlerPayloadVerifyResponse
- type DeleteBackupResponse
- type DeleteDatasourceJSONRequestBody
- type DeleteDatasourceResponse
- type DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse
- type DeleteStorageDestinationsIdResponse
- type DsnMongoFields
- type DsnMongoFieldsScheme
- type DsnPostgresFields
- type DtoBackupHistoryPoint
- type DtoBackupHistoryResponse
- type DtoBackupJob
- type DtoBackupPolicy
- type DtoDataSource
- type DtoDatasourcePolicy
- type DtoDestination
- type DtoNotificationSettings
- type DtoNotificationTestResponse
- type DtoNotificationTestResult
- type DtoRestoreCheck
- type DtoRestoreCheckHealthResponse
- type DtoRestoreCheckPoint
- type DtoRestoreJob
- type GenerateBackupDownloadLinkResponse
- type GetBackupHistoryParams
- type GetBackupHistoryResponse
- type GetBackupPoliciesResponse
- type GetBackupsParams
- type GetBackupsResponse
- type GetDatasourcesDatasourceIdRestoresParams
- type GetDatasourcesDatasourceIdRestoresResponse
- type GetNotificationSettingsResponse
- type GetResponse
- type GetRestoreCheckHistoryParams
- type GetRestoreCheckHistoryResponse
- type GetRestoreCheckResponse
- type GetRestoresIdLogsPresignResponse
- type GetRestoresIdResponse
- type GetStorageDestinationsIdResponse
- type GetStorageDestinationsParams
- type GetStorageDestinationsParamsOwnership
- type GetStorageDestinationsResponse
- type HttpRequestDoer
- type ListAuditLogActorsResponse
- type ListAuditLogsParams
- type ListAuditLogsResponse
- type ListBackupJobsParams
- type ListBackupJobsResponse
- type ListParams
- type ListPoliciesResponse
- type ListResponse
- type NotificationhandlerPayloadNotificationSettingsRequest
- type PatchBackupPoliciesIdJSONRequestBody
- type PatchBackupPoliciesIdResponse
- type PatchStorageDestinationsIdJSONRequestBody
- type PatchStorageDestinationsIdResponse
- type PolicyhandlerPayloadCreateRequest
- type PolicyhandlerPayloadCreateResponse
- type PolicyhandlerPayloadCreateStorageDestinationRequest
- type PolicyhandlerPayloadCreateStorageDestinationResponse
- type PolicyhandlerPayloadEnsureManagedStorageDestinationRequest
- type PolicyhandlerPayloadEnsureManagedStorageDestinationResponse
- type PolicyhandlerPayloadStorageDestinationResponse
- type PolicyhandlerPayloadUpdateRequest
- type PolicyhandlerPayloadUpdateStorageDestinationRequest
- type PostBackupPoliciesJSONRequestBody
- type PostBackupPoliciesResponse
- type PostDatasourcesDatasourceIdPoliciesJSONRequestBody
- type PostDatasourcesDatasourceIdPoliciesResponse
- type PostDatasourcesJSONRequestBody
- type PostDatasourcesResponse
- type PostRestoresJSONRequestBody
- type PostRestoresResponse
- type PostRestoresTargetProbeJSONRequestBody
- type PostRestoresTargetProbeResponse
- type PostStorageDestinationsJSONRequestBody
- type PostStorageDestinationsManagedEnsureJSONRequestBody
- type PostStorageDestinationsManagedEnsureResponse
- type PostStorageDestinationsResponse
- type ProtectDatasourceJSONRequestBody
- type ProtectDatasourceResponse
- type PutDatasourcesIdCredentialsJSONRequestBody
- type PutDatasourcesIdCredentialsResponse
- type PutNotificationSettingsJSONRequestBody
- type PutNotificationSettingsResponse
- type PutRestoreCheckJSONRequestBody
- type PutRestoreCheckResponse
- type RequestEditorFn
- type ResponseAPIError
- type ResponseAPIResponsePaginationCursors
- type ResponseAPIResponsePaginationMeta
- type ResponseAPIResponseWithPagination
- type ResponseType
- type RestorehandlerPayloadCreateRequest
- type RestorehandlerPayloadCreateResponse
- type RestorehandlerPayloadLogsPresignResponse
- type RestorehandlerPayloadProbeTargetRequest
- type RestorehandlerPayloadProbeTargetResponse
- type RunBackupNowJSONRequestBody
- type RunBackupNowResponse
- type TestNotificationsResponse
- type UpdateDataSourceJSONRequestBody
- type UpdateDataSourceResponse
- type UpdatePolicyAttachmentJSONRequestBody
- type UpdatePolicyAttachmentResponse
- type VerifyBackupNowResponse
- type VerifyDatasourceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteBackupRequest ¶
func NewDeleteBackupRequest(server string, datasourceId string, jobId string) (*http.Request, error)
NewDeleteBackupRequest generates requests for DeleteBackup
func NewDeleteDatasourceRequest ¶
func NewDeleteDatasourceRequest(server string, id string, body DeleteDatasourceJSONRequestBody) (*http.Request, error)
NewDeleteDatasourceRequest calls the generic DeleteDatasource builder with application/json body
func NewDeleteDatasourceRequestWithBody ¶
func NewDeleteDatasourceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteDatasourceRequestWithBody generates requests for DeleteDatasource with any type of body
func NewDeleteDatasourcesDatasourceIdPoliciesPolicyIdRequest ¶
func NewDeleteDatasourcesDatasourceIdPoliciesPolicyIdRequest(server string, datasourceId string, policyId string) (*http.Request, error)
NewDeleteDatasourcesDatasourceIdPoliciesPolicyIdRequest generates requests for DeleteDatasourcesDatasourceIdPoliciesPolicyId
func NewDeleteStorageDestinationsIdRequest ¶
NewDeleteStorageDestinationsIdRequest generates requests for DeleteStorageDestinationsId
func NewGenerateBackupDownloadLinkRequest ¶
func NewGenerateBackupDownloadLinkRequest(server string, datasourceId string, jobId string) (*http.Request, error)
NewGenerateBackupDownloadLinkRequest generates requests for GenerateBackupDownloadLink
func NewGetBackupHistoryRequest ¶
func NewGetBackupHistoryRequest(server string, datasourceId string, params *GetBackupHistoryParams) (*http.Request, error)
NewGetBackupHistoryRequest generates requests for GetBackupHistory
func NewGetBackupPoliciesRequest ¶
NewGetBackupPoliciesRequest generates requests for GetBackupPolicies
func NewGetBackupsRequest ¶
func NewGetBackupsRequest(server string, params *GetBackupsParams) (*http.Request, error)
NewGetBackupsRequest generates requests for GetBackups
func NewGetDatasourcesDatasourceIdRestoresRequest ¶
func NewGetDatasourcesDatasourceIdRestoresRequest(server string, datasourceId string, params *GetDatasourcesDatasourceIdRestoresParams) (*http.Request, error)
NewGetDatasourcesDatasourceIdRestoresRequest generates requests for GetDatasourcesDatasourceIdRestores
func NewGetNotificationSettingsRequest ¶
NewGetNotificationSettingsRequest generates requests for GetNotificationSettings
func NewGetRequest ¶
NewGetRequest generates requests for Get
func NewGetRestoreCheckHistoryRequest ¶
func NewGetRestoreCheckHistoryRequest(server string, datasourceId string, params *GetRestoreCheckHistoryParams) (*http.Request, error)
NewGetRestoreCheckHistoryRequest generates requests for GetRestoreCheckHistory
func NewGetRestoreCheckRequest ¶
NewGetRestoreCheckRequest generates requests for GetRestoreCheck
func NewGetRestoresIdLogsPresignRequest ¶
NewGetRestoresIdLogsPresignRequest generates requests for GetRestoresIdLogsPresign
func NewGetRestoresIdRequest ¶
NewGetRestoresIdRequest generates requests for GetRestoresId
func NewGetStorageDestinationsIdRequest ¶
NewGetStorageDestinationsIdRequest generates requests for GetStorageDestinationsId
func NewGetStorageDestinationsRequest ¶
func NewGetStorageDestinationsRequest(server string, params *GetStorageDestinationsParams) (*http.Request, error)
NewGetStorageDestinationsRequest generates requests for GetStorageDestinations
func NewListAuditLogActorsRequest ¶
NewListAuditLogActorsRequest generates requests for ListAuditLogActors
func NewListAuditLogsRequest ¶
func NewListAuditLogsRequest(server string, params *ListAuditLogsParams) (*http.Request, error)
NewListAuditLogsRequest generates requests for ListAuditLogs
func NewListBackupJobsRequest ¶
func NewListBackupJobsRequest(server string, datasourceId string, params *ListBackupJobsParams) (*http.Request, error)
NewListBackupJobsRequest generates requests for ListBackupJobs
func NewListPoliciesRequest ¶
NewListPoliciesRequest generates requests for ListPolicies
func NewListRequest ¶
func NewListRequest(server string, params *ListParams) (*http.Request, error)
NewListRequest generates requests for List
func NewPatchBackupPoliciesIdRequest ¶
func NewPatchBackupPoliciesIdRequest(server string, id string, body PatchBackupPoliciesIdJSONRequestBody) (*http.Request, error)
NewPatchBackupPoliciesIdRequest calls the generic PatchBackupPoliciesId builder with application/json body
func NewPatchBackupPoliciesIdRequestWithBody ¶
func NewPatchBackupPoliciesIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPatchBackupPoliciesIdRequestWithBody generates requests for PatchBackupPoliciesId with any type of body
func NewPatchStorageDestinationsIdRequest ¶
func NewPatchStorageDestinationsIdRequest(server string, id string, body PatchStorageDestinationsIdJSONRequestBody) (*http.Request, error)
NewPatchStorageDestinationsIdRequest calls the generic PatchStorageDestinationsId builder with application/json body
func NewPatchStorageDestinationsIdRequestWithBody ¶
func NewPatchStorageDestinationsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPatchStorageDestinationsIdRequestWithBody generates requests for PatchStorageDestinationsId with any type of body
func NewPostBackupPoliciesRequest ¶
func NewPostBackupPoliciesRequest(server string, body PostBackupPoliciesJSONRequestBody) (*http.Request, error)
NewPostBackupPoliciesRequest calls the generic PostBackupPolicies builder with application/json body
func NewPostBackupPoliciesRequestWithBody ¶
func NewPostBackupPoliciesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostBackupPoliciesRequestWithBody generates requests for PostBackupPolicies with any type of body
func NewPostDatasourcesDatasourceIdPoliciesRequest ¶
func NewPostDatasourcesDatasourceIdPoliciesRequest(server string, datasourceId string, body PostDatasourcesDatasourceIdPoliciesJSONRequestBody) (*http.Request, error)
NewPostDatasourcesDatasourceIdPoliciesRequest calls the generic PostDatasourcesDatasourceIdPolicies builder with application/json body
func NewPostDatasourcesDatasourceIdPoliciesRequestWithBody ¶
func NewPostDatasourcesDatasourceIdPoliciesRequestWithBody(server string, datasourceId string, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasourcesDatasourceIdPoliciesRequestWithBody generates requests for PostDatasourcesDatasourceIdPolicies with any type of body
func NewPostDatasourcesRequest ¶
func NewPostDatasourcesRequest(server string, body PostDatasourcesJSONRequestBody) (*http.Request, error)
NewPostDatasourcesRequest calls the generic PostDatasources builder with application/json body
func NewPostDatasourcesRequestWithBody ¶
func NewPostDatasourcesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasourcesRequestWithBody generates requests for PostDatasources with any type of body
func NewPostRestoresRequest ¶
func NewPostRestoresRequest(server string, body PostRestoresJSONRequestBody) (*http.Request, error)
NewPostRestoresRequest calls the generic PostRestores builder with application/json body
func NewPostRestoresRequestWithBody ¶
func NewPostRestoresRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostRestoresRequestWithBody generates requests for PostRestores with any type of body
func NewPostRestoresTargetProbeRequest ¶
func NewPostRestoresTargetProbeRequest(server string, body PostRestoresTargetProbeJSONRequestBody) (*http.Request, error)
NewPostRestoresTargetProbeRequest calls the generic PostRestoresTargetProbe builder with application/json body
func NewPostRestoresTargetProbeRequestWithBody ¶
func NewPostRestoresTargetProbeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostRestoresTargetProbeRequestWithBody generates requests for PostRestoresTargetProbe with any type of body
func NewPostStorageDestinationsManagedEnsureRequest ¶
func NewPostStorageDestinationsManagedEnsureRequest(server string, body PostStorageDestinationsManagedEnsureJSONRequestBody) (*http.Request, error)
NewPostStorageDestinationsManagedEnsureRequest calls the generic PostStorageDestinationsManagedEnsure builder with application/json body
func NewPostStorageDestinationsManagedEnsureRequestWithBody ¶
func NewPostStorageDestinationsManagedEnsureRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostStorageDestinationsManagedEnsureRequestWithBody generates requests for PostStorageDestinationsManagedEnsure with any type of body
func NewPostStorageDestinationsRequest ¶
func NewPostStorageDestinationsRequest(server string, body PostStorageDestinationsJSONRequestBody) (*http.Request, error)
NewPostStorageDestinationsRequest calls the generic PostStorageDestinations builder with application/json body
func NewPostStorageDestinationsRequestWithBody ¶
func NewPostStorageDestinationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostStorageDestinationsRequestWithBody generates requests for PostStorageDestinations with any type of body
func NewProtectDatasourceRequest ¶
func NewProtectDatasourceRequest(server string, body ProtectDatasourceJSONRequestBody) (*http.Request, error)
NewProtectDatasourceRequest calls the generic ProtectDatasource builder with application/json body
func NewProtectDatasourceRequestWithBody ¶
func NewProtectDatasourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProtectDatasourceRequestWithBody generates requests for ProtectDatasource with any type of body
func NewPutDatasourcesIdCredentialsRequest ¶
func NewPutDatasourcesIdCredentialsRequest(server string, id string, body PutDatasourcesIdCredentialsJSONRequestBody) (*http.Request, error)
NewPutDatasourcesIdCredentialsRequest calls the generic PutDatasourcesIdCredentials builder with application/json body
func NewPutDatasourcesIdCredentialsRequestWithBody ¶
func NewPutDatasourcesIdCredentialsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutDatasourcesIdCredentialsRequestWithBody generates requests for PutDatasourcesIdCredentials with any type of body
func NewPutNotificationSettingsRequest ¶
func NewPutNotificationSettingsRequest(server string, body PutNotificationSettingsJSONRequestBody) (*http.Request, error)
NewPutNotificationSettingsRequest calls the generic PutNotificationSettings builder with application/json body
func NewPutNotificationSettingsRequestWithBody ¶
func NewPutNotificationSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutNotificationSettingsRequestWithBody generates requests for PutNotificationSettings with any type of body
func NewPutRestoreCheckRequest ¶
func NewPutRestoreCheckRequest(server string, id string, body PutRestoreCheckJSONRequestBody) (*http.Request, error)
NewPutRestoreCheckRequest calls the generic PutRestoreCheck builder with application/json body
func NewPutRestoreCheckRequestWithBody ¶
func NewPutRestoreCheckRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutRestoreCheckRequestWithBody generates requests for PutRestoreCheck with any type of body
func NewRunBackupNowRequest ¶
func NewRunBackupNowRequest(server string, datasourceId string, body RunBackupNowJSONRequestBody) (*http.Request, error)
NewRunBackupNowRequest calls the generic RunBackupNow builder with application/json body
func NewRunBackupNowRequestWithBody ¶
func NewRunBackupNowRequestWithBody(server string, datasourceId string, contentType string, body io.Reader) (*http.Request, error)
NewRunBackupNowRequestWithBody generates requests for RunBackupNow with any type of body
func NewTestNotificationsRequest ¶
NewTestNotificationsRequest generates requests for TestNotifications
func NewUpdateDataSourceRequest ¶
func NewUpdateDataSourceRequest(server string, id string, body UpdateDataSourceJSONRequestBody) (*http.Request, error)
NewUpdateDataSourceRequest calls the generic UpdateDataSource builder with application/json body
func NewUpdateDataSourceRequestWithBody ¶
func NewUpdateDataSourceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDataSourceRequestWithBody generates requests for UpdateDataSource with any type of body
func NewUpdatePolicyAttachmentRequest ¶
func NewUpdatePolicyAttachmentRequest(server string, datasourceId string, policyId string, body UpdatePolicyAttachmentJSONRequestBody) (*http.Request, error)
NewUpdatePolicyAttachmentRequest calls the generic UpdatePolicyAttachment builder with application/json body
func NewUpdatePolicyAttachmentRequestWithBody ¶
func NewUpdatePolicyAttachmentRequestWithBody(server string, datasourceId string, policyId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePolicyAttachmentRequestWithBody generates requests for UpdatePolicyAttachment with any type of body
Types ¶
type AudithandlerPayloadActor ¶
type AudithandlerPayloadActor struct {
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
AudithandlerPayloadActor defines model for audithandler.payloadActor.
type AudithandlerPayloadAuditLogEntry ¶
type AudithandlerPayloadAuditLogEntry struct {
Action *ConstantsAuditAction `json:"action,omitempty"`
ActorEmail *string `json:"actorEmail,omitempty"`
ActorId *string `json:"actorId,omitempty"`
ActorName *string `json:"actorName,omitempty"`
ActorType *string `json:"actorType,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
Ip *string `json:"ip,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
TargetId *string `json:"targetId,omitempty"`
TargetType *ConstantsAuditTargetType `json:"targetType,omitempty"`
UserAgent *string `json:"userAgent,omitempty"`
}
AudithandlerPayloadAuditLogEntry defines model for audithandler.payloadAuditLogEntry.
type AudithandlerPayloadListResponse ¶
type AudithandlerPayloadListResponse struct {
List *[]AudithandlerPayloadAuditLogEntry `json:"list,omitempty"`
NextCursorCreatedAt *string `json:"nextCursorCreatedAt,omitempty"`
NextCursorId *string `json:"nextCursorId,omitempty"`
}
AudithandlerPayloadListResponse defines model for audithandler.payloadListResponse.
type Client ¶
type Client 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
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteBackup ¶
func (*Client) DeleteDatasource ¶
func (c *Client) DeleteDatasource(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDatasourceWithBody ¶
func (*Client) DeleteDatasourcesDatasourceIdPoliciesPolicyId ¶
func (*Client) DeleteStorageDestinationsId ¶
func (*Client) GenerateBackupDownloadLink ¶
func (*Client) GetBackupHistory ¶
func (c *Client) GetBackupHistory(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBackupPolicies ¶
func (*Client) GetBackups ¶
func (c *Client) GetBackups(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatasourcesDatasourceIdRestores ¶
func (c *Client) GetDatasourcesDatasourceIdRestores(ctx context.Context, datasourceId string, params *GetDatasourcesDatasourceIdRestoresParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNotificationSettings ¶
func (*Client) GetRestoreCheck ¶
func (*Client) GetRestoreCheckHistory ¶
func (c *Client) GetRestoreCheckHistory(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRestoresId ¶
func (*Client) GetRestoresIdLogsPresign ¶
func (*Client) GetStorageDestinations ¶
func (c *Client) GetStorageDestinations(ctx context.Context, params *GetStorageDestinationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStorageDestinationsId ¶
func (*Client) List ¶
func (c *Client) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAuditLogActors ¶
func (*Client) ListAuditLogs ¶
func (c *Client) ListAuditLogs(ctx context.Context, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBackupJobs ¶
func (c *Client) ListBackupJobs(ctx context.Context, datasourceId string, params *ListBackupJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPolicies ¶
func (*Client) PatchBackupPoliciesId ¶
func (c *Client) PatchBackupPoliciesId(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchBackupPoliciesIdWithBody ¶
func (*Client) PatchStorageDestinationsId ¶
func (c *Client) PatchStorageDestinationsId(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchStorageDestinationsIdWithBody ¶
func (*Client) PostBackupPolicies ¶
func (c *Client) PostBackupPolicies(ctx context.Context, body PostBackupPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostBackupPoliciesWithBody ¶
func (*Client) PostDatasources ¶
func (c *Client) PostDatasources(ctx context.Context, body PostDatasourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostDatasourcesDatasourceIdPolicies ¶
func (c *Client) PostDatasourcesDatasourceIdPolicies(ctx context.Context, datasourceId string, body PostDatasourcesDatasourceIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostDatasourcesDatasourceIdPoliciesWithBody ¶
func (*Client) PostDatasourcesWithBody ¶
func (*Client) PostRestores ¶
func (c *Client) PostRestores(ctx context.Context, body PostRestoresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostRestoresTargetProbe ¶
func (c *Client) PostRestoresTargetProbe(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostRestoresTargetProbeWithBody ¶
func (*Client) PostRestoresWithBody ¶
func (*Client) PostStorageDestinations ¶
func (c *Client) PostStorageDestinations(ctx context.Context, body PostStorageDestinationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostStorageDestinationsManagedEnsure ¶
func (c *Client) PostStorageDestinationsManagedEnsure(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostStorageDestinationsManagedEnsureWithBody ¶
func (*Client) PostStorageDestinationsWithBody ¶
func (*Client) ProtectDatasource ¶
func (c *Client) ProtectDatasource(ctx context.Context, body ProtectDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProtectDatasourceWithBody ¶
func (*Client) PutDatasourcesIdCredentials ¶
func (c *Client) PutDatasourcesIdCredentials(ctx context.Context, id string, body PutDatasourcesIdCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutDatasourcesIdCredentialsWithBody ¶
func (*Client) PutNotificationSettings ¶
func (c *Client) PutNotificationSettings(ctx context.Context, body PutNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNotificationSettingsWithBody ¶
func (*Client) PutRestoreCheck ¶
func (c *Client) PutRestoreCheck(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutRestoreCheckWithBody ¶
func (*Client) RunBackupNow ¶
func (c *Client) RunBackupNow(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunBackupNowWithBody ¶
func (*Client) TestNotifications ¶
func (*Client) UpdateDataSource ¶
func (c *Client) UpdateDataSource(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDataSourceWithBody ¶
func (*Client) UpdatePolicyAttachment ¶
func (c *Client) UpdatePolicyAttachment(ctx context.Context, datasourceId string, policyId string, body UpdatePolicyAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePolicyAttachmentWithBody ¶
func (*Client) VerifyBackupNow ¶
func (*Client) VerifyDatasource ¶
type ClientInterface ¶
type ClientInterface interface {
// ListAuditLogs request
ListAuditLogs(ctx context.Context, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAuditLogActors request
ListAuditLogActors(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupPolicies request
GetBackupPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostBackupPoliciesWithBody request with any body
PostBackupPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostBackupPolicies(ctx context.Context, body PostBackupPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchBackupPoliciesIdWithBody request with any body
PatchBackupPoliciesIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchBackupPoliciesId(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackups request
GetBackups(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// List request
List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasourcesWithBody request with any body
PostDatasourcesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasources(ctx context.Context, body PostDatasourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProtectDatasourceWithBody request with any body
ProtectDatasourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProtectDatasource(ctx context.Context, body ProtectDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupHistory request
GetBackupHistory(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupJobs request
ListBackupJobs(ctx context.Context, datasourceId string, params *ListBackupJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunBackupNowWithBody request with any body
RunBackupNowWithBody(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RunBackupNow(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackup request
DeleteBackup(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GenerateBackupDownloadLink request
GenerateBackupDownloadLink(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyBackupNow request
VerifyBackupNow(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPolicies request
ListPolicies(ctx context.Context, datasourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasourcesDatasourceIdPoliciesWithBody request with any body
PostDatasourcesDatasourceIdPoliciesWithBody(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasourcesDatasourceIdPolicies(ctx context.Context, datasourceId string, body PostDatasourcesDatasourceIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasourcesDatasourceIdPoliciesPolicyId request
DeleteDatasourcesDatasourceIdPoliciesPolicyId(ctx context.Context, datasourceId string, policyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePolicyAttachmentWithBody request with any body
UpdatePolicyAttachmentWithBody(ctx context.Context, datasourceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePolicyAttachment(ctx context.Context, datasourceId string, policyId string, body UpdatePolicyAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRestoreCheckHistory request
GetRestoreCheckHistory(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasourcesDatasourceIdRestores request
GetDatasourcesDatasourceIdRestores(ctx context.Context, datasourceId string, params *GetDatasourcesDatasourceIdRestoresParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasourceWithBody request with any body
DeleteDatasourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDatasource(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Get request
Get(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDataSourceWithBody request with any body
UpdateDataSourceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDataSource(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutDatasourcesIdCredentialsWithBody request with any body
PutDatasourcesIdCredentialsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutDatasourcesIdCredentials(ctx context.Context, id string, body PutDatasourcesIdCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRestoreCheck request
GetRestoreCheck(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutRestoreCheckWithBody request with any body
PutRestoreCheckWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRestoreCheck(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyDatasource request
VerifyDatasource(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNotificationSettings request
GetNotificationSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNotificationSettingsWithBody request with any body
PutNotificationSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNotificationSettings(ctx context.Context, body PutNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestNotifications request
TestNotifications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostRestoresWithBody request with any body
PostRestoresWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostRestores(ctx context.Context, body PostRestoresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostRestoresTargetProbeWithBody request with any body
PostRestoresTargetProbeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostRestoresTargetProbe(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRestoresId request
GetRestoresId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRestoresIdLogsPresign request
GetRestoresIdLogsPresign(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStorageDestinations request
GetStorageDestinations(ctx context.Context, params *GetStorageDestinationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostStorageDestinationsWithBody request with any body
PostStorageDestinationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostStorageDestinations(ctx context.Context, body PostStorageDestinationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostStorageDestinationsManagedEnsureWithBody request with any body
PostStorageDestinationsManagedEnsureWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostStorageDestinationsManagedEnsure(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStorageDestinationsId request
DeleteStorageDestinationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStorageDestinationsId request
GetStorageDestinationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchStorageDestinationsIdWithBody request with any body
PatchStorageDestinationsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchStorageDestinationsId(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, 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) DeleteBackupWithResponse ¶
func (c *ClientWithResponses) DeleteBackupWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*DeleteBackupResponse, error)
DeleteBackupWithResponse request returning *DeleteBackupResponse
func (*ClientWithResponses) DeleteDatasourceWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteDatasourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasourceResponse, error)
DeleteDatasourceWithBodyWithResponse request with arbitrary body returning *DeleteDatasourceResponse
func (*ClientWithResponses) DeleteDatasourceWithResponse ¶
func (c *ClientWithResponses) DeleteDatasourceWithResponse(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDatasourceResponse, error)
func (*ClientWithResponses) DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse ¶
func (c *ClientWithResponses) DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse(ctx context.Context, datasourceId string, policyId string, reqEditors ...RequestEditorFn) (*DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse, error)
DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse request returning *DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse
func (*ClientWithResponses) DeleteStorageDestinationsIdWithResponse ¶
func (c *ClientWithResponses) DeleteStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStorageDestinationsIdResponse, error)
DeleteStorageDestinationsIdWithResponse request returning *DeleteStorageDestinationsIdResponse
func (*ClientWithResponses) GenerateBackupDownloadLinkWithResponse ¶
func (c *ClientWithResponses) GenerateBackupDownloadLinkWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*GenerateBackupDownloadLinkResponse, error)
GenerateBackupDownloadLinkWithResponse request returning *GenerateBackupDownloadLinkResponse
func (*ClientWithResponses) GetBackupHistoryWithResponse ¶
func (c *ClientWithResponses) GetBackupHistoryWithResponse(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, reqEditors ...RequestEditorFn) (*GetBackupHistoryResponse, error)
GetBackupHistoryWithResponse request returning *GetBackupHistoryResponse
func (*ClientWithResponses) GetBackupPoliciesWithResponse ¶
func (c *ClientWithResponses) GetBackupPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBackupPoliciesResponse, error)
GetBackupPoliciesWithResponse request returning *GetBackupPoliciesResponse
func (*ClientWithResponses) GetBackupsWithResponse ¶
func (c *ClientWithResponses) GetBackupsWithResponse(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*GetBackupsResponse, error)
GetBackupsWithResponse request returning *GetBackupsResponse
func (*ClientWithResponses) GetDatasourcesDatasourceIdRestoresWithResponse ¶
func (c *ClientWithResponses) GetDatasourcesDatasourceIdRestoresWithResponse(ctx context.Context, datasourceId string, params *GetDatasourcesDatasourceIdRestoresParams, reqEditors ...RequestEditorFn) (*GetDatasourcesDatasourceIdRestoresResponse, error)
GetDatasourcesDatasourceIdRestoresWithResponse request returning *GetDatasourcesDatasourceIdRestoresResponse
func (*ClientWithResponses) GetNotificationSettingsWithResponse ¶
func (c *ClientWithResponses) GetNotificationSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationSettingsResponse, error)
GetNotificationSettingsWithResponse request returning *GetNotificationSettingsResponse
func (*ClientWithResponses) GetRestoreCheckHistoryWithResponse ¶
func (c *ClientWithResponses) GetRestoreCheckHistoryWithResponse(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, reqEditors ...RequestEditorFn) (*GetRestoreCheckHistoryResponse, error)
GetRestoreCheckHistoryWithResponse request returning *GetRestoreCheckHistoryResponse
func (*ClientWithResponses) GetRestoreCheckWithResponse ¶
func (c *ClientWithResponses) GetRestoreCheckWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoreCheckResponse, error)
GetRestoreCheckWithResponse request returning *GetRestoreCheckResponse
func (*ClientWithResponses) GetRestoresIdLogsPresignWithResponse ¶
func (c *ClientWithResponses) GetRestoresIdLogsPresignWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdLogsPresignResponse, error)
GetRestoresIdLogsPresignWithResponse request returning *GetRestoresIdLogsPresignResponse
func (*ClientWithResponses) GetRestoresIdWithResponse ¶
func (c *ClientWithResponses) GetRestoresIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdResponse, error)
GetRestoresIdWithResponse request returning *GetRestoresIdResponse
func (*ClientWithResponses) GetStorageDestinationsIdWithResponse ¶
func (c *ClientWithResponses) GetStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStorageDestinationsIdResponse, error)
GetStorageDestinationsIdWithResponse request returning *GetStorageDestinationsIdResponse
func (*ClientWithResponses) GetStorageDestinationsWithResponse ¶
func (c *ClientWithResponses) GetStorageDestinationsWithResponse(ctx context.Context, params *GetStorageDestinationsParams, reqEditors ...RequestEditorFn) (*GetStorageDestinationsResponse, error)
GetStorageDestinationsWithResponse request returning *GetStorageDestinationsResponse
func (*ClientWithResponses) GetWithResponse ¶
func (c *ClientWithResponses) GetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetResponse, error)
GetWithResponse request returning *GetResponse
func (*ClientWithResponses) ListAuditLogActorsWithResponse ¶
func (c *ClientWithResponses) ListAuditLogActorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuditLogActorsResponse, error)
ListAuditLogActorsWithResponse request returning *ListAuditLogActorsResponse
func (*ClientWithResponses) ListAuditLogsWithResponse ¶
func (c *ClientWithResponses) ListAuditLogsWithResponse(ctx context.Context, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)
ListAuditLogsWithResponse request returning *ListAuditLogsResponse
func (*ClientWithResponses) ListBackupJobsWithResponse ¶
func (c *ClientWithResponses) ListBackupJobsWithResponse(ctx context.Context, datasourceId string, params *ListBackupJobsParams, reqEditors ...RequestEditorFn) (*ListBackupJobsResponse, error)
ListBackupJobsWithResponse request returning *ListBackupJobsResponse
func (*ClientWithResponses) ListPoliciesWithResponse ¶
func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, datasourceId string, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)
ListPoliciesWithResponse request returning *ListPoliciesResponse
func (*ClientWithResponses) ListWithResponse ¶
func (c *ClientWithResponses) ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error)
ListWithResponse request returning *ListResponse
func (*ClientWithResponses) PatchBackupPoliciesIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchBackupPoliciesIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchBackupPoliciesIdResponse, error)
PatchBackupPoliciesIdWithBodyWithResponse request with arbitrary body returning *PatchBackupPoliciesIdResponse
func (*ClientWithResponses) PatchBackupPoliciesIdWithResponse ¶
func (c *ClientWithResponses) PatchBackupPoliciesIdWithResponse(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchBackupPoliciesIdResponse, error)
func (*ClientWithResponses) PatchStorageDestinationsIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchStorageDestinationsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchStorageDestinationsIdResponse, error)
PatchStorageDestinationsIdWithBodyWithResponse request with arbitrary body returning *PatchStorageDestinationsIdResponse
func (*ClientWithResponses) PatchStorageDestinationsIdWithResponse ¶
func (c *ClientWithResponses) PatchStorageDestinationsIdWithResponse(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchStorageDestinationsIdResponse, error)
func (*ClientWithResponses) PostBackupPoliciesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostBackupPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBackupPoliciesResponse, error)
PostBackupPoliciesWithBodyWithResponse request with arbitrary body returning *PostBackupPoliciesResponse
func (*ClientWithResponses) PostBackupPoliciesWithResponse ¶
func (c *ClientWithResponses) PostBackupPoliciesWithResponse(ctx context.Context, body PostBackupPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBackupPoliciesResponse, error)
func (*ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse request with arbitrary body returning *PostDatasourcesDatasourceIdPoliciesResponse
func (*ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithResponse ¶
func (c *ClientWithResponses) PostDatasourcesDatasourceIdPoliciesWithResponse(ctx context.Context, datasourceId string, body PostDatasourcesDatasourceIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
func (*ClientWithResponses) PostDatasourcesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasourcesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasourcesResponse, error)
PostDatasourcesWithBodyWithResponse request with arbitrary body returning *PostDatasourcesResponse
func (*ClientWithResponses) PostDatasourcesWithResponse ¶
func (c *ClientWithResponses) PostDatasourcesWithResponse(ctx context.Context, body PostDatasourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasourcesResponse, error)
func (*ClientWithResponses) PostRestoresTargetProbeWithBodyWithResponse ¶
func (c *ClientWithResponses) PostRestoresTargetProbeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRestoresTargetProbeResponse, error)
PostRestoresTargetProbeWithBodyWithResponse request with arbitrary body returning *PostRestoresTargetProbeResponse
func (*ClientWithResponses) PostRestoresTargetProbeWithResponse ¶
func (c *ClientWithResponses) PostRestoresTargetProbeWithResponse(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRestoresTargetProbeResponse, error)
func (*ClientWithResponses) PostRestoresWithBodyWithResponse ¶
func (c *ClientWithResponses) PostRestoresWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRestoresResponse, error)
PostRestoresWithBodyWithResponse request with arbitrary body returning *PostRestoresResponse
func (*ClientWithResponses) PostRestoresWithResponse ¶
func (c *ClientWithResponses) PostRestoresWithResponse(ctx context.Context, body PostRestoresJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRestoresResponse, error)
func (*ClientWithResponses) PostStorageDestinationsManagedEnsureWithBodyWithResponse ¶
func (c *ClientWithResponses) PostStorageDestinationsManagedEnsureWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStorageDestinationsManagedEnsureResponse, error)
PostStorageDestinationsManagedEnsureWithBodyWithResponse request with arbitrary body returning *PostStorageDestinationsManagedEnsureResponse
func (*ClientWithResponses) PostStorageDestinationsManagedEnsureWithResponse ¶
func (c *ClientWithResponses) PostStorageDestinationsManagedEnsureWithResponse(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageDestinationsManagedEnsureResponse, error)
func (*ClientWithResponses) PostStorageDestinationsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostStorageDestinationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStorageDestinationsResponse, error)
PostStorageDestinationsWithBodyWithResponse request with arbitrary body returning *PostStorageDestinationsResponse
func (*ClientWithResponses) PostStorageDestinationsWithResponse ¶
func (c *ClientWithResponses) PostStorageDestinationsWithResponse(ctx context.Context, body PostStorageDestinationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageDestinationsResponse, error)
func (*ClientWithResponses) ProtectDatasourceWithBodyWithResponse ¶
func (c *ClientWithResponses) ProtectDatasourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProtectDatasourceResponse, error)
ProtectDatasourceWithBodyWithResponse request with arbitrary body returning *ProtectDatasourceResponse
func (*ClientWithResponses) ProtectDatasourceWithResponse ¶
func (c *ClientWithResponses) ProtectDatasourceWithResponse(ctx context.Context, body ProtectDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ProtectDatasourceResponse, error)
func (*ClientWithResponses) PutDatasourcesIdCredentialsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutDatasourcesIdCredentialsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDatasourcesIdCredentialsResponse, error)
PutDatasourcesIdCredentialsWithBodyWithResponse request with arbitrary body returning *PutDatasourcesIdCredentialsResponse
func (*ClientWithResponses) PutDatasourcesIdCredentialsWithResponse ¶
func (c *ClientWithResponses) PutDatasourcesIdCredentialsWithResponse(ctx context.Context, id string, body PutDatasourcesIdCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutDatasourcesIdCredentialsResponse, error)
func (*ClientWithResponses) PutNotificationSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNotificationSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNotificationSettingsResponse, error)
PutNotificationSettingsWithBodyWithResponse request with arbitrary body returning *PutNotificationSettingsResponse
func (*ClientWithResponses) PutNotificationSettingsWithResponse ¶
func (c *ClientWithResponses) PutNotificationSettingsWithResponse(ctx context.Context, body PutNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNotificationSettingsResponse, error)
func (*ClientWithResponses) PutRestoreCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) PutRestoreCheckWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRestoreCheckResponse, error)
PutRestoreCheckWithBodyWithResponse request with arbitrary body returning *PutRestoreCheckResponse
func (*ClientWithResponses) PutRestoreCheckWithResponse ¶
func (c *ClientWithResponses) PutRestoreCheckWithResponse(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRestoreCheckResponse, error)
func (*ClientWithResponses) RunBackupNowWithBodyWithResponse ¶
func (c *ClientWithResponses) RunBackupNowWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunBackupNowResponse, error)
RunBackupNowWithBodyWithResponse request with arbitrary body returning *RunBackupNowResponse
func (*ClientWithResponses) RunBackupNowWithResponse ¶
func (c *ClientWithResponses) RunBackupNowWithResponse(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, reqEditors ...RequestEditorFn) (*RunBackupNowResponse, error)
func (*ClientWithResponses) TestNotificationsWithResponse ¶
func (c *ClientWithResponses) TestNotificationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestNotificationsResponse, error)
TestNotificationsWithResponse request returning *TestNotificationsResponse
func (*ClientWithResponses) UpdateDataSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDataSourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDataSourceResponse, error)
UpdateDataSourceWithBodyWithResponse request with arbitrary body returning *UpdateDataSourceResponse
func (*ClientWithResponses) UpdateDataSourceWithResponse ¶
func (c *ClientWithResponses) UpdateDataSourceWithResponse(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDataSourceResponse, error)
func (*ClientWithResponses) UpdatePolicyAttachmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePolicyAttachmentWithBodyWithResponse(ctx context.Context, datasourceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicyAttachmentResponse, error)
UpdatePolicyAttachmentWithBodyWithResponse request with arbitrary body returning *UpdatePolicyAttachmentResponse
func (*ClientWithResponses) UpdatePolicyAttachmentWithResponse ¶
func (c *ClientWithResponses) UpdatePolicyAttachmentWithResponse(ctx context.Context, datasourceId string, policyId string, body UpdatePolicyAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyAttachmentResponse, error)
func (*ClientWithResponses) VerifyBackupNowWithResponse ¶
func (c *ClientWithResponses) VerifyBackupNowWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*VerifyBackupNowResponse, error)
VerifyBackupNowWithResponse request returning *VerifyBackupNowResponse
func (*ClientWithResponses) VerifyDatasourceWithResponse ¶
func (c *ClientWithResponses) VerifyDatasourceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VerifyDatasourceResponse, error)
VerifyDatasourceWithResponse request returning *VerifyDatasourceResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAuditLogsWithResponse request
ListAuditLogsWithResponse(ctx context.Context, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)
// ListAuditLogActorsWithResponse request
ListAuditLogActorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuditLogActorsResponse, error)
// GetBackupPoliciesWithResponse request
GetBackupPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBackupPoliciesResponse, error)
// PostBackupPoliciesWithBodyWithResponse request with any body
PostBackupPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBackupPoliciesResponse, error)
PostBackupPoliciesWithResponse(ctx context.Context, body PostBackupPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBackupPoliciesResponse, error)
// PatchBackupPoliciesIdWithBodyWithResponse request with any body
PatchBackupPoliciesIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchBackupPoliciesIdResponse, error)
PatchBackupPoliciesIdWithResponse(ctx context.Context, id string, body PatchBackupPoliciesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchBackupPoliciesIdResponse, error)
// GetBackupsWithResponse request
GetBackupsWithResponse(ctx context.Context, params *GetBackupsParams, reqEditors ...RequestEditorFn) (*GetBackupsResponse, error)
// ListWithResponse request
ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListResponse, error)
// PostDatasourcesWithBodyWithResponse request with any body
PostDatasourcesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasourcesResponse, error)
PostDatasourcesWithResponse(ctx context.Context, body PostDatasourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasourcesResponse, error)
// ProtectDatasourceWithBodyWithResponse request with any body
ProtectDatasourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProtectDatasourceResponse, error)
ProtectDatasourceWithResponse(ctx context.Context, body ProtectDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ProtectDatasourceResponse, error)
// GetBackupHistoryWithResponse request
GetBackupHistoryWithResponse(ctx context.Context, datasourceId string, params *GetBackupHistoryParams, reqEditors ...RequestEditorFn) (*GetBackupHistoryResponse, error)
// ListBackupJobsWithResponse request
ListBackupJobsWithResponse(ctx context.Context, datasourceId string, params *ListBackupJobsParams, reqEditors ...RequestEditorFn) (*ListBackupJobsResponse, error)
// RunBackupNowWithBodyWithResponse request with any body
RunBackupNowWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunBackupNowResponse, error)
RunBackupNowWithResponse(ctx context.Context, datasourceId string, body RunBackupNowJSONRequestBody, reqEditors ...RequestEditorFn) (*RunBackupNowResponse, error)
// DeleteBackupWithResponse request
DeleteBackupWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*DeleteBackupResponse, error)
// GenerateBackupDownloadLinkWithResponse request
GenerateBackupDownloadLinkWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*GenerateBackupDownloadLinkResponse, error)
// VerifyBackupNowWithResponse request
VerifyBackupNowWithResponse(ctx context.Context, datasourceId string, jobId string, reqEditors ...RequestEditorFn) (*VerifyBackupNowResponse, error)
// ListPoliciesWithResponse request
ListPoliciesWithResponse(ctx context.Context, datasourceId string, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)
// PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse request with any body
PostDatasourcesDatasourceIdPoliciesWithBodyWithResponse(ctx context.Context, datasourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
PostDatasourcesDatasourceIdPoliciesWithResponse(ctx context.Context, datasourceId string, body PostDatasourcesDatasourceIdPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
// DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse request
DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse(ctx context.Context, datasourceId string, policyId string, reqEditors ...RequestEditorFn) (*DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse, error)
// UpdatePolicyAttachmentWithBodyWithResponse request with any body
UpdatePolicyAttachmentWithBodyWithResponse(ctx context.Context, datasourceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicyAttachmentResponse, error)
UpdatePolicyAttachmentWithResponse(ctx context.Context, datasourceId string, policyId string, body UpdatePolicyAttachmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyAttachmentResponse, error)
// GetRestoreCheckHistoryWithResponse request
GetRestoreCheckHistoryWithResponse(ctx context.Context, datasourceId string, params *GetRestoreCheckHistoryParams, reqEditors ...RequestEditorFn) (*GetRestoreCheckHistoryResponse, error)
// GetDatasourcesDatasourceIdRestoresWithResponse request
GetDatasourcesDatasourceIdRestoresWithResponse(ctx context.Context, datasourceId string, params *GetDatasourcesDatasourceIdRestoresParams, reqEditors ...RequestEditorFn) (*GetDatasourcesDatasourceIdRestoresResponse, error)
// DeleteDatasourceWithBodyWithResponse request with any body
DeleteDatasourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasourceResponse, error)
DeleteDatasourceWithResponse(ctx context.Context, id string, body DeleteDatasourceJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDatasourceResponse, error)
// GetWithResponse request
GetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetResponse, error)
// UpdateDataSourceWithBodyWithResponse request with any body
UpdateDataSourceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDataSourceResponse, error)
UpdateDataSourceWithResponse(ctx context.Context, id string, body UpdateDataSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDataSourceResponse, error)
// PutDatasourcesIdCredentialsWithBodyWithResponse request with any body
PutDatasourcesIdCredentialsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDatasourcesIdCredentialsResponse, error)
PutDatasourcesIdCredentialsWithResponse(ctx context.Context, id string, body PutDatasourcesIdCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutDatasourcesIdCredentialsResponse, error)
// GetRestoreCheckWithResponse request
GetRestoreCheckWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoreCheckResponse, error)
// PutRestoreCheckWithBodyWithResponse request with any body
PutRestoreCheckWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRestoreCheckResponse, error)
PutRestoreCheckWithResponse(ctx context.Context, id string, body PutRestoreCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*PutRestoreCheckResponse, error)
// VerifyDatasourceWithResponse request
VerifyDatasourceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VerifyDatasourceResponse, error)
// GetNotificationSettingsWithResponse request
GetNotificationSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNotificationSettingsResponse, error)
// PutNotificationSettingsWithBodyWithResponse request with any body
PutNotificationSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNotificationSettingsResponse, error)
PutNotificationSettingsWithResponse(ctx context.Context, body PutNotificationSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNotificationSettingsResponse, error)
// TestNotificationsWithResponse request
TestNotificationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestNotificationsResponse, error)
// PostRestoresWithBodyWithResponse request with any body
PostRestoresWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRestoresResponse, error)
PostRestoresWithResponse(ctx context.Context, body PostRestoresJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRestoresResponse, error)
// PostRestoresTargetProbeWithBodyWithResponse request with any body
PostRestoresTargetProbeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRestoresTargetProbeResponse, error)
PostRestoresTargetProbeWithResponse(ctx context.Context, body PostRestoresTargetProbeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRestoresTargetProbeResponse, error)
// GetRestoresIdWithResponse request
GetRestoresIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdResponse, error)
// GetRestoresIdLogsPresignWithResponse request
GetRestoresIdLogsPresignWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRestoresIdLogsPresignResponse, error)
// GetStorageDestinationsWithResponse request
GetStorageDestinationsWithResponse(ctx context.Context, params *GetStorageDestinationsParams, reqEditors ...RequestEditorFn) (*GetStorageDestinationsResponse, error)
// PostStorageDestinationsWithBodyWithResponse request with any body
PostStorageDestinationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStorageDestinationsResponse, error)
PostStorageDestinationsWithResponse(ctx context.Context, body PostStorageDestinationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageDestinationsResponse, error)
// PostStorageDestinationsManagedEnsureWithBodyWithResponse request with any body
PostStorageDestinationsManagedEnsureWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStorageDestinationsManagedEnsureResponse, error)
PostStorageDestinationsManagedEnsureWithResponse(ctx context.Context, body PostStorageDestinationsManagedEnsureJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageDestinationsManagedEnsureResponse, error)
// DeleteStorageDestinationsIdWithResponse request
DeleteStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteStorageDestinationsIdResponse, error)
// GetStorageDestinationsIdWithResponse request
GetStorageDestinationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetStorageDestinationsIdResponse, error)
// PatchStorageDestinationsIdWithBodyWithResponse request with any body
PatchStorageDestinationsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchStorageDestinationsIdResponse, error)
PatchStorageDestinationsIdWithResponse(ctx context.Context, id string, body PatchStorageDestinationsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchStorageDestinationsIdResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConstantsAuditAction ¶
type ConstantsAuditAction string
ConstantsAuditAction defines model for constants.AuditAction.
const ( AuditActionBackupDeleted ConstantsAuditAction = "backup_job.deleted" AuditActionBackupDownloadLinkGenerated ConstantsAuditAction = "backup_job.download_link_generated" AuditActionBackupJobCompleted ConstantsAuditAction = "backup_job.completed" AuditActionBackupJobFailed ConstantsAuditAction = "backup_job.failed" AuditActionBackupJobQueued ConstantsAuditAction = "backup_job.queued" AuditActionBackupJobStarted ConstantsAuditAction = "backup_job.started" AuditActionBackupManualRun ConstantsAuditAction = "backup_job.manual_run" AuditActionBackupReapedHealed ConstantsAuditAction = "backup_job.reaped_healed" AuditActionBackupReapedNoArn ConstantsAuditAction = "backup_job.reaped_no_arn" AuditActionBackupReapedOrphanCleaned ConstantsAuditAction = "backup_job.reaped_orphan_cleaned" AuditActionBackupReapedStuck ConstantsAuditAction = "backup_job.reaped_stuck" AuditActionDatasourceActivated ConstantsAuditAction = "datasource.activated" AuditActionDatasourceCreated ConstantsAuditAction = "datasource.created" AuditActionDatasourceCredentialsSet ConstantsAuditAction = "datasource.credentials_set" AuditActionDatasourceDeactivated ConstantsAuditAction = "datasource.deactivated" AuditActionDatasourceDeleted ConstantsAuditAction = "datasource.deleted" AuditActionDatasourceUpdated ConstantsAuditAction = "datasource.updated" AuditActionDatasourceVerified ConstantsAuditAction = "datasource.verify_attempted" AuditActionNotificationSettingsUpdated ConstantsAuditAction = "notification_settings.updated" AuditActionPolicyAttached ConstantsAuditAction = "policy.attached" AuditActionPolicyCreated ConstantsAuditAction = "policy.created" AuditActionPolicyDeleted ConstantsAuditAction = "policy.deleted" AuditActionPolicyDetached ConstantsAuditAction = "policy.detached" AuditActionPolicyUpdated ConstantsAuditAction = "policy.updated" AuditActionRestoreCheckUpdated ConstantsAuditAction = "datasource.restore_check_updated" AuditActionRestoreJobCompleted ConstantsAuditAction = "restore_job.completed" AuditActionRestoreJobCreated ConstantsAuditAction = "restore_job.created" AuditActionRestoreJobFailed ConstantsAuditAction = "restore_job.failed" AuditActionRestoreJobReapedStuck ConstantsAuditAction = "restore_job.reaped_stuck" AuditActionRestoreJobStarted ConstantsAuditAction = "restore_job.started" AuditActionRestoreLogLinkGenerated ConstantsAuditAction = "restore_job.log_link_generated" AuditActionStorageDestinationCreated ConstantsAuditAction = "storage_destination.created" AuditActionStorageDestinationDeleted ConstantsAuditAction = "storage_destination.deleted" AuditActionStorageDestinationReverified ConstantsAuditAction = "storage_destination.reverified" AuditActionStorageDestinationUpdated ConstantsAuditAction = "storage_destination.updated" )
Defines values for ConstantsAuditAction.
func (ConstantsAuditAction) Valid ¶
func (e ConstantsAuditAction) Valid() bool
Valid indicates whether the value is a known member of the ConstantsAuditAction enum.
type ConstantsAuditTargetType ¶
type ConstantsAuditTargetType string
ConstantsAuditTargetType defines model for constants.AuditTargetType.
const ( AuditTargetBackupJob ConstantsAuditTargetType = "backup_job" AuditTargetDataSourcePolicy ConstantsAuditTargetType = "data_source_policy" AuditTargetDatasource ConstantsAuditTargetType = "datasource" AuditTargetOrganization ConstantsAuditTargetType = "organization" AuditTargetPolicy ConstantsAuditTargetType = "backup_policy" AuditTargetRestoreJob ConstantsAuditTargetType = "restore_job" AuditTargetStorageDestination ConstantsAuditTargetType = "storage_destination" )
Defines values for ConstantsAuditTargetType.
func (ConstantsAuditTargetType) Valid ¶
func (e ConstantsAuditTargetType) Valid() bool
Valid indicates whether the value is a known member of the ConstantsAuditTargetType enum.
type ConstantsBackupJobStatus ¶
type ConstantsBackupJobStatus string
ConstantsBackupJobStatus defines model for constants.BackupJobStatus.
const ( JobStatusCanceled ConstantsBackupJobStatus = "canceled" JobStatusFailed ConstantsBackupJobStatus = "failed" JobStatusPartial ConstantsBackupJobStatus = "partial" JobStatusQueued ConstantsBackupJobStatus = "queued" JobStatusRunning ConstantsBackupJobStatus = "running" JobStatusSuccess ConstantsBackupJobStatus = "success" )
Defines values for ConstantsBackupJobStatus.
func (ConstantsBackupJobStatus) Valid ¶
func (e ConstantsBackupJobStatus) Valid() bool
Valid indicates whether the value is a known member of the ConstantsBackupJobStatus enum.
type ConstantsBackupJobTrigger ¶
type ConstantsBackupJobTrigger string
ConstantsBackupJobTrigger defines model for constants.BackupJobTrigger.
const ( JobTriggerManual ConstantsBackupJobTrigger = "manual" JobTriggerSchedule ConstantsBackupJobTrigger = "schedule" )
Defines values for ConstantsBackupJobTrigger.
func (ConstantsBackupJobTrigger) Valid ¶
func (e ConstantsBackupJobTrigger) Valid() bool
Valid indicates whether the value is a known member of the ConstantsBackupJobTrigger enum.
type ConstantsBackupPolicyCompression ¶
type ConstantsBackupPolicyCompression string
ConstantsBackupPolicyCompression defines model for constants.BackupPolicyCompression.
const ( CompressionGzip ConstantsBackupPolicyCompression = "gzip" CompressionNone ConstantsBackupPolicyCompression = "none" CompressionZstd ConstantsBackupPolicyCompression = "zstd" )
Defines values for ConstantsBackupPolicyCompression.
func (ConstantsBackupPolicyCompression) Valid ¶
func (e ConstantsBackupPolicyCompression) Valid() bool
Valid indicates whether the value is a known member of the ConstantsBackupPolicyCompression enum.
type ConstantsBackupPolicyEncryption ¶
type ConstantsBackupPolicyEncryption string
ConstantsBackupPolicyEncryption defines model for constants.BackupPolicyEncryption.
const ( EncryptionClientSide ConstantsBackupPolicyEncryption = "client-side" EncryptionNone ConstantsBackupPolicyEncryption = "none" EncryptionSSEKMS ConstantsBackupPolicyEncryption = "sse-kms" EncryptionSSES3 ConstantsBackupPolicyEncryption = "sse-s3" )
Defines values for ConstantsBackupPolicyEncryption.
func (ConstantsBackupPolicyEncryption) Valid ¶
func (e ConstantsBackupPolicyEncryption) Valid() bool
Valid indicates whether the value is a known member of the ConstantsBackupPolicyEncryption enum.
type ConstantsBackupPolicyMethod ¶
type ConstantsBackupPolicyMethod string
ConstantsBackupPolicyMethod defines model for constants.BackupPolicyMethod.
const ( MethodLogicalDump ConstantsBackupPolicyMethod = "logical_dump" MethodPITR ConstantsBackupPolicyMethod = "pitr" MethodPhysical ConstantsBackupPolicyMethod = "physical" )
Defines values for ConstantsBackupPolicyMethod.
func (ConstantsBackupPolicyMethod) Valid ¶
func (e ConstantsBackupPolicyMethod) Valid() bool
Valid indicates whether the value is a known member of the ConstantsBackupPolicyMethod enum.
type ConstantsDatasourceCredentialMode ¶
type ConstantsDatasourceCredentialMode string
ConstantsDatasourceCredentialMode defines model for constants.DatasourceCredentialMode.
const ( CredentialModeFields ConstantsDatasourceCredentialMode = "fields" CredentialModeURI ConstantsDatasourceCredentialMode = "connection_uri" )
Defines values for ConstantsDatasourceCredentialMode.
func (ConstantsDatasourceCredentialMode) Valid ¶
func (e ConstantsDatasourceCredentialMode) Valid() bool
Valid indicates whether the value is a known member of the ConstantsDatasourceCredentialMode enum.
type ConstantsDatasourceEngine ¶
type ConstantsDatasourceEngine string
ConstantsDatasourceEngine defines model for constants.DatasourceEngine.
const ( EngineMongoDB ConstantsDatasourceEngine = "mongodb" EnginePostgres ConstantsDatasourceEngine = "postgres" )
Defines values for ConstantsDatasourceEngine.
func (ConstantsDatasourceEngine) Valid ¶
func (e ConstantsDatasourceEngine) Valid() bool
Valid indicates whether the value is a known member of the ConstantsDatasourceEngine enum.
type ConstantsDatasourceEnvironment ¶
type ConstantsDatasourceEnvironment string
ConstantsDatasourceEnvironment defines model for constants.DatasourceEnvironment.
const ( EnvironmentDev ConstantsDatasourceEnvironment = "dev" EnvironmentProd ConstantsDatasourceEnvironment = "prod" EnvironmentStaging ConstantsDatasourceEnvironment = "staging" EnvironmentTest ConstantsDatasourceEnvironment = "test" )
Defines values for ConstantsDatasourceEnvironment.
func (ConstantsDatasourceEnvironment) Valid ¶
func (e ConstantsDatasourceEnvironment) Valid() bool
Valid indicates whether the value is a known member of the ConstantsDatasourceEnvironment enum.
type ConstantsDatasourceRegion ¶
type ConstantsDatasourceRegion string
ConstantsDatasourceRegion defines model for constants.DatasourceRegion.
const (
RegionEUCentral1 ConstantsDatasourceRegion = "eu-central-1"
)
Defines values for ConstantsDatasourceRegion.
func (ConstantsDatasourceRegion) Valid ¶
func (e ConstantsDatasourceRegion) Valid() bool
Valid indicates whether the value is a known member of the ConstantsDatasourceRegion enum.
type ConstantsRestoreMode ¶
type ConstantsRestoreMode string
ConstantsRestoreMode defines model for constants.RestoreMode.
const ( RestoreModeNewDatabase ConstantsRestoreMode = "new_database" RestoreModeNewServer ConstantsRestoreMode = "new_server" RestoreModeOverwrite ConstantsRestoreMode = "overwrite" )
Defines values for ConstantsRestoreMode.
func (ConstantsRestoreMode) Valid ¶
func (e ConstantsRestoreMode) Valid() bool
Valid indicates whether the value is a known member of the ConstantsRestoreMode enum.
type ConstantsStorageDestinationRegion ¶
type ConstantsStorageDestinationRegion string
ConstantsStorageDestinationRegion defines model for constants.StorageDestinationRegion.
const (
StorageDestinationRegionEUCentral1 ConstantsStorageDestinationRegion = "eu-central-1"
)
Defines values for ConstantsStorageDestinationRegion.
func (ConstantsStorageDestinationRegion) Valid ¶
func (e ConstantsStorageDestinationRegion) Valid() bool
Valid indicates whether the value is a known member of the ConstantsStorageDestinationRegion enum.
type DatasourcehandlerDeleteDatasourcePayload ¶
type DatasourcehandlerDeleteDatasourcePayload struct {
// Confirmation Confirmation must equal the datasource's name. Same defensive
// shape the close-org dialog uses: it doesn't gate anything new
// (the JWT + middleware already authorise the action) but stops
// a curl-typo from wiping a live datasource and all its backup
// history.
Confirmation *string `json:"confirmation,omitempty"`
}
DatasourcehandlerDeleteDatasourcePayload defines model for datasourcehandler.deleteDatasourcePayload.
type DatasourcehandlerDeleteDatasourceResponse ¶
type DatasourcehandlerDeleteDatasourceResponse struct {
DeletedResourcesCount *int `json:"deletedResourcesCount,omitempty"`
EnqueuedS3Blobs *int `json:"enqueuedS3Blobs,omitempty"`
}
DatasourcehandlerDeleteDatasourceResponse defines model for datasourcehandler.deleteDatasourceResponse.
type DatasourcehandlerPayloadCreateRequest ¶
type DatasourcehandlerPayloadCreateRequest struct {
Engine ConstantsDatasourceEngine `json:"engine"`
Environment ConstantsDatasourceEnvironment `json:"environment"`
Name string `json:"name"`
Region ConstantsDatasourceRegion `json:"region"`
}
DatasourcehandlerPayloadCreateRequest defines model for datasourcehandler.payloadCreateRequest.
type DatasourcehandlerPayloadCreateResponse ¶
type DatasourcehandlerPayloadCreateResponse struct {
Id string `json:"id"`
}
DatasourcehandlerPayloadCreateResponse defines model for datasourcehandler.payloadCreateResponse.
type DatasourcehandlerPayloadCredentialFieldsDTO ¶
type DatasourcehandlerPayloadCredentialFieldsDTO struct {
Mongodb *DsnMongoFields `json:"mongodb,omitempty"`
Postgres *DsnPostgresFields `json:"postgres,omitempty"`
}
DatasourcehandlerPayloadCredentialFieldsDTO defines model for datasourcehandler.payloadCredentialFieldsDTO.
type DatasourcehandlerPayloadDataSourcePolicyAttachRequest ¶
type DatasourcehandlerPayloadDataSourcePolicyAttachRequest struct {
Enabled bool `json:"enabled"`
PolicyId string `json:"policyId"`
Priority *int `json:"priority,omitempty"`
}
DatasourcehandlerPayloadDataSourcePolicyAttachRequest defines model for datasourcehandler.payloadDataSourcePolicyAttachRequest.
type DatasourcehandlerPayloadDataSourcePolicyAttachResponse ¶
type DatasourcehandlerPayloadDataSourcePolicyAttachResponse struct {
Id string `json:"id"`
}
DatasourcehandlerPayloadDataSourcePolicyAttachResponse defines model for datasourcehandler.payloadDataSourcePolicyAttachResponse.
type DatasourcehandlerPayloadDatasourcePolicyUpdateRequest ¶
type DatasourcehandlerPayloadDatasourcePolicyUpdateRequest struct {
// Enabled Enabled toggles the scheduler gate for this one attachment. The
// scheduler only enqueues jobs where attachment.enabled = true, so
// setting this to false pauses just this policy on this data source
// without losing schedule history or detaching the policy.
Enabled *bool `json:"enabled,omitempty"`
// Priority Priority orders concurrent attachments when multiple policies are
// eligible to run on the same data source at the same minute.
Priority *int `json:"priority,omitempty"`
}
DatasourcehandlerPayloadDatasourcePolicyUpdateRequest defines model for datasourcehandler.payloadDatasourcePolicyUpdateRequest.
type DatasourcehandlerPayloadDatasourceUpdateRequest ¶
type DatasourcehandlerPayloadDatasourceUpdateRequest struct {
Environment *string `json:"environment,omitempty"`
// IsActive IsActive flips the master switch: false halts every backup policy
// attached to this data source (the scheduler skips data sources with
// is_active=false). Other fields above are simple metadata edits.
IsActive *bool `json:"isActive,omitempty"`
Name *string `json:"name,omitempty"`
Region *string `json:"region,omitempty"`
}
DatasourcehandlerPayloadDatasourceUpdateRequest defines model for datasourcehandler.payloadDatasourceUpdateRequest.
type DatasourcehandlerPayloadDeleteBackupResponse ¶
type DatasourcehandlerPayloadDeleteBackupResponse struct {
EnqueuedS3Blobs *int `json:"enqueuedS3Blobs,omitempty"`
}
DatasourcehandlerPayloadDeleteBackupResponse defines model for datasourcehandler.payloadDeleteBackupResponse.
type DatasourcehandlerPayloadGenerateDownloadLinkResponse ¶
type DatasourcehandlerPayloadGenerateDownloadLinkResponse struct {
ContentEncoding *string `json:"contentEncoding,omitempty"`
// ErrorCode ErrorCode enum: not_found, not_succeeded, missing_artifact,
// customer_managed_storage, presign_failed.
ErrorCode *string `json:"errorCode,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
ExpiresAt *string `json:"expiresAt,omitempty"`
// Ok OK=true means url is a working presigned URL the client can
// open directly. OK=false carries a structured ErrorCode +
// ErrorMessage explaining why (job not finished, customer-
// managed bucket, etc.); the response is still HTTP 200 so the
// frontend can render the domain failure without hitting the
// generic-transport-error path.
Ok *bool `json:"ok,omitempty"`
SizeBytes *int `json:"sizeBytes,omitempty"`
Url *string `json:"url,omitempty"`
}
DatasourcehandlerPayloadGenerateDownloadLinkResponse defines model for datasourcehandler.payloadGenerateDownloadLinkResponse.
type DatasourcehandlerPayloadProtectRequest ¶
type DatasourcehandlerPayloadProtectRequest struct {
Credential DatasourcehandlerPayloadSetCredentialsRequest `json:"credential"`
Engine ConstantsDatasourceEngine `json:"engine"`
Environment *ConstantsDatasourceEnvironment `json:"environment,omitempty"`
KeepLastN int `json:"keepLastN"`
Name string `json:"name"`
Region *ConstantsDatasourceRegion `json:"region,omitempty"`
RetentionDays int `json:"retentionDays"`
ScheduleCron string `json:"scheduleCron"`
Timezone string `json:"timezone"`
}
DatasourcehandlerPayloadProtectRequest defines model for datasourcehandler.payloadProtectRequest.
type DatasourcehandlerPayloadProtectResponse ¶
type DatasourcehandlerPayloadProtectResponse struct {
DataSourceId *string `json:"dataSourceId,omitempty"`
PolicyId *string `json:"policyId,omitempty"`
VerifyErrorCode *string `json:"verifyErrorCode,omitempty"`
VerifyMessage *string `json:"verifyMessage,omitempty"`
// VerifyOk Post-setup connection test (non-fatal — the setup is created either
// way; verifyOk=false means the credentials need fixing before the
// first backup will connect).
VerifyOk *bool `json:"verifyOk,omitempty"`
}
DatasourcehandlerPayloadProtectResponse defines model for datasourcehandler.payloadProtectResponse.
type DatasourcehandlerPayloadRestoreCheckRequest ¶
type DatasourcehandlerPayloadRestoreCheckRequest struct {
Enabled *bool `json:"enabled,omitempty"`
Mode *string `json:"mode,omitempty"`
Nth *int `json:"nth,omitempty"`
SampleProbability *float32 `json:"sampleProbability,omitempty"`
ScheduleCron *string `json:"scheduleCron,omitempty"`
ScheduleTimezone *string `json:"scheduleTimezone,omitempty"`
// ScratchConnectionString ScratchConnectionString is stored (KMS-enveloped) for a
// customer_scratch target; empty leaves any existing creds in place.
ScratchConnectionString *string `json:"scratchConnectionString,omitempty"`
Target *string `json:"target,omitempty"`
ValidationLevel *string `json:"validationLevel,omitempty"`
ValidationQuery *string `json:"validationQuery,omitempty"`
}
DatasourcehandlerPayloadRestoreCheckRequest defines model for datasourcehandler.payloadRestoreCheckRequest.
type DatasourcehandlerPayloadRunBackupNowRequest ¶
type DatasourcehandlerPayloadRunBackupNowRequest struct {
// PolicyId PolicyID is optional. Empty means "pick the highest-priority
// enabled attachment on this datasource". Send a value when the
// dialog's selector is changed away from the preselected one.
PolicyId *string `json:"policyId,omitempty"`
}
DatasourcehandlerPayloadRunBackupNowRequest defines model for datasourcehandler.payloadRunBackupNowRequest.
type DatasourcehandlerPayloadRunBackupNowResponse ¶
type DatasourcehandlerPayloadRunBackupNowResponse struct {
DestinationId *string `json:"destinationId,omitempty"`
JobId *string `json:"jobId,omitempty"`
PolicyId *string `json:"policyId,omitempty"`
}
DatasourcehandlerPayloadRunBackupNowResponse defines model for datasourcehandler.payloadRunBackupNowResponse.
type DatasourcehandlerPayloadSetCredentialsRequest ¶
type DatasourcehandlerPayloadSetCredentialsRequest struct {
Fields *DatasourcehandlerPayloadCredentialFieldsDTO `json:"fields,omitempty"`
Mode ConstantsDatasourceCredentialMode `json:"mode"`
Uri *string `json:"uri,omitempty"`
}
DatasourcehandlerPayloadSetCredentialsRequest defines model for datasourcehandler.payloadSetCredentialsRequest.
type DatasourcehandlerPayloadSetCredentialsResponse ¶
type DatasourcehandlerPayloadSetCredentialsResponse struct {
UpdatedAt *string `json:"updatedAt,omitempty"`
}
DatasourcehandlerPayloadSetCredentialsResponse defines model for datasourcehandler.payloadSetCredentialsResponse.
type DatasourcehandlerPayloadVerifyBackupResponse ¶
type DatasourcehandlerPayloadVerifyBackupResponse struct {
RestoreJobId *string `json:"restoreJobId,omitempty"`
}
DatasourcehandlerPayloadVerifyBackupResponse defines model for datasourcehandler.payloadVerifyBackupResponse.
type DatasourcehandlerPayloadVerifyResponse ¶
type DatasourcehandlerPayloadVerifyResponse struct {
// DetectedVersion DetectedVersion is the server version read during the probe (e.g.
// "17.4"), empty if the connection failed before it could be read.
// DetectedVersionMajor is its major (17) — 0 if unknown. When the
// major is outside what our dump tools support, ok is false and
// errorCode is server_version_unsupported.
DetectedVersion *string `json:"detectedVersion,omitempty"`
DetectedVersionMajor *int `json:"detectedVersionMajor,omitempty"`
Engine *string `json:"engine,omitempty"`
// ErrorCode ErrorCode is empty on success; otherwise one of:
// no_credentials, decrypt_failed, unsupported_engine, invalid_uri,
// network_unreachable, auth_failed, timeout,
// server_version_unsupported, unknown. Stable enum so the frontend
// can branch without parsing text.
ErrorCode *string `json:"errorCode,omitempty"`
// ErrorMessage ErrorMessage is a sanitised, human-readable explanation. Never
// includes the connection string or credentials.
ErrorMessage *string `json:"errorMessage,omitempty"`
LatencyMs *int `json:"latencyMs,omitempty"`
Ok *bool `json:"ok,omitempty"`
// ReachabilityOnly ReachabilityOnly = true means the probe confirmed the host is
// reachable but didn't verify authentication. Reserved for a future
// fast-path probe; both engines do full auth-aware pings today.
ReachabilityOnly *bool `json:"reachabilityOnly,omitempty"`
}
DatasourcehandlerPayloadVerifyResponse defines model for datasourcehandler.payloadVerifyResponse.
type DeleteBackupResponse ¶
type DeleteBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerPayloadDeleteBackupResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseDeleteBackupResponse ¶
func ParseDeleteBackupResponse(rsp *http.Response) (*DeleteBackupResponse, error)
ParseDeleteBackupResponse parses an HTTP response from a DeleteBackupWithResponse call
func (DeleteBackupResponse) ContentType ¶
func (r DeleteBackupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBackupResponse) Status ¶
func (r DeleteBackupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupResponse) StatusCode ¶
func (r DeleteBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatasourceJSONRequestBody ¶
type DeleteDatasourceJSONRequestBody = DatasourcehandlerDeleteDatasourcePayload
DeleteDatasourceJSONRequestBody defines body for DeleteDatasource for application/json ContentType.
type DeleteDatasourceResponse ¶
type DeleteDatasourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerDeleteDatasourceResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseDeleteDatasourceResponse ¶
func ParseDeleteDatasourceResponse(rsp *http.Response) (*DeleteDatasourceResponse, error)
ParseDeleteDatasourceResponse parses an HTTP response from a DeleteDatasourceWithResponse call
func (DeleteDatasourceResponse) ContentType ¶
func (r DeleteDatasourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDatasourceResponse) Status ¶
func (r DeleteDatasourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatasourceResponse) StatusCode ¶
func (r DeleteDatasourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse ¶
type DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseDeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse ¶
func ParseDeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse(rsp *http.Response) (*DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse, error)
ParseDeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse parses an HTTP response from a DeleteDatasourcesDatasourceIdPoliciesPolicyIdWithResponse call
func (DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) ContentType ¶
func (r DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) Status ¶
func (r DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) StatusCode ¶
func (r DeleteDatasourcesDatasourceIdPoliciesPolicyIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStorageDestinationsIdResponse ¶
type DeleteStorageDestinationsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseDeleteStorageDestinationsIdResponse ¶
func ParseDeleteStorageDestinationsIdResponse(rsp *http.Response) (*DeleteStorageDestinationsIdResponse, error)
ParseDeleteStorageDestinationsIdResponse parses an HTTP response from a DeleteStorageDestinationsIdWithResponse call
func (DeleteStorageDestinationsIdResponse) ContentType ¶
func (r DeleteStorageDestinationsIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStorageDestinationsIdResponse) Status ¶
func (r DeleteStorageDestinationsIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStorageDestinationsIdResponse) StatusCode ¶
func (r DeleteStorageDestinationsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DsnMongoFields ¶
type DsnMongoFields struct {
AuthSource *string `json:"authSource,omitempty"`
Db string `json:"db"`
// Hosts pro mongodb://
Hosts *[]string `json:"hosts,omitempty"`
Params *map[string]string `json:"params,omitempty"`
Password *string `json:"password,omitempty"`
ReplicaSet *string `json:"replicaSet,omitempty"`
Scheme DsnMongoFieldsScheme `json:"scheme"`
// SrvHost pro +srv
SrvHost *string `json:"srv_host,omitempty"`
Tls *bool `json:"tls,omitempty"`
User *string `json:"user,omitempty"`
}
DsnMongoFields defines model for dsn.MongoFields.
type DsnMongoFieldsScheme ¶
type DsnMongoFieldsScheme string
DsnMongoFieldsScheme defines model for DsnMongoFields.Scheme.
const ( Mongodb DsnMongoFieldsScheme = "mongodb" MongodbSrv DsnMongoFieldsScheme = "mongodb+srv" )
Defines values for DsnMongoFieldsScheme.
func (DsnMongoFieldsScheme) Valid ¶
func (e DsnMongoFieldsScheme) Valid() bool
Valid indicates whether the value is a known member of the DsnMongoFieldsScheme enum.
type DsnPostgresFields ¶
type DsnPostgresFields struct {
Db string `json:"db"`
Host string `json:"host"`
Params *map[string]string `json:"params,omitempty"`
// Password optional (může být v URI)
Password *string `json:"password,omitempty"`
Port int `json:"port"`
// Sslmode require|verify-full|...
Sslmode *string `json:"sslmode,omitempty"`
User string `json:"user"`
}
DsnPostgresFields defines model for dsn.PostgresFields.
type DtoBackupHistoryPoint ¶
type DtoBackupHistoryPoint struct {
Bytes *int `json:"bytes,omitempty"`
DurationMs *int `json:"durationMs,omitempty"`
FinishedAt *string `json:"finishedAt,omitempty"`
}
DtoBackupHistoryPoint defines model for dto.BackupHistoryPoint.
type DtoBackupHistoryResponse ¶
type DtoBackupHistoryResponse struct {
Points *[]DtoBackupHistoryPoint `json:"points,omitempty"`
}
DtoBackupHistoryResponse defines model for dto.BackupHistoryResponse.
type DtoBackupJob ¶
type DtoBackupJob struct {
DatasourceEngine ConstantsDatasourceEngine `json:"datasourceEngine"`
DatasourceId string `json:"datasourceId"`
DatasourceName string `json:"datasourceName"`
DestinationId string `json:"destinationId"`
DestinationIsManaged bool `json:"destinationIsManaged"`
DestinationRegion string `json:"destinationRegion"`
JobBytesWritten int `json:"jobBytesWritten"`
JobCreatedAt string `json:"jobCreatedAt"`
// JobDeletedAt Soft-deletion fields populated by the retention worker. JobDeletedAt
// is the wall-clock when the worker expired this backup; JobExpirationReason
// is one of "age_exceeded" | "keep_last_n_exceeded".
JobDeletedAt *string `json:"jobDeletedAt,omitempty"`
JobDurationMs *int `json:"jobDurationMs,omitempty"`
JobErrorSummary *string `json:"jobErrorSummary,omitempty"`
JobExpirationReason *string `json:"jobExpirationReason,omitempty"`
JobFinishedAt *string `json:"jobFinishedAt,omitempty"`
JobId string `json:"jobId"`
JobScheduledFor string `json:"jobScheduledFor"`
JobStartedAt *string `json:"jobStartedAt,omitempty"`
JobStatus ConstantsBackupJobStatus `json:"jobStatus"`
JobTrigger ConstantsBackupJobTrigger `json:"jobTrigger"`
PolicyCompression ConstantsBackupPolicyEncryption `json:"policyCompression"`
PolicyEncryption ConstantsBackupPolicyEncryption `json:"policyEncryption"`
PolicyId string `json:"policyId"`
PolicyMethod ConstantsBackupPolicyMethod `json:"policyMethod"`
PolicyName string `json:"policyName"`
PolicyRetentionDays int `json:"policyRetentionDays"`
VerifiedAt *string `json:"verifiedAt,omitempty"`
VerifyHasLog *bool `json:"verifyHasLog,omitempty"`
VerifyPassed *bool `json:"verifyPassed,omitempty"`
// VerifyRestoreJobId VerifyRestoreJobID / VerifyHasLog point at the latest restore test's
// job + whether its log is uploaded, so the row can open that log directly.
VerifyRestoreJobId *string `json:"verifyRestoreJobId,omitempty"`
// VerifyStatus Latest restore-check of this backup. All null when it was never
// verified. VerifyStatus is the verification restore's lifecycle status
// (queued/running/success/failed); VerifyPassed is the pass/fail of the
// validation ladder, meaningful once VerifyStatus is success; VerifiedAt
// is when the check finished.
VerifyStatus *ConstantsBackupJobStatus `json:"verifyStatus,omitempty"`
// VerifyWarnings VerifyWarnings is set when the restore test passed but pg_restore skipped
// some objects (e.g. an index too large to rebuild) — "passed with warnings".
VerifyWarnings *string `json:"verifyWarnings,omitempty"`
}
DtoBackupJob defines model for dto.BackupJob.
type DtoBackupPolicy ¶
type DtoBackupPolicy struct {
Compression *ConstantsBackupPolicyCompression `json:"compression,omitempty"`
// DestinationId DestinationID — the storage_destination the policy writes to.
// Required (NOT NULL on the table); every policy now declares
// its destination at create time.
DestinationId string `json:"destinationId"`
Encryption ConstantsBackupPolicyEncryption `json:"encryption"`
Id string `json:"id"`
KeepLastN int `json:"keepLastN"`
Method ConstantsBackupPolicyMethod `json:"method"`
Name string `json:"name"`
OrganizationId string `json:"organizationId"`
Parallelism int `json:"parallelism"`
PitrEnabled bool `json:"pitrEnabled"`
RetentionDays int `json:"retentionDays"`
ScheduleCron string `json:"scheduleCron"`
ThrottleMbps *int `json:"throttleMbps,omitempty"`
Timezone string `json:"timezone"`
}
DtoBackupPolicy defines model for dto.BackupPolicy.
type DtoDataSource ¶
type DtoDataSource struct {
ActiveBackupJobs *int `json:"activeBackupJobs,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
// DetectedEngineVersion DetectedEngineVersion is the server version read at the last
// successful verify (e.g. "17.4"), omitted if never verified.
// DetectedEngineVersionAt is when it was read.
DetectedEngineVersion *string `json:"detectedEngineVersion,omitempty"`
DetectedEngineVersionAt *string `json:"detectedEngineVersionAt,omitempty"`
Engine string `json:"engine"`
Environment string `json:"environment"`
HasCredentials *bool `json:"hasCredentials,omitempty"`
Id string `json:"id"`
IsActive bool `json:"isActive"`
LastBackupAt *string `json:"lastBackupAt,omitempty"`
LastBackupSizeBytes *int `json:"lastBackupSizeBytes,omitempty"`
Name string `json:"name"`
NextRunAt *string `json:"nextRunAt,omitempty"`
OrganizationId string `json:"organizationId"`
RestoreCheckLastAt *string `json:"restoreCheckLastAt,omitempty"`
RestoreCheckPassed *int `json:"restoreCheckPassed,omitempty"`
// RestoreCheckTotal Restore-check health for the datasource-list health bar, aggregated
// over the last few terminal verification checks. RestoreCheckTotal = 0
// (or null) means the datasource has no checks yet. Present on list rows,
// omitted on the by-ID detail read (which uses the health endpoint).
RestoreCheckTotal *int `json:"restoreCheckTotal,omitempty"`
// RestoreCheckWarnings RestoreCheckWarnings is how many of the passed checks passed with
// warnings (data restored but some object skipped) — drawn amber.
RestoreCheckWarnings *int `json:"restoreCheckWarnings,omitempty"`
// RestoreTestingEnabled RestoreTestingEnabled is true when automated restore testing is on for
// this datasource (config enabled and a cadence other than "off"). Present
// on the by-ID detail read; omitted on list rows.
RestoreTestingEnabled *bool `json:"restoreTestingEnabled,omitempty"`
// TotalBackupJobs TotalBackupJobs counts every backup_job for this datasource
// (any status, including retention-expired). Used by the FE
// SectionCard count badge — the loaded-page count was misleading
// for any datasource with more rows than fit on one page.
TotalBackupJobs *int `json:"totalBackupJobs,omitempty"`
// TotalStoredBytes TotalStoredBytes is the total size still persisted in object
// storage across every live backup for this datasource (excludes
// retention-deleted backups). Only present on the by-ID detail read.
TotalStoredBytes *int `json:"totalStoredBytes,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
DtoDataSource defines model for dto.DataSource.
type DtoDatasourcePolicy ¶
type DtoDatasourcePolicy struct {
BackupPolicy DtoBackupPolicy `json:"backupPolicy"`
CreatedAt *string `json:"createdAt,omitempty"`
Datasource *DtoDataSource `json:"datasource,omitempty"`
Destination DtoDestination `json:"destination"`
Id string `json:"id"`
IsEnabled bool `json:"isEnabled"`
JitterSeconds int `json:"jitterSeconds"`
LastSheduledAt *string `json:"lastSheduledAt,omitempty"`
NextRunAt *string `json:"nextRunAt,omitempty"`
Priority int `json:"priority"`
}
DtoDatasourcePolicy defines model for dto.DatasourcePolicy.
type DtoDestination ¶
type DtoDestination struct {
Id string `json:"id"`
IsManaged bool `json:"isManaged"`
Name string `json:"name"`
OrganizationId string `json:"organizationId"`
}
DtoDestination defines model for dto.Destination.
type DtoNotificationSettings ¶
type DtoNotificationSettings struct {
AlertEmails []string `json:"alertEmails"`
// HasWebhookSecret HasWebhookSecret reports whether a signing secret is stored for the
// webhook (the secret itself is never returned).
HasWebhookSecret bool `json:"hasWebhookSecret"`
OnBackupFailed bool `json:"onBackupFailed"`
OnMissedSchedule bool `json:"onMissedSchedule"`
OnRecovered bool `json:"onRecovered"`
OnRestoreFailed bool `json:"onRestoreFailed"`
OnRestoreTestFailed bool `json:"onRestoreTestFailed"`
SlackWebhookUrl *string `json:"slackWebhookUrl,omitempty"`
WebhookUrl *string `json:"webhookUrl,omitempty"`
}
DtoNotificationSettings defines model for dto.NotificationSettings.
type DtoNotificationTestResponse ¶
type DtoNotificationTestResponse struct {
Results *[]DtoNotificationTestResult `json:"results,omitempty"`
}
DtoNotificationTestResponse defines model for dto.NotificationTestResponse.
type DtoNotificationTestResult ¶
type DtoNotificationTestResult struct {
Channel string `json:"channel"`
Error *string `json:"error,omitempty"`
Ok bool `json:"ok"`
}
DtoNotificationTestResult defines model for dto.NotificationTestResult.
type DtoRestoreCheck ¶
type DtoRestoreCheck struct {
Enabled *bool `json:"enabled,omitempty"`
HasScratchCredentials *bool `json:"hasScratchCredentials,omitempty"`
LastRunAt *string `json:"lastRunAt,omitempty"`
Mode string `json:"mode"`
Nth *int `json:"nth,omitempty"`
SampleProbability *float32 `json:"sampleProbability,omitempty"`
ScheduleCron *string `json:"scheduleCron,omitempty"`
ScheduleTimezone *string `json:"scheduleTimezone,omitempty"`
Target string `json:"target"`
ValidationLevel string `json:"validationLevel"`
ValidationQuery *string `json:"validationQuery,omitempty"`
}
DtoRestoreCheck defines model for dto.RestoreCheck.
type DtoRestoreCheckHealthResponse ¶
type DtoRestoreCheckHealthResponse struct {
Points *[]DtoRestoreCheckPoint `json:"points,omitempty"`
}
DtoRestoreCheckHealthResponse defines model for dto.RestoreCheckHealthResponse.
type DtoRestoreCheckPoint ¶
type DtoRestoreCheckPoint struct {
At *string `json:"at,omitempty"`
DurationMs *int `json:"durationMs,omitempty"`
Passed *bool `json:"passed,omitempty"`
// Warnings Warnings is true when the check passed but skipped some object
// (passed with warnings) — drawn amber in the status strip.
Warnings *bool `json:"warnings,omitempty"`
}
DtoRestoreCheckPoint defines model for dto.RestoreCheckPoint.
type DtoRestoreJob ¶
type DtoRestoreJob struct {
BytesRead *int `json:"bytesRead,omitempty"`
BytesRestored *int `json:"bytesRestored,omitempty"`
CreatedAt string `json:"createdAt"`
DataSourceId string `json:"dataSourceId"`
DataSourceName string `json:"dataSourceName"`
DurationMs *int `json:"durationMs,omitempty"`
Engine string `json:"engine"`
ErrorSummary *string `json:"errorSummary,omitempty"`
FinishedAt *string `json:"finishedAt,omitempty"`
// HasLog HasLog is true once the agent uploaded the restore output — the
// logs.presign endpoint will return a link.
HasLog *bool `json:"hasLog,omitempty"`
Id string `json:"id"`
Mode ConstantsRestoreMode `json:"mode"`
SourceBackupId *string `json:"sourceBackupId,omitempty"`
StartedAt *string `json:"startedAt,omitempty"`
Status ConstantsBackupJobStatus `json:"status"`
// TargetConnectionRef TargetConnectionRef is the redacted display form of the restore
// target (scheme://…@host:port/db) — never carries credentials.
TargetConnectionRef *string `json:"targetConnectionRef,omitempty"`
TargetDatabase *string `json:"targetDatabase,omitempty"`
VerifyLevel *string `json:"verifyLevel,omitempty"`
// VerifyPassed Verification fields — set only for verification checks
// (trigger=verification). VerifyPassed is the validation-ladder outcome
// (null until terminal); VerifyLevel is the depth reached (l1/l2/l3).
VerifyPassed *bool `json:"verifyPassed,omitempty"`
// VerifyWarnings VerifyWarnings is set when the restore passed but skipped some objects
// (passed with warnings); null for a clean pass.
VerifyWarnings *string `json:"verifyWarnings,omitempty"`
}
DtoRestoreJob defines model for dto.RestoreJob.
type GenerateBackupDownloadLinkResponse ¶
type GenerateBackupDownloadLinkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerPayloadGenerateDownloadLinkResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGenerateBackupDownloadLinkResponse ¶
func ParseGenerateBackupDownloadLinkResponse(rsp *http.Response) (*GenerateBackupDownloadLinkResponse, error)
ParseGenerateBackupDownloadLinkResponse parses an HTTP response from a GenerateBackupDownloadLinkWithResponse call
func (GenerateBackupDownloadLinkResponse) ContentType ¶
func (r GenerateBackupDownloadLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GenerateBackupDownloadLinkResponse) Status ¶
func (r GenerateBackupDownloadLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateBackupDownloadLinkResponse) StatusCode ¶
func (r GenerateBackupDownloadLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupHistoryParams ¶
type GetBackupHistoryParams struct {
Days *int `form:"days,omitempty" json:"days,omitempty"`
}
GetBackupHistoryParams defines parameters for GetBackupHistory.
type GetBackupHistoryResponse ¶
type GetBackupHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoBackupHistoryResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetBackupHistoryResponse ¶
func ParseGetBackupHistoryResponse(rsp *http.Response) (*GetBackupHistoryResponse, error)
ParseGetBackupHistoryResponse parses an HTTP response from a GetBackupHistoryWithResponse call
func (GetBackupHistoryResponse) ContentType ¶
func (r GetBackupHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupHistoryResponse) Status ¶
func (r GetBackupHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupHistoryResponse) StatusCode ¶
func (r GetBackupHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupPoliciesResponse ¶
type GetBackupPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoBackupPolicy `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetBackupPoliciesResponse ¶
func ParseGetBackupPoliciesResponse(rsp *http.Response) (*GetBackupPoliciesResponse, error)
ParseGetBackupPoliciesResponse parses an HTTP response from a GetBackupPoliciesWithResponse call
func (GetBackupPoliciesResponse) ContentType ¶
func (r GetBackupPoliciesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupPoliciesResponse) Status ¶
func (r GetBackupPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupPoliciesResponse) StatusCode ¶
func (r GetBackupPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupsParams ¶
type GetBackupsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
DatasourceIDs *[]string `form:"datasourceIDs,omitempty" json:"datasourceIDs,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetBackupsParams defines parameters for GetBackups.
type GetBackupsResponse ¶
type GetBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoBackupJob `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetBackupsResponse ¶
func ParseGetBackupsResponse(rsp *http.Response) (*GetBackupsResponse, error)
ParseGetBackupsResponse parses an HTTP response from a GetBackupsWithResponse call
func (GetBackupsResponse) ContentType ¶
func (r GetBackupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupsResponse) Status ¶
func (r GetBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupsResponse) StatusCode ¶
func (r GetBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasourcesDatasourceIdRestoresParams ¶
type GetDatasourcesDatasourceIdRestoresParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Trigger Trigger scopes the list: "manual" (user-initiated restore jobs,
// default) or "verification" (automated/on-demand restore checks).
Trigger *string `form:"trigger,omitempty" json:"trigger,omitempty"`
}
GetDatasourcesDatasourceIdRestoresParams defines parameters for GetDatasourcesDatasourceIdRestores.
type GetDatasourcesDatasourceIdRestoresResponse ¶
type GetDatasourcesDatasourceIdRestoresResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoRestoreJob `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetDatasourcesDatasourceIdRestoresResponse ¶
func ParseGetDatasourcesDatasourceIdRestoresResponse(rsp *http.Response) (*GetDatasourcesDatasourceIdRestoresResponse, error)
ParseGetDatasourcesDatasourceIdRestoresResponse parses an HTTP response from a GetDatasourcesDatasourceIdRestoresWithResponse call
func (GetDatasourcesDatasourceIdRestoresResponse) ContentType ¶
func (r GetDatasourcesDatasourceIdRestoresResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasourcesDatasourceIdRestoresResponse) Status ¶
func (r GetDatasourcesDatasourceIdRestoresResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasourcesDatasourceIdRestoresResponse) StatusCode ¶
func (r GetDatasourcesDatasourceIdRestoresResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNotificationSettingsResponse ¶
type GetNotificationSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoNotificationSettings
JSON500 *ResponseAPIError
}
func ParseGetNotificationSettingsResponse ¶
func ParseGetNotificationSettingsResponse(rsp *http.Response) (*GetNotificationSettingsResponse, error)
ParseGetNotificationSettingsResponse parses an HTTP response from a GetNotificationSettingsWithResponse call
func (GetNotificationSettingsResponse) ContentType ¶
func (r GetNotificationSettingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNotificationSettingsResponse) Status ¶
func (r GetNotificationSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetNotificationSettingsResponse) StatusCode ¶
func (r GetNotificationSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResponse ¶
type GetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoDataSource
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetResponse ¶
func ParseGetResponse(rsp *http.Response) (*GetResponse, error)
ParseGetResponse parses an HTTP response from a GetWithResponse call
func (GetResponse) ContentType ¶
func (r GetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetResponse) StatusCode ¶
func (r GetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRestoreCheckHistoryParams ¶
type GetRestoreCheckHistoryParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetRestoreCheckHistoryParams defines parameters for GetRestoreCheckHistory.
type GetRestoreCheckHistoryResponse ¶
type GetRestoreCheckHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoRestoreCheckHealthResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetRestoreCheckHistoryResponse ¶
func ParseGetRestoreCheckHistoryResponse(rsp *http.Response) (*GetRestoreCheckHistoryResponse, error)
ParseGetRestoreCheckHistoryResponse parses an HTTP response from a GetRestoreCheckHistoryWithResponse call
func (GetRestoreCheckHistoryResponse) ContentType ¶
func (r GetRestoreCheckHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRestoreCheckHistoryResponse) Status ¶
func (r GetRestoreCheckHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetRestoreCheckHistoryResponse) StatusCode ¶
func (r GetRestoreCheckHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRestoreCheckResponse ¶
type GetRestoreCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoRestoreCheck
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetRestoreCheckResponse ¶
func ParseGetRestoreCheckResponse(rsp *http.Response) (*GetRestoreCheckResponse, error)
ParseGetRestoreCheckResponse parses an HTTP response from a GetRestoreCheckWithResponse call
func (GetRestoreCheckResponse) ContentType ¶
func (r GetRestoreCheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRestoreCheckResponse) Status ¶
func (r GetRestoreCheckResponse) Status() string
Status returns HTTPResponse.Status
func (GetRestoreCheckResponse) StatusCode ¶
func (r GetRestoreCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRestoresIdLogsPresignResponse ¶
type GetRestoresIdLogsPresignResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RestorehandlerPayloadLogsPresignResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetRestoresIdLogsPresignResponse ¶
func ParseGetRestoresIdLogsPresignResponse(rsp *http.Response) (*GetRestoresIdLogsPresignResponse, error)
ParseGetRestoresIdLogsPresignResponse parses an HTTP response from a GetRestoresIdLogsPresignWithResponse call
func (GetRestoresIdLogsPresignResponse) ContentType ¶
func (r GetRestoresIdLogsPresignResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRestoresIdLogsPresignResponse) Status ¶
func (r GetRestoresIdLogsPresignResponse) Status() string
Status returns HTTPResponse.Status
func (GetRestoresIdLogsPresignResponse) StatusCode ¶
func (r GetRestoresIdLogsPresignResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRestoresIdResponse ¶
type GetRestoresIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoRestoreJob
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetRestoresIdResponse ¶
func ParseGetRestoresIdResponse(rsp *http.Response) (*GetRestoresIdResponse, error)
ParseGetRestoresIdResponse parses an HTTP response from a GetRestoresIdWithResponse call
func (GetRestoresIdResponse) ContentType ¶
func (r GetRestoresIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRestoresIdResponse) Status ¶
func (r GetRestoresIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetRestoresIdResponse) StatusCode ¶
func (r GetRestoresIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStorageDestinationsIdResponse ¶
type GetStorageDestinationsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyhandlerPayloadStorageDestinationResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetStorageDestinationsIdResponse ¶
func ParseGetStorageDestinationsIdResponse(rsp *http.Response) (*GetStorageDestinationsIdResponse, error)
ParseGetStorageDestinationsIdResponse parses an HTTP response from a GetStorageDestinationsIdWithResponse call
func (GetStorageDestinationsIdResponse) ContentType ¶
func (r GetStorageDestinationsIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStorageDestinationsIdResponse) Status ¶
func (r GetStorageDestinationsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetStorageDestinationsIdResponse) StatusCode ¶
func (r GetStorageDestinationsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStorageDestinationsParams ¶
type GetStorageDestinationsParams struct {
// Search Substring search across name, bucket, endpoint URL, and type
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Ownership Filter by ownership: all | managed | byo
Ownership *GetStorageDestinationsParamsOwnership `form:"ownership,omitempty" json:"ownership,omitempty"`
// UnverifiedOnly Only return BYO rows with NULL last_verified_at
UnverifiedOnly *bool `form:"unverifiedOnly,omitempty" json:"unverifiedOnly,omitempty"`
}
GetStorageDestinationsParams defines parameters for GetStorageDestinations.
type GetStorageDestinationsParamsOwnership ¶
type GetStorageDestinationsParamsOwnership string
GetStorageDestinationsParamsOwnership defines parameters for GetStorageDestinations.
const ( All GetStorageDestinationsParamsOwnership = "all" Byo GetStorageDestinationsParamsOwnership = "byo" Managed GetStorageDestinationsParamsOwnership = "managed" )
Defines values for GetStorageDestinationsParamsOwnership.
func (GetStorageDestinationsParamsOwnership) Valid ¶
func (e GetStorageDestinationsParamsOwnership) Valid() bool
Valid indicates whether the value is a known member of the GetStorageDestinationsParamsOwnership enum.
type GetStorageDestinationsResponse ¶
type GetStorageDestinationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PolicyhandlerPayloadStorageDestinationResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseGetStorageDestinationsResponse ¶
func ParseGetStorageDestinationsResponse(rsp *http.Response) (*GetStorageDestinationsResponse, error)
ParseGetStorageDestinationsResponse parses an HTTP response from a GetStorageDestinationsWithResponse call
func (GetStorageDestinationsResponse) ContentType ¶
func (r GetStorageDestinationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStorageDestinationsResponse) Status ¶
func (r GetStorageDestinationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetStorageDestinationsResponse) StatusCode ¶
func (r GetStorageDestinationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAuditLogActorsResponse ¶
type ListAuditLogActorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]AudithandlerPayloadActor
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseListAuditLogActorsResponse ¶
func ParseListAuditLogActorsResponse(rsp *http.Response) (*ListAuditLogActorsResponse, error)
ParseListAuditLogActorsResponse parses an HTTP response from a ListAuditLogActorsWithResponse call
func (ListAuditLogActorsResponse) ContentType ¶
func (r ListAuditLogActorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAuditLogActorsResponse) Status ¶
func (r ListAuditLogActorsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAuditLogActorsResponse) StatusCode ¶
func (r ListAuditLogActorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAuditLogsParams ¶
type ListAuditLogsParams struct {
// Limit Page size (1-200, default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// CursorCreatedAt Cursor from prior response — RFC3339 timestamp
CursorCreatedAt *string `form:"cursorCreatedAt,omitempty" json:"cursorCreatedAt,omitempty"`
// CursorId Cursor from prior response — UUID tiebreaker for same-timestamp rows
CursorId *string `form:"cursorId,omitempty" json:"cursorId,omitempty"`
// Since Filter to rows with createdAt >= since (RFC3339)
Since *string `form:"since,omitempty" json:"since,omitempty"`
// Until Filter to rows with createdAt < until (RFC3339)
Until *string `form:"until,omitempty" json:"until,omitempty"`
// Actions Filter to one or more exact actions (repeated)
Actions *[]string `form:"actions,omitempty" json:"actions,omitempty"`
// TargetTypes Filter by one or more exact target_types (repeated)
TargetTypes *[]string `form:"targetTypes,omitempty" json:"targetTypes,omitempty"`
// TargetId Filter by exact target uuid (e.g. one datasource's id)
TargetId *string `form:"targetId,omitempty" json:"targetId,omitempty"`
// ActorIds Filter by one or more actor user ids (repeated)
ActorIds *[]string `form:"actorIds,omitempty" json:"actorIds,omitempty"`
}
ListAuditLogsParams defines parameters for ListAuditLogs.
type ListAuditLogsResponse ¶
type ListAuditLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AudithandlerPayloadListResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseListAuditLogsResponse ¶
func ParseListAuditLogsResponse(rsp *http.Response) (*ListAuditLogsResponse, error)
ParseListAuditLogsResponse parses an HTTP response from a ListAuditLogsWithResponse call
func (ListAuditLogsResponse) ContentType ¶
func (r ListAuditLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAuditLogsResponse) Status ¶
func (r ListAuditLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAuditLogsResponse) StatusCode ¶
func (r ListAuditLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupJobsParams ¶
type ListBackupJobsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListBackupJobsParams defines parameters for ListBackupJobs.
type ListBackupJobsResponse ¶
type ListBackupJobsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoBackupJob `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseListBackupJobsResponse ¶
func ParseListBackupJobsResponse(rsp *http.Response) (*ListBackupJobsResponse, error)
ParseListBackupJobsResponse parses an HTTP response from a ListBackupJobsWithResponse call
func (ListBackupJobsResponse) ContentType ¶
func (r ListBackupJobsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBackupJobsResponse) Status ¶
func (r ListBackupJobsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupJobsResponse) StatusCode ¶
func (r ListBackupJobsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListParams ¶
type ListParams struct {
// Cursor Pagination cursor
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Query Search query to filter data sources by name
Query *string `form:"query,omitempty" json:"query,omitempty"`
}
ListParams defines parameters for List.
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]DtoDatasourcePolicy
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseListPoliciesResponse ¶
func ParseListPoliciesResponse(rsp *http.Response) (*ListPoliciesResponse, error)
ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call
func (ListPoliciesResponse) ContentType ¶
func (r ListPoliciesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPoliciesResponse) Status ¶
func (r ListPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPoliciesResponse) StatusCode ¶
func (r ListPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListResponse ¶
type ListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoDataSource `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseListResponse ¶
func ParseListResponse(rsp *http.Response) (*ListResponse, error)
ParseListResponse parses an HTTP response from a ListWithResponse call
func (ListResponse) ContentType ¶
func (r ListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListResponse) Status ¶
func (r ListResponse) Status() string
Status returns HTTPResponse.Status
func (ListResponse) StatusCode ¶
func (r ListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NotificationhandlerPayloadNotificationSettingsRequest ¶
type NotificationhandlerPayloadNotificationSettingsRequest struct {
AlertEmails *[]string `json:"alertEmails,omitempty"`
OnBackupFailed *bool `json:"onBackupFailed,omitempty"`
OnMissedSchedule *bool `json:"onMissedSchedule,omitempty"`
OnRecovered *bool `json:"onRecovered,omitempty"`
OnRestoreFailed *bool `json:"onRestoreFailed,omitempty"`
OnRestoreTestFailed *bool `json:"onRestoreTestFailed,omitempty"`
SlackWebhookUrl *string `json:"slackWebhookUrl,omitempty"`
WebhookSecret *string `json:"webhookSecret,omitempty"`
WebhookUrl *string `json:"webhookUrl,omitempty"`
}
NotificationhandlerPayloadNotificationSettingsRequest defines model for notificationhandler.payloadNotificationSettingsRequest.
type PatchBackupPoliciesIdJSONRequestBody ¶
type PatchBackupPoliciesIdJSONRequestBody = PolicyhandlerPayloadUpdateRequest
PatchBackupPoliciesIdJSONRequestBody defines body for PatchBackupPoliciesId for application/json ContentType.
type PatchBackupPoliciesIdResponse ¶
type PatchBackupPoliciesIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePatchBackupPoliciesIdResponse ¶
func ParsePatchBackupPoliciesIdResponse(rsp *http.Response) (*PatchBackupPoliciesIdResponse, error)
ParsePatchBackupPoliciesIdResponse parses an HTTP response from a PatchBackupPoliciesIdWithResponse call
func (PatchBackupPoliciesIdResponse) ContentType ¶
func (r PatchBackupPoliciesIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchBackupPoliciesIdResponse) Status ¶
func (r PatchBackupPoliciesIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchBackupPoliciesIdResponse) StatusCode ¶
func (r PatchBackupPoliciesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchStorageDestinationsIdJSONRequestBody ¶
type PatchStorageDestinationsIdJSONRequestBody = PolicyhandlerPayloadUpdateStorageDestinationRequest
PatchStorageDestinationsIdJSONRequestBody defines body for PatchStorageDestinationsId for application/json ContentType.
type PatchStorageDestinationsIdResponse ¶
type PatchStorageDestinationsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyhandlerPayloadStorageDestinationResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePatchStorageDestinationsIdResponse ¶
func ParsePatchStorageDestinationsIdResponse(rsp *http.Response) (*PatchStorageDestinationsIdResponse, error)
ParsePatchStorageDestinationsIdResponse parses an HTTP response from a PatchStorageDestinationsIdWithResponse call
func (PatchStorageDestinationsIdResponse) ContentType ¶
func (r PatchStorageDestinationsIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchStorageDestinationsIdResponse) Status ¶
func (r PatchStorageDestinationsIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchStorageDestinationsIdResponse) StatusCode ¶
func (r PatchStorageDestinationsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PolicyhandlerPayloadCreateRequest ¶
type PolicyhandlerPayloadCreateRequest struct {
// Compression gzip, zstd, none
Compression *string `json:"compression,omitempty"`
// DestinationId DestinationID is required: every policy now declares where its
// archives land (migration 20260520121030 moved the column from
// the attachment row to the policy itself). Customers picking
// "this template uses my R2 bucket" once is cleaner than
// re-picking on every datasource attach.
DestinationId string `json:"destinationId"`
// Encryption sse-kms
Encryption *string `json:"encryption,omitempty"`
KeepLastN int `json:"keepLastN"`
// Method logical_dump, physical, pitr
Method *string `json:"method,omitempty"`
Name string `json:"name"`
Parallelism *int `json:"parallelism,omitempty"`
PitrEnabled *bool `json:"pitrEnabled,omitempty"`
RetentionDays int `json:"retentionDays"`
ScheduleCron string `json:"scheduleCron"`
ThrottleMbps *int `json:"throttleMbps,omitempty"`
Timezone string `json:"timezone"`
}
PolicyhandlerPayloadCreateRequest defines model for policyhandler.payloadCreateRequest.
type PolicyhandlerPayloadCreateResponse ¶
type PolicyhandlerPayloadCreateResponse struct {
Id string `json:"id"`
}
PolicyhandlerPayloadCreateResponse defines model for policyhandler.payloadCreateResponse.
type PolicyhandlerPayloadCreateStorageDestinationRequest ¶
type PolicyhandlerPayloadCreateStorageDestinationRequest struct {
AccessKeyId string `json:"accessKeyId"`
Bucket string `json:"bucket"`
EncryptionMode *string `json:"encryptionMode,omitempty"`
EndpointUrl *string `json:"endpointUrl,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Name string `json:"name"`
Region *string `json:"region,omitempty"`
SecretAccessKey string `json:"secretAccessKey"`
StorageClass *string `json:"storageClass,omitempty"`
Type string `json:"type"`
}
PolicyhandlerPayloadCreateStorageDestinationRequest defines model for policyhandler.payloadCreateStorageDestinationRequest.
type PolicyhandlerPayloadCreateStorageDestinationResponse ¶
type PolicyhandlerPayloadCreateStorageDestinationResponse struct {
Id *string `json:"id,omitempty"`
LastVerifiedAt *string `json:"lastVerifiedAt,omitempty"`
}
PolicyhandlerPayloadCreateStorageDestinationResponse defines model for policyhandler.payloadCreateStorageDestinationResponse.
type PolicyhandlerPayloadEnsureManagedStorageDestinationRequest ¶
type PolicyhandlerPayloadEnsureManagedStorageDestinationRequest struct {
Region ConstantsStorageDestinationRegion `json:"region"`
}
PolicyhandlerPayloadEnsureManagedStorageDestinationRequest defines model for policyhandler.payloadEnsureManagedStorageDestinationRequest.
type PolicyhandlerPayloadEnsureManagedStorageDestinationResponse ¶
type PolicyhandlerPayloadEnsureManagedStorageDestinationResponse struct {
Id string `json:"id"`
}
PolicyhandlerPayloadEnsureManagedStorageDestinationResponse defines model for policyhandler.payloadEnsureManagedStorageDestinationResponse.
type PolicyhandlerPayloadStorageDestinationResponse ¶
type PolicyhandlerPayloadStorageDestinationResponse struct {
Bucket *string `json:"bucket,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
EncryptionMode *string `json:"encryptionMode,omitempty"`
EndpointUrl *string `json:"endpointUrl,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
IsManaged *bool `json:"isManaged,omitempty"`
LastVerifiedAt *string `json:"lastVerifiedAt,omitempty"`
Name *string `json:"name,omitempty"`
Region *string `json:"region,omitempty"`
StorageClass *string `json:"storageClass,omitempty"`
Type *string `json:"type,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
PolicyhandlerPayloadStorageDestinationResponse defines model for policyhandler.payloadStorageDestinationResponse.
type PolicyhandlerPayloadUpdateRequest ¶
type PolicyhandlerPayloadUpdateRequest struct {
// Compression gzip, zstd, none
Compression *string `json:"compression,omitempty"`
// Encryption sse-kms, sse-s3, client-side, none
Encryption *string `json:"encryption,omitempty"`
KeepLastN *int `json:"keepLastN,omitempty"`
// Method logical_dump, physical, pitr
Method *string `json:"method,omitempty"`
Name *string `json:"name,omitempty"`
Parallelism *int `json:"parallelism,omitempty"`
PitrEnabled *bool `json:"pitrEnabled,omitempty"`
RetentionDays *int `json:"retentionDays,omitempty"`
ScheduleCron *string `json:"scheduleCron,omitempty"`
ThrottleMbps *int `json:"throttleMbps,omitempty"`
Timezone *string `json:"timezone,omitempty"`
}
PolicyhandlerPayloadUpdateRequest defines model for policyhandler.payloadUpdateRequest.
type PolicyhandlerPayloadUpdateStorageDestinationRequest ¶
type PolicyhandlerPayloadUpdateStorageDestinationRequest struct {
AccessKeyId *string `json:"accessKeyId,omitempty"`
EncryptionMode *string `json:"encryptionMode,omitempty"`
EndpointUrl *string `json:"endpointUrl,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Name *string `json:"name,omitempty"`
Region *string `json:"region,omitempty"`
SecretAccessKey *string `json:"secretAccessKey,omitempty"`
StorageClass *string `json:"storageClass,omitempty"`
}
PolicyhandlerPayloadUpdateStorageDestinationRequest defines model for policyhandler.payloadUpdateStorageDestinationRequest.
type PostBackupPoliciesJSONRequestBody ¶
type PostBackupPoliciesJSONRequestBody = PolicyhandlerPayloadCreateRequest
PostBackupPoliciesJSONRequestBody defines body for PostBackupPolicies for application/json ContentType.
type PostBackupPoliciesResponse ¶
type PostBackupPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PolicyhandlerPayloadCreateResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostBackupPoliciesResponse ¶
func ParsePostBackupPoliciesResponse(rsp *http.Response) (*PostBackupPoliciesResponse, error)
ParsePostBackupPoliciesResponse parses an HTTP response from a PostBackupPoliciesWithResponse call
func (PostBackupPoliciesResponse) ContentType ¶
func (r PostBackupPoliciesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostBackupPoliciesResponse) Status ¶
func (r PostBackupPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (PostBackupPoliciesResponse) StatusCode ¶
func (r PostBackupPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasourcesDatasourceIdPoliciesJSONRequestBody ¶
type PostDatasourcesDatasourceIdPoliciesJSONRequestBody = DatasourcehandlerPayloadDataSourcePolicyAttachRequest
PostDatasourcesDatasourceIdPoliciesJSONRequestBody defines body for PostDatasourcesDatasourceIdPolicies for application/json ContentType.
type PostDatasourcesDatasourceIdPoliciesResponse ¶
type PostDatasourcesDatasourceIdPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DatasourcehandlerPayloadDataSourcePolicyAttachResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostDatasourcesDatasourceIdPoliciesResponse ¶
func ParsePostDatasourcesDatasourceIdPoliciesResponse(rsp *http.Response) (*PostDatasourcesDatasourceIdPoliciesResponse, error)
ParsePostDatasourcesDatasourceIdPoliciesResponse parses an HTTP response from a PostDatasourcesDatasourceIdPoliciesWithResponse call
func (PostDatasourcesDatasourceIdPoliciesResponse) ContentType ¶
func (r PostDatasourcesDatasourceIdPoliciesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasourcesDatasourceIdPoliciesResponse) Status ¶
func (r PostDatasourcesDatasourceIdPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasourcesDatasourceIdPoliciesResponse) StatusCode ¶
func (r PostDatasourcesDatasourceIdPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasourcesJSONRequestBody ¶
type PostDatasourcesJSONRequestBody = DatasourcehandlerPayloadCreateRequest
PostDatasourcesJSONRequestBody defines body for PostDatasources for application/json ContentType.
type PostDatasourcesResponse ¶
type PostDatasourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DatasourcehandlerPayloadCreateResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostDatasourcesResponse ¶
func ParsePostDatasourcesResponse(rsp *http.Response) (*PostDatasourcesResponse, error)
ParsePostDatasourcesResponse parses an HTTP response from a PostDatasourcesWithResponse call
func (PostDatasourcesResponse) ContentType ¶
func (r PostDatasourcesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasourcesResponse) Status ¶
func (r PostDatasourcesResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasourcesResponse) StatusCode ¶
func (r PostDatasourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostRestoresJSONRequestBody ¶
type PostRestoresJSONRequestBody = RestorehandlerPayloadCreateRequest
PostRestoresJSONRequestBody defines body for PostRestores for application/json ContentType.
type PostRestoresResponse ¶
type PostRestoresResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *RestorehandlerPayloadCreateResponse
JSON400 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostRestoresResponse ¶
func ParsePostRestoresResponse(rsp *http.Response) (*PostRestoresResponse, error)
ParsePostRestoresResponse parses an HTTP response from a PostRestoresWithResponse call
func (PostRestoresResponse) ContentType ¶
func (r PostRestoresResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostRestoresResponse) Status ¶
func (r PostRestoresResponse) Status() string
Status returns HTTPResponse.Status
func (PostRestoresResponse) StatusCode ¶
func (r PostRestoresResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostRestoresTargetProbeJSONRequestBody ¶
type PostRestoresTargetProbeJSONRequestBody = RestorehandlerPayloadProbeTargetRequest
PostRestoresTargetProbeJSONRequestBody defines body for PostRestoresTargetProbe for application/json ContentType.
type PostRestoresTargetProbeResponse ¶
type PostRestoresTargetProbeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RestorehandlerPayloadProbeTargetResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostRestoresTargetProbeResponse ¶
func ParsePostRestoresTargetProbeResponse(rsp *http.Response) (*PostRestoresTargetProbeResponse, error)
ParsePostRestoresTargetProbeResponse parses an HTTP response from a PostRestoresTargetProbeWithResponse call
func (PostRestoresTargetProbeResponse) ContentType ¶
func (r PostRestoresTargetProbeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostRestoresTargetProbeResponse) Status ¶
func (r PostRestoresTargetProbeResponse) Status() string
Status returns HTTPResponse.Status
func (PostRestoresTargetProbeResponse) StatusCode ¶
func (r PostRestoresTargetProbeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostStorageDestinationsJSONRequestBody ¶
type PostStorageDestinationsJSONRequestBody = PolicyhandlerPayloadCreateStorageDestinationRequest
PostStorageDestinationsJSONRequestBody defines body for PostStorageDestinations for application/json ContentType.
type PostStorageDestinationsManagedEnsureJSONRequestBody ¶
type PostStorageDestinationsManagedEnsureJSONRequestBody = PolicyhandlerPayloadEnsureManagedStorageDestinationRequest
PostStorageDestinationsManagedEnsureJSONRequestBody defines body for PostStorageDestinationsManagedEnsure for application/json ContentType.
type PostStorageDestinationsManagedEnsureResponse ¶
type PostStorageDestinationsManagedEnsureResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyhandlerPayloadEnsureManagedStorageDestinationResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostStorageDestinationsManagedEnsureResponse ¶
func ParsePostStorageDestinationsManagedEnsureResponse(rsp *http.Response) (*PostStorageDestinationsManagedEnsureResponse, error)
ParsePostStorageDestinationsManagedEnsureResponse parses an HTTP response from a PostStorageDestinationsManagedEnsureWithResponse call
func (PostStorageDestinationsManagedEnsureResponse) ContentType ¶
func (r PostStorageDestinationsManagedEnsureResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostStorageDestinationsManagedEnsureResponse) Status ¶
func (r PostStorageDestinationsManagedEnsureResponse) Status() string
Status returns HTTPResponse.Status
func (PostStorageDestinationsManagedEnsureResponse) StatusCode ¶
func (r PostStorageDestinationsManagedEnsureResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostStorageDestinationsResponse ¶
type PostStorageDestinationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyhandlerPayloadCreateStorageDestinationResponse
JSON400 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePostStorageDestinationsResponse ¶
func ParsePostStorageDestinationsResponse(rsp *http.Response) (*PostStorageDestinationsResponse, error)
ParsePostStorageDestinationsResponse parses an HTTP response from a PostStorageDestinationsWithResponse call
func (PostStorageDestinationsResponse) ContentType ¶
func (r PostStorageDestinationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostStorageDestinationsResponse) Status ¶
func (r PostStorageDestinationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostStorageDestinationsResponse) StatusCode ¶
func (r PostStorageDestinationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProtectDatasourceJSONRequestBody ¶
type ProtectDatasourceJSONRequestBody = DatasourcehandlerPayloadProtectRequest
ProtectDatasourceJSONRequestBody defines body for ProtectDatasource for application/json ContentType.
type ProtectDatasourceResponse ¶
type ProtectDatasourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DatasourcehandlerPayloadProtectResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseProtectDatasourceResponse ¶
func ParseProtectDatasourceResponse(rsp *http.Response) (*ProtectDatasourceResponse, error)
ParseProtectDatasourceResponse parses an HTTP response from a ProtectDatasourceWithResponse call
func (ProtectDatasourceResponse) ContentType ¶
func (r ProtectDatasourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProtectDatasourceResponse) Status ¶
func (r ProtectDatasourceResponse) Status() string
Status returns HTTPResponse.Status
func (ProtectDatasourceResponse) StatusCode ¶
func (r ProtectDatasourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutDatasourcesIdCredentialsJSONRequestBody ¶
type PutDatasourcesIdCredentialsJSONRequestBody = DatasourcehandlerPayloadSetCredentialsRequest
PutDatasourcesIdCredentialsJSONRequestBody defines body for PutDatasourcesIdCredentials for application/json ContentType.
type PutDatasourcesIdCredentialsResponse ¶
type PutDatasourcesIdCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerPayloadSetCredentialsResponse
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePutDatasourcesIdCredentialsResponse ¶
func ParsePutDatasourcesIdCredentialsResponse(rsp *http.Response) (*PutDatasourcesIdCredentialsResponse, error)
ParsePutDatasourcesIdCredentialsResponse parses an HTTP response from a PutDatasourcesIdCredentialsWithResponse call
func (PutDatasourcesIdCredentialsResponse) ContentType ¶
func (r PutDatasourcesIdCredentialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutDatasourcesIdCredentialsResponse) Status ¶
func (r PutDatasourcesIdCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (PutDatasourcesIdCredentialsResponse) StatusCode ¶
func (r PutDatasourcesIdCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNotificationSettingsJSONRequestBody ¶
type PutNotificationSettingsJSONRequestBody = NotificationhandlerPayloadNotificationSettingsRequest
PutNotificationSettingsJSONRequestBody defines body for PutNotificationSettings for application/json ContentType.
type PutNotificationSettingsResponse ¶
type PutNotificationSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoNotificationSettings
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePutNotificationSettingsResponse ¶
func ParsePutNotificationSettingsResponse(rsp *http.Response) (*PutNotificationSettingsResponse, error)
ParsePutNotificationSettingsResponse parses an HTTP response from a PutNotificationSettingsWithResponse call
func (PutNotificationSettingsResponse) ContentType ¶
func (r PutNotificationSettingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutNotificationSettingsResponse) Status ¶
func (r PutNotificationSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (PutNotificationSettingsResponse) StatusCode ¶
func (r PutNotificationSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutRestoreCheckJSONRequestBody ¶
type PutRestoreCheckJSONRequestBody = DatasourcehandlerPayloadRestoreCheckRequest
PutRestoreCheckJSONRequestBody defines body for PutRestoreCheck for application/json ContentType.
type PutRestoreCheckResponse ¶
type PutRestoreCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoRestoreCheck
JSON400 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParsePutRestoreCheckResponse ¶
func ParsePutRestoreCheckResponse(rsp *http.Response) (*PutRestoreCheckResponse, error)
ParsePutRestoreCheckResponse parses an HTTP response from a PutRestoreCheckWithResponse call
func (PutRestoreCheckResponse) ContentType ¶
func (r PutRestoreCheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutRestoreCheckResponse) Status ¶
func (r PutRestoreCheckResponse) Status() string
Status returns HTTPResponse.Status
func (PutRestoreCheckResponse) StatusCode ¶
func (r PutRestoreCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseAPIError ¶
type ResponseAPIError struct {
Data interface{} `json:"data,omitempty"`
Fields *map[string]string `json:"fields,omitempty"`
Msg string `json:"msg"`
Timestamp *string `json:"timestamp,omitempty"`
TraceId *string `json:"traceId,omitempty"`
Type ResponseType `json:"type"`
}
ResponseAPIError defines model for response.APIError.
type ResponseAPIResponsePaginationCursors ¶
type ResponseAPIResponsePaginationCursors struct {
Next *string `json:"next,omitempty"`
}
ResponseAPIResponsePaginationCursors defines model for response.APIResponsePaginationCursors.
type ResponseAPIResponsePaginationMeta ¶
type ResponseAPIResponsePaginationMeta struct {
Timestamp *string `json:"timestamp,omitempty"`
}
ResponseAPIResponsePaginationMeta defines model for response.APIResponsePaginationMeta.
type ResponseAPIResponseWithPagination ¶
type ResponseAPIResponseWithPagination struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List interface{} `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
ResponseAPIResponseWithPagination defines model for response.APIResponseWithPagination.
type ResponseType ¶
type ResponseType string
ResponseType defines model for response.Type.
const ( ErrConflict ResponseType = "CONFLICT" ErrForbidden ResponseType = "FORBIDDEN" ErrInternal ResponseType = "INTERNAL_ERROR" ErrInternalServer ResponseType = "INTERNAL_SERVER_ERROR" ErrInvalidPayload ResponseType = "INVALID_PAYLOAD" ErrMissingOrganizationID ResponseType = "MISSING_ORGANIZATION_ID" ErrMissingUserID ResponseType = "MISSING_USER_ID" ErrNotFound ResponseType = "NOT_FOUND" ErrOrgBlocked ResponseType = "ORG_BLOCKED" ErrValidationFailed ResponseType = "VALIDATION_FAILED" )
Defines values for ResponseType.
func (ResponseType) Valid ¶
func (e ResponseType) Valid() bool
Valid indicates whether the value is a known member of the ResponseType enum.
type RestorehandlerPayloadCreateRequest ¶
type RestorehandlerPayloadCreateRequest struct {
// ConfirmOverwrite ConfirmOverwrite must be true for overwrite mode — the API guard
// behind the wizard's confirm step.
ConfirmOverwrite *bool `json:"confirmOverwrite,omitempty"`
DataSourceId string `json:"dataSourceId"`
// Mode Mode is one of new_database | overwrite | new_server.
Mode string `json:"mode"`
SourceBackupId string `json:"sourceBackupId"`
// TargetDatabase TargetDatabase is the database to create (new_database mode only).
TargetDatabase *string `json:"targetDatabase,omitempty"`
// TargetUri TargetURI is the write-capable connection string for new_database /
// new_server modes. Encrypted at rest; never returned by any endpoint.
TargetUri *string `json:"targetUri,omitempty"`
}
RestorehandlerPayloadCreateRequest defines model for restorehandler.payloadCreateRequest.
type RestorehandlerPayloadCreateResponse ¶
type RestorehandlerPayloadCreateResponse struct {
Id string `json:"id"`
}
RestorehandlerPayloadCreateResponse defines model for restorehandler.payloadCreateResponse.
type RestorehandlerPayloadLogsPresignResponse ¶
type RestorehandlerPayloadLogsPresignResponse struct {
// ErrorCode ErrorCode is one of: not_found | no_log | presign_failed.
ErrorCode *string `json:"errorCode,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
ExpiresAt *string `json:"expiresAt,omitempty"`
Ok bool `json:"ok"`
Url *string `json:"url,omitempty"`
}
RestorehandlerPayloadLogsPresignResponse defines model for restorehandler.payloadLogsPresignResponse.
type RestorehandlerPayloadProbeTargetRequest ¶
type RestorehandlerPayloadProbeTargetRequest struct {
DataSourceId string `json:"dataSourceId"`
// Mode Mode is one of new_database | overwrite | new_server.
Mode string `json:"mode"`
// TargetDatabase TargetDatabase (new_database mode) is probed for prior existence.
TargetDatabase *string `json:"targetDatabase,omitempty"`
// TargetUri TargetURI is required for new_database / new_server; ignored for
// overwrite (which probes the stored datasource credentials).
TargetUri *string `json:"targetUri,omitempty"`
}
RestorehandlerPayloadProbeTargetRequest defines model for restorehandler.payloadProbeTargetRequest.
type RestorehandlerPayloadProbeTargetResponse ¶
type RestorehandlerPayloadProbeTargetResponse struct {
Engine *string `json:"engine,omitempty"`
// ErrorCode ErrorCode mirrors the verify enum plus write-probe codes:
// target_not_writable | cannot_create_database | database_already_exists | engine_mismatch | …
ErrorCode *string `json:"errorCode,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
LatencyMs *int `json:"latencyMs,omitempty"`
Ok bool `json:"ok"`
}
RestorehandlerPayloadProbeTargetResponse defines model for restorehandler.payloadProbeTargetResponse.
type RunBackupNowJSONRequestBody ¶
type RunBackupNowJSONRequestBody = DatasourcehandlerPayloadRunBackupNowRequest
RunBackupNowJSONRequestBody defines body for RunBackupNow for application/json ContentType.
type RunBackupNowResponse ¶
type RunBackupNowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerPayloadRunBackupNowResponse
JSON400 *ResponseAPIError
JSON402 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseRunBackupNowResponse ¶
func ParseRunBackupNowResponse(rsp *http.Response) (*RunBackupNowResponse, error)
ParseRunBackupNowResponse parses an HTTP response from a RunBackupNowWithResponse call
func (RunBackupNowResponse) ContentType ¶
func (r RunBackupNowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RunBackupNowResponse) Status ¶
func (r RunBackupNowResponse) Status() string
Status returns HTTPResponse.Status
func (RunBackupNowResponse) StatusCode ¶
func (r RunBackupNowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestNotificationsResponse ¶
type TestNotificationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoNotificationTestResponse
JSON500 *ResponseAPIError
}
func ParseTestNotificationsResponse ¶
func ParseTestNotificationsResponse(rsp *http.Response) (*TestNotificationsResponse, error)
ParseTestNotificationsResponse parses an HTTP response from a TestNotificationsWithResponse call
func (TestNotificationsResponse) ContentType ¶
func (r TestNotificationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestNotificationsResponse) Status ¶
func (r TestNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (TestNotificationsResponse) StatusCode ¶
func (r TestNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDataSourceJSONRequestBody ¶
type UpdateDataSourceJSONRequestBody = DatasourcehandlerPayloadDatasourceUpdateRequest
UpdateDataSourceJSONRequestBody defines body for UpdateDataSource for application/json ContentType.
type UpdateDataSourceResponse ¶
type UpdateDataSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseUpdateDataSourceResponse ¶
func ParseUpdateDataSourceResponse(rsp *http.Response) (*UpdateDataSourceResponse, error)
ParseUpdateDataSourceResponse parses an HTTP response from a UpdateDataSourceWithResponse call
func (UpdateDataSourceResponse) ContentType ¶
func (r UpdateDataSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDataSourceResponse) Status ¶
func (r UpdateDataSourceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDataSourceResponse) StatusCode ¶
func (r UpdateDataSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePolicyAttachmentJSONRequestBody ¶
type UpdatePolicyAttachmentJSONRequestBody = DatasourcehandlerPayloadDatasourcePolicyUpdateRequest
UpdatePolicyAttachmentJSONRequestBody defines body for UpdatePolicyAttachment for application/json ContentType.
type UpdatePolicyAttachmentResponse ¶
type UpdatePolicyAttachmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseUpdatePolicyAttachmentResponse ¶
func ParseUpdatePolicyAttachmentResponse(rsp *http.Response) (*UpdatePolicyAttachmentResponse, error)
ParseUpdatePolicyAttachmentResponse parses an HTTP response from a UpdatePolicyAttachmentWithResponse call
func (UpdatePolicyAttachmentResponse) ContentType ¶
func (r UpdatePolicyAttachmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePolicyAttachmentResponse) Status ¶
func (r UpdatePolicyAttachmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePolicyAttachmentResponse) StatusCode ¶
func (r UpdatePolicyAttachmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyBackupNowResponse ¶
type VerifyBackupNowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DatasourcehandlerPayloadVerifyBackupResponse
JSON400 *ResponseAPIError
JSON409 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseVerifyBackupNowResponse ¶
func ParseVerifyBackupNowResponse(rsp *http.Response) (*VerifyBackupNowResponse, error)
ParseVerifyBackupNowResponse parses an HTTP response from a VerifyBackupNowWithResponse call
func (VerifyBackupNowResponse) ContentType ¶
func (r VerifyBackupNowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyBackupNowResponse) Status ¶
func (r VerifyBackupNowResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyBackupNowResponse) StatusCode ¶
func (r VerifyBackupNowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyDatasourceResponse ¶
type VerifyDatasourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasourcehandlerPayloadVerifyResponse
JSON400 *ResponseAPIError
JSON404 *ResponseAPIError
JSON500 *ResponseAPIError
}
func ParseVerifyDatasourceResponse ¶
func ParseVerifyDatasourceResponse(rsp *http.Response) (*VerifyDatasourceResponse, error)
ParseVerifyDatasourceResponse parses an HTTP response from a VerifyDatasourceWithResponse call
func (VerifyDatasourceResponse) ContentType ¶
func (r VerifyDatasourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyDatasourceResponse) Status ¶
func (r VerifyDatasourceResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyDatasourceResponse) StatusCode ¶
func (r VerifyDatasourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode