Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type ACL
- type APIClient
- func (a *APIClient) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
- func (a *APIClient) CreateDatabaseExecute(ctx context.Context, projectId string, instanceId string) (*CreateDatabaseResponse, error)
- func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string) (*CreateInstanceResponse, error)
- func (a *APIClient) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a *APIClient) CreateUserExecute(ctx context.Context, projectId string, instanceId string) (*CreateUserResponse, error)
- func (a *APIClient) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
- func (a *APIClient) DeleteDatabaseExecute(ctx context.Context, projectId string, instanceId string, databaseName string) error
- func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error
- func (a *APIClient) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a *APIClient) DeleteUserExecute(ctx context.Context, projectId string, instanceId string, userId string) error
- func (a *APIClient) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string) ApiGetBackupRequest
- func (a *APIClient) GetBackupExecute(ctx context.Context, projectId string, instanceId string, backupId string) (*GetBackupResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
- func (a *APIClient) GetDatabaseExecute(ctx context.Context, projectId string, instanceId string, databaseName string) (*GetDatabaseResponse, error)
- func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*GetInstanceResponse, error)
- func (a *APIClient) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a *APIClient) GetUserExecute(ctx context.Context, projectId string, instanceId string, userId string) (*GetUserResponse, error)
- func (a *APIClient) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
- func (a *APIClient) ListBackupsExecute(ctx context.Context, projectId string, instanceId string) (*ListBackupsResponse, error)
- func (a *APIClient) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
- func (a *APIClient) ListCollationsExecute(ctx context.Context, projectId string, instanceId string) (*ListCollationsResponse, error)
- func (a *APIClient) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
- func (a *APIClient) ListCompatibilityExecute(ctx context.Context, projectId string, instanceId string) (*ListCompatibilityResponse, error)
- func (a *APIClient) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
- func (a *APIClient) ListDatabasesExecute(ctx context.Context, projectId string, instanceId string) (*ListDatabasesResponse, error)
- func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
- func (a *APIClient) ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavorsResponse, error)
- func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstancesResponse, error)
- func (a *APIClient) ListRestoreJobs(ctx context.Context, projectId string, instanceId string) ApiListRestoreJobsRequest
- func (a *APIClient) ListRestoreJobsExecute(ctx context.Context, projectId string, instanceId string) (*ListRestoreJobsResponse, error)
- func (a *APIClient) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
- func (a *APIClient) ListRolesExecute(ctx context.Context, projectId string, instanceId string) (*ListRolesResponse, error)
- func (a *APIClient) ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
- func (a *APIClient) ListStoragesExecute(ctx context.Context, projectId string, flavorId string) (*ListStoragesResponse, error)
- func (a *APIClient) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a *APIClient) ListUsersExecute(ctx context.Context, projectId string, instanceId string) (*ListUsersResponse, error)
- func (a *APIClient) ListVersions(ctx context.Context, projectId string) ApiListVersionsRequest
- func (a *APIClient) ListVersionsExecute(ctx context.Context, projectId string) (*ListVersionsResponse, error)
- func (a *APIClient) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a *APIClient) PartialUpdateInstanceExecute(ctx context.Context, projectId string, instanceId string) (*UpdateInstanceResponse, error)
- func (a *APIClient) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
- func (a *APIClient) ResetUserExecute(ctx context.Context, projectId string, instanceId string, userId string) (*ResetUserResponse, error)
- func (a *APIClient) TerminateProject(ctx context.Context, projectId string) ApiTerminateProjectRequest
- func (a *APIClient) TerminateProjectExecute(ctx context.Context, projectId string) error
- func (a *APIClient) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
- func (a *APIClient) TriggerDatabaseBackupExecute(ctx context.Context, projectId string, instanceId string, databaseName string) error
- func (a *APIClient) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
- func (a *APIClient) TriggerDatabaseRestoreExecute(ctx context.Context, projectId string, instanceId string, databaseName string) error
- func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a *APIClient) UpdateInstanceExecute(ctx context.Context, projectId string, instanceId string) (*UpdateInstanceResponse, error)
- type ApiCreateDatabaseRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteDatabaseRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetBackupRequest
- type ApiGetDatabaseRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListBackupsRequest
- type ApiListCollationsRequest
- type ApiListCompatibilityRequest
- type ApiListDatabasesRequest
- type ApiListFlavorsRequest
- type ApiListInstancesRequest
- type ApiListRestoreJobsRequest
- type ApiListRolesRequest
- type ApiListStoragesRequest
- type ApiListUsersRequest
- type ApiListVersionsRequest
- type ApiPartialUpdateInstanceRequest
- type ApiResetUserRequest
- type ApiTerminateProjectRequest
- type ApiTriggerDatabaseBackupRequest
- type ApiTriggerDatabaseRestoreRequest
- type ApiUpdateInstanceRequest
- type Backup
- type CreateDatabasePayload
- type CreateDatabaseResponse
- type CreateInstancePayload
- type CreateInstancePayloadAcl
- type CreateInstancePayloadOptions
- type CreateInstancePayloadStorage
- type CreateInstanceResponse
- type CreateUserPayload
- type CreateUserResponse
- type Database
- type DatabaseOptions
- type DefaultApiService
- type Flavor
- type GetBackupResponse
- type GetDatabaseResponse
- type GetDatabaseResponseOptions
- type GetInstanceResponse
- type GetUserResponse
- type Instance
- type InstanceDocumentationACL
- type InstanceDocumentationOptions
- type InstanceDocumentationStorage
- type InstanceError
- type InstanceFlavorEntry
- type InstanceListInstance
- type InstanceListUser
- type InstanceResponseUser
- type ListBackupsResponse
- type ListCollationsResponse
- type ListCompatibilityResponse
- type ListDatabasesResponse
- type ListFlavorsResponse
- type ListInstancesResponse
- type ListRestoreJobsResponse
- type ListRolesResponse
- type ListStoragesResponse
- type ListUsersResponse
- type ListVersionsResponse
- type MappedNullable
- type MssqlDatabaseCollation
- type MssqlDatabaseCompatibility
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableRole
- type NullableString
- type NullableTime
- type NullableType
- type PartialUpdateInstancePayload
- type ResetUserResponse
- type RestoreRunningRestore
- type Role
- type Storage
- type StorageRange
- type TriggerDatabaseRestorePayload
- type Type
- type UpdateInstancePayload
- type UpdateInstanceResponse
- type User
Constants ¶
This section is empty.
Variables ¶
var AllowedRoleEnumValues = []Role{
"SELECT",
"INSERT",
"UPDATE",
"DELETE",
"TRUNCATE",
"TRIGGER",
"CREATE",
"CONNECT",
"TEMPORARY",
"EXECUTE",
"USAGE",
"read",
"readWrite",
"readWriteAnyDatabase",
}
All allowed values of Role enum
var AllowedTypeEnumValues = []Type{
"NotFound",
"Create",
"Read",
"Delete",
"Update",
"Validation",
}
All allowed values of Type enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT MSSQL Service API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateDatabase ¶
func (a *APIClient) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
CreateDatabase Create a Database
Create a Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiCreateDatabaseRequest
func (*APIClient) CreateDatabaseExecute ¶
func (*APIClient) CreateInstance ¶
func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
CreateInstance Create Instance
Create a new instance of a sqlServerCRD database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @return ApiCreateInstanceRequest
func (*APIClient) CreateInstanceExecute ¶
func (*APIClient) CreateUser ¶
func (a *APIClient) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
CreateUser Create User
Create user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiCreateUserRequest
func (*APIClient) CreateUserExecute ¶
func (*APIClient) DeleteDatabase ¶
func (a *APIClient) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
DeleteDatabase Delete Database
Delete Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiDeleteDatabaseRequest
func (*APIClient) DeleteDatabaseExecute ¶
func (*APIClient) DeleteInstance ¶
func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Delete Instance
Delete available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiDeleteInstanceRequest
func (*APIClient) DeleteInstanceExecute ¶
func (*APIClient) DeleteUser ¶
func (a *APIClient) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
DeleteUser Delete User
Delete user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId User ID @return ApiDeleteUserRequest
func (*APIClient) DeleteUserExecute ¶
func (*APIClient) GetBackup ¶
func (a *APIClient) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string) ApiGetBackupRequest
GetBackup Get specific backup
Get specific available backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param backupId Backup ID @return ApiGetBackupRequest
func (*APIClient) GetBackupExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) GetDatabase ¶
func (a *APIClient) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
GetDatabase Get specific Database
Get specific available database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiGetDatabaseRequest
func (*APIClient) GetDatabaseExecute ¶
func (*APIClient) GetInstance ¶
func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
GetInstance Get specific instance
Get specific available instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiGetInstanceRequest
func (*APIClient) GetInstanceExecute ¶
func (*APIClient) GetUser ¶
func (a *APIClient) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
GetUser Get User
Get specific available user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId User ID @return ApiGetUserRequest
func (*APIClient) GetUserExecute ¶
func (*APIClient) ListBackups ¶
func (a *APIClient) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
ListBackups List backups
List all backups which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListBackupsRequest
func (*APIClient) ListBackupsExecute ¶
func (*APIClient) ListCollations ¶
func (a *APIClient) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
ListCollations Get database collation list
Returns a list of collations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the STACKIT project @param instanceId The ID of the instance @return ApiListCollationsRequest
func (*APIClient) ListCollationsExecute ¶
func (*APIClient) ListCompatibility ¶
func (a *APIClient) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
ListCompatibility Get database compatibility list
Returns a list of compatibility levels for creating a new database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the STACKIT project @param instanceId The ID of the instance @return ApiListCompatibilityRequest
func (*APIClient) ListCompatibilityExecute ¶
func (*APIClient) ListDatabases ¶
func (a *APIClient) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
ListDatabases Get list of databases
Get list of all databases in the instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListDatabasesRequest
func (*APIClient) ListDatabasesExecute ¶
func (*APIClient) ListFlavors ¶
func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
ListFlavors Get Flavors
Get available flavors for a specific projectID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @return ApiListFlavorsRequest
func (*APIClient) ListFlavorsExecute ¶
func (*APIClient) ListInstances ¶
func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
ListInstances List Instances
List available instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @return ApiListInstancesRequest
func (*APIClient) ListInstancesExecute ¶
func (*APIClient) ListRestoreJobs ¶
func (a *APIClient) ListRestoreJobs(ctx context.Context, projectId string, instanceId string) ApiListRestoreJobsRequest
ListRestoreJobs List current running restore jobs
List all currently running restore jobs which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListRestoreJobsRequest
func (*APIClient) ListRestoreJobsExecute ¶
func (*APIClient) ListRoles ¶
func (a *APIClient) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
ListRoles List Roles
List available roles for an instance that can be assigned to a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListRolesRequest
func (*APIClient) ListRolesExecute ¶
func (*APIClient) ListStorages ¶
func (a *APIClient) ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
ListStorages Get Storages
Get available storages for a specific flavor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param flavorId Flavor ID @return ApiListStoragesRequest
func (*APIClient) ListStoragesExecute ¶
func (*APIClient) ListUsers ¶
func (a *APIClient) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
ListUsers List Users
List available users for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListUsersRequest
func (*APIClient) ListUsersExecute ¶
func (*APIClient) ListVersions ¶
func (a *APIClient) ListVersions(ctx context.Context, projectId string) ApiListVersionsRequest
ListVersions Get Versions
Get available versions for mssql database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @return ApiListVersionsRequest
func (*APIClient) ListVersionsExecute ¶
func (*APIClient) PartialUpdateInstance ¶
func (a *APIClient) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string) ApiPartialUpdateInstanceRequest
PartialUpdateInstance Update Instance
Update available instance of a mssql database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiPartialUpdateInstanceRequest
func (*APIClient) PartialUpdateInstanceExecute ¶
func (*APIClient) ResetUser ¶
func (a *APIClient) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
ResetUser Reset User
Reset user password for a mssql instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId user ID @return ApiResetUserRequest
func (*APIClient) ResetUserExecute ¶
func (*APIClient) TerminateProject ¶
func (a *APIClient) TerminateProject(ctx context.Context, projectId string) ApiTerminateProjectRequest
TerminateProject Terminate the Project
Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @return ApiTerminateProjectRequest
func (*APIClient) TerminateProjectExecute ¶
func (*APIClient) TriggerDatabaseBackup ¶
func (a *APIClient) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
TriggerDatabaseBackup Trigger backup for a specific Database
Trigger backup for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiTriggerDatabaseBackupRequest
func (*APIClient) TriggerDatabaseBackupExecute ¶
func (*APIClient) TriggerDatabaseRestore ¶
func (a *APIClient) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
TriggerDatabaseRestore Trigger restore for a specific Database
Trigger restore for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiTriggerDatabaseRestoreRequest
func (*APIClient) TriggerDatabaseRestoreExecute ¶
func (*APIClient) UpdateInstance ¶
func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Update Instance
Update available instance of a mssql database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiUpdateInstanceRequest
func (*APIClient) UpdateInstanceExecute ¶
type ApiCreateDatabaseRequest ¶
type ApiCreateDatabaseRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateDatabaseRequest) CreateDatabasePayload ¶
func (r ApiCreateDatabaseRequest) CreateDatabasePayload(createDatabasePayload CreateDatabasePayload) ApiCreateDatabaseRequest
func (ApiCreateDatabaseRequest) Execute ¶
func (r ApiCreateDatabaseRequest) Execute() (*CreateDatabaseResponse, error)
type ApiCreateInstanceRequest ¶
type ApiCreateInstanceRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateInstanceRequest) CreateInstancePayload ¶
func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
func (ApiCreateInstanceRequest) Execute ¶
func (r ApiCreateInstanceRequest) Execute() (*CreateInstanceResponse, error)
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateUserRequest) CreateUserPayload ¶
func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*CreateUserResponse, error)
type ApiDeleteDatabaseRequest ¶
type ApiDeleteDatabaseRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteDatabaseRequest) Execute ¶
func (r ApiDeleteDatabaseRequest) Execute() error
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*GetBackupResponse, error)
type ApiGetDatabaseRequest ¶
type ApiGetDatabaseRequest struct {
// contains filtered or unexported fields
}
func (ApiGetDatabaseRequest) Execute ¶
func (r ApiGetDatabaseRequest) Execute() (*GetDatabaseResponse, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*GetInstanceResponse, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*GetUserResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*ListBackupsResponse, error)
type ApiListCollationsRequest ¶
type ApiListCollationsRequest struct {
// contains filtered or unexported fields
}
func (ApiListCollationsRequest) Execute ¶
func (r ApiListCollationsRequest) Execute() (*ListCollationsResponse, error)
type ApiListCompatibilityRequest ¶
type ApiListCompatibilityRequest struct {
// contains filtered or unexported fields
}
func (ApiListCompatibilityRequest) Execute ¶
func (r ApiListCompatibilityRequest) Execute() (*ListCompatibilityResponse, error)
type ApiListDatabasesRequest ¶
type ApiListDatabasesRequest struct {
// contains filtered or unexported fields
}
func (ApiListDatabasesRequest) Execute ¶
func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, error)
type ApiListFlavorsRequest ¶
type ApiListFlavorsRequest struct {
// contains filtered or unexported fields
}
func (ApiListFlavorsRequest) Execute ¶
func (r ApiListFlavorsRequest) Execute() (*ListFlavorsResponse, error)
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
type ApiListRestoreJobsRequest ¶
type ApiListRestoreJobsRequest struct {
// contains filtered or unexported fields
}
func (ApiListRestoreJobsRequest) Execute ¶
func (r ApiListRestoreJobsRequest) Execute() (*ListRestoreJobsResponse, error)
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*ListRolesResponse, error)
type ApiListStoragesRequest ¶
type ApiListStoragesRequest struct {
// contains filtered or unexported fields
}
func (ApiListStoragesRequest) Execute ¶
func (r ApiListStoragesRequest) Execute() (*ListStoragesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUsersResponse, error)
type ApiListVersionsRequest ¶
type ApiListVersionsRequest struct {
// contains filtered or unexported fields
}
func (ApiListVersionsRequest) Execute ¶
func (r ApiListVersionsRequest) Execute() (*ListVersionsResponse, error)
func (ApiListVersionsRequest) InstanceId ¶
func (r ApiListVersionsRequest) InstanceId(instanceId string) ApiListVersionsRequest
type ApiPartialUpdateInstanceRequest ¶
type ApiPartialUpdateInstanceRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceRequest) Execute ¶
func (r ApiPartialUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload ¶
func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest
type ApiResetUserRequest ¶
type ApiResetUserRequest struct {
// contains filtered or unexported fields
}
func (ApiResetUserRequest) Execute ¶
func (r ApiResetUserRequest) Execute() (*ResetUserResponse, error)
type ApiTerminateProjectRequest ¶
type ApiTerminateProjectRequest struct {
// contains filtered or unexported fields
}
func (ApiTerminateProjectRequest) Execute ¶
func (r ApiTerminateProjectRequest) Execute() error
type ApiTriggerDatabaseBackupRequest ¶
type ApiTriggerDatabaseBackupRequest struct {
// contains filtered or unexported fields
}
func (ApiTriggerDatabaseBackupRequest) Execute ¶
func (r ApiTriggerDatabaseBackupRequest) Execute() error
type ApiTriggerDatabaseRestoreRequest ¶
type ApiTriggerDatabaseRestoreRequest struct {
// contains filtered or unexported fields
}
func (ApiTriggerDatabaseRestoreRequest) Execute ¶
func (r ApiTriggerDatabaseRestoreRequest) Execute() error
func (ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload ¶
func (r ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload(triggerDatabaseRestorePayload TriggerDatabaseRestorePayload) ApiTriggerDatabaseRestoreRequest
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
type Backup ¶
type Backup struct { EndTime *string `json:"endTime,omitempty"` Error *string `json:"error,omitempty"` Id *string `json:"id,omitempty"` Labels *[]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` Size *int64 `json:"size,omitempty"` StartTime *string `json:"startTime,omitempty"` }
type CreateDatabasePayload ¶
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
Id *string `json:"id,omitempty"`
}
type CreateInstancePayload ¶
type CreateInstancePayload struct { Acl *CreateInstancePayloadAcl `json:"acl,omitempty"` // Cronjob for the daily full backup if not provided a job will generated between 0000 and 0459 BackupSchedule *string `json:"backupSchedule,omitempty"` // Id of the selected flavor // REQUIRED FlavorId *string `json:"flavorId"` Labels *map[string]interface{} `json:"labels,omitempty"` // Name of the instance // REQUIRED Name *string `json:"name"` Options *CreateInstancePayloadOptions `json:"options,omitempty"` Storage *CreateInstancePayloadStorage `json:"storage,omitempty"` // Version of the MSSQL Server Version *string `json:"version,omitempty"` }
type CreateInstancePayloadAcl ¶
type CreateInstancePayloadAcl struct { // a simple list with IP addresses with CIDR. Items *[]string `json:"items,omitempty"` }
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
Id *string `json:"id,omitempty"`
}
type CreateUserPayload ¶
type CreateUserResponse ¶
type CreateUserResponse struct {
Item *User `json:"item,omitempty"`
}
type DatabaseOptions ¶
type DatabaseOptions struct { // CompatibilityLevel of the Database. CompatibilityLevel *int64 `json:"compatibilityLevel,omitempty"` // IsEncrypted shows if the database is encrypted. IsEncrypted *bool `json:"isEncrypted,omitempty"` // Name of the owner of the database. OwnerName *string `json:"ownerName,omitempty"` // A recovery model is a database property that controls how transactions are logged. RecoveryModel *string `json:"recoveryModel,omitempty"` // Indicates which users can access the database. UserAccess *string `json:"userAccess,omitempty"` }
type GetBackupResponse ¶
type GetBackupResponse struct {
Item *Backup `json:"item,omitempty"`
}
type GetDatabaseResponse ¶
type GetDatabaseResponse struct { Collation *string `json:"collation,omitempty"` CreateDate *string `json:"createDate,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Options *GetDatabaseResponseOptions `json:"options,omitempty"` }
type GetDatabaseResponseOptions ¶
type GetDatabaseResponseOptions struct { // CompatibilityLevel of the Database. CompatibilityLevel *int64 `json:"compatibilityLevel,omitempty"` // IsEncrypted shows if the database is encrypted. IsEncrypted *bool `json:"isEncrypted,omitempty"` // Name of the owner of the database. OwnerName *string `json:"ownerName,omitempty"` // A recovery model is a database property that controls how transactions are logged. RecoveryModel *string `json:"recoveryModel,omitempty"` // Indicates which users can access the database. UserAccess *string `json:"userAccess,omitempty"` }
type GetInstanceResponse ¶
type GetInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
type GetUserResponse ¶
type GetUserResponse struct {
Item *InstanceResponseUser `json:"item,omitempty"`
}
type Instance ¶
type Instance struct { Acl *ACL `json:"acl,omitempty"` BackupSchedule *string `json:"backupSchedule,omitempty"` Flavor *Flavor `json:"flavor,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` Replicas *int64 `json:"replicas,omitempty"` Status *string `json:"status,omitempty"` Storage *Storage `json:"storage,omitempty"` Version *string `json:"version,omitempty"` }
type InstanceDocumentationACL ¶
type InstanceDocumentationACL struct { // a simple list with IP addresses with CIDR. Items *[]string `json:"items,omitempty"` }
type InstanceError ¶
type InstanceFlavorEntry ¶
type InstanceListInstance ¶
type InstanceListUser ¶
type InstanceResponseUser ¶
type ListBackupsResponse ¶
type ListCollationsResponse ¶
type ListCollationsResponse struct {
Collations *[]MssqlDatabaseCollation `json:"collations,omitempty"`
}
type ListCompatibilityResponse ¶
type ListCompatibilityResponse struct {
Compatibilities *[]MssqlDatabaseCompatibility `json:"compatibilities,omitempty"`
}
type ListDatabasesResponse ¶
type ListDatabasesResponse struct {
Databases *[]Database `json:"databases,omitempty"`
}
type ListFlavorsResponse ¶
type ListFlavorsResponse struct {
Flavors *[]InstanceFlavorEntry `json:"flavors,omitempty"`
}
type ListInstancesResponse ¶
type ListInstancesResponse struct { Count *int64 `json:"count,omitempty"` Items *[]InstanceListInstance `json:"items,omitempty"` }
type ListRestoreJobsResponse ¶
type ListRestoreJobsResponse struct {
RunningRestores *[]RestoreRunningRestore `json:"runningRestores,omitempty"`
}
type ListRolesResponse ¶
type ListRolesResponse struct {
Roles *[]string `json:"roles,omitempty"`
}
type ListStoragesResponse ¶
type ListStoragesResponse struct { StorageClasses *[]string `json:"storageClasses,omitempty"` StorageRange *StorageRange `json:"storageRange,omitempty"` }
type ListUsersResponse ¶
type ListUsersResponse struct { Count *int64 `json:"count,omitempty"` Items *[]InstanceListUser `json:"items,omitempty"` }
type ListVersionsResponse ¶
type ListVersionsResponse struct {
Versions *[]string `json:"versions,omitempty"`
}
type MappedNullable ¶
type MssqlDatabaseCollation ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableType ¶
type NullableType struct {
// contains filtered or unexported fields
}
func NewNullableType ¶
func NewNullableType(val *Type) *NullableType
func (NullableType) Get ¶
func (v NullableType) Get() *Type
func (NullableType) IsSet ¶
func (v NullableType) IsSet() bool
func (NullableType) MarshalJSON ¶
func (v NullableType) MarshalJSON() ([]byte, error)
func (*NullableType) Set ¶
func (v *NullableType) Set(val *Type)
func (*NullableType) UnmarshalJSON ¶
func (v *NullableType) UnmarshalJSON(src []byte) error
func (*NullableType) Unset ¶
func (v *NullableType) Unset()
type PartialUpdateInstancePayload ¶
type PartialUpdateInstancePayload struct { Acl *CreateInstancePayloadAcl `json:"acl,omitempty"` // Cronjob for the daily full backup if not provided a job will generated between 0000 and 0459 BackupSchedule *string `json:"backupSchedule,omitempty"` // Id of the selected flavor FlavorId *string `json:"flavorId,omitempty"` Labels *map[string]interface{} `json:"labels,omitempty"` // Name of the instance Name *string `json:"name,omitempty"` // Version of the MSSQL Server Version *string `json:"version,omitempty"` }
type ResetUserResponse ¶
type ResetUserResponse struct {
Item *User `json:"item,omitempty"`
}
type RestoreRunningRestore ¶
type RestoreRunningRestore struct { Command *string `json:"command,omitempty"` DatabaseName *string `json:"database_name,omitempty"` EstimatedCompletionTime *string `json:"estimated_completion_time,omitempty"` PercentComplete *int64 `json:"percent_complete,omitempty"` StartTime *string `json:"start_time,omitempty"` }
type Role ¶
type Role string
Role the model 'Role'
const ( ROLE_SELECT Role = "SELECT" ROLE_INSERT Role = "INSERT" ROLE_UPDATE Role = "UPDATE" ROLE_DELETE Role = "DELETE" ROLE_TRUNCATE Role = "TRUNCATE" ROLE_TRIGGER Role = "TRIGGER" ROLE_CREATE Role = "CREATE" ROLE_CONNECT Role = "CONNECT" ROLE_TEMPORARY Role = "TEMPORARY" ROLE_EXECUTE Role = "EXECUTE" ROLE_USAGE Role = "USAGE" ROLE_READ Role = "read" ROLE_READ_WRITE Role = "readWrite" ROLE_READ_WRITE_ANY_DATABASE Role = "readWriteAnyDatabase" )
List of Role
func NewRoleFromValue ¶
NewRoleFromValue returns a pointer to a valid Role for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Role) UnmarshalJSON ¶
type StorageRange ¶
type Type ¶
type Type string
Type the model 'Type'
const ( TYPE_NOT_FOUND Type = "NotFound" TYPE_CREATE Type = "Create" TYPE_READ Type = "Read" TYPE_DELETE Type = "Delete" TYPE_UPDATE Type = "Update" TYPE_VALIDATION Type = "Validation" )
List of Type
func NewTypeFromValue ¶
NewTypeFromValue returns a pointer to a valid Type for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Type) UnmarshalJSON ¶
type UpdateInstancePayload ¶
type UpdateInstancePayload struct { Acl *CreateInstancePayloadAcl `json:"acl,omitempty"` // Cronjob for the daily full backup if not provided a job will generated between 0000 and 0459 BackupSchedule *string `json:"backupSchedule,omitempty"` // Id of the selected flavor FlavorId *string `json:"flavorId,omitempty"` Labels *map[string]interface{} `json:"labels,omitempty"` // Name of the instance Name *string `json:"name,omitempty"` // Version of the MSSQL Server Version *string `json:"version,omitempty"` }
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
type User ¶
type User struct { Database *string `json:"database,omitempty"` Host *string `json:"host,omitempty"` Id *string `json:"id,omitempty"` Password *string `json:"password,omitempty"` Port *int64 `json:"port,omitempty"` Roles *[]string `json:"roles,omitempty"` Uri *string `json:"uri,omitempty"` Username *string `json:"username,omitempty"` }
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_acl.go
- model_backup.go
- model_create_database_payload.go
- model_create_database_response.go
- model_create_instance_payload.go
- model_create_instance_payload_acl.go
- model_create_instance_payload_options.go
- model_create_instance_payload_storage.go
- model_create_instance_response.go
- model_create_user_payload.go
- model_create_user_response.go
- model_database.go
- model_database_options.go
- model_flavor.go
- model_get_backup_response.go
- model_get_database_response.go
- model_get_database_response_options.go
- model_get_instance_response.go
- model_get_user_response.go
- model_instance.go
- model_instance_documentation_acl.go
- model_instance_documentation_options.go
- model_instance_documentation_storage.go
- model_instance_error.go
- model_instance_flavor_entry.go
- model_instance_list_instance.go
- model_instance_list_user.go
- model_instance_response_user.go
- model_list_backups_response.go
- model_list_collations_response.go
- model_list_compatibility_response.go
- model_list_databases_response.go
- model_list_flavors_response.go
- model_list_instances_response.go
- model_list_restore_jobs_response.go
- model_list_roles_response.go
- model_list_storages_response.go
- model_list_users_response.go
- model_list_versions_response.go
- model_mssql_database_collation.go
- model_mssql_database_compatibility.go
- model_partial_update_instance_payload.go
- model_reset_user_response.go
- model_restore_running_restore.go
- model_role.go
- model_storage.go
- model_storage_range.go
- model_trigger_database_restore_payload.go
- model_type.go
- model_update_instance_payload.go
- model_update_instance_response.go
- model_user.go
- utils.go