Documentation
¶
Index ¶
- Constants
- type AllocateDatabaseServerV4Request
- type AwsDBStackV4Parameters
- type AwsDatabaseServerV4Parameters
- type AwsNetworkV4Parameters
- type AzureDatabaseServerV4Parameters
- type AzureNetworkV4Parameters
- type CreateDatabaseV4Request
- type CreateDatabaseV4Response
- type DatabaseServerStatusV4Response
- type DatabaseServerTestV4Request
- type DatabaseServerTestV4Response
- type DatabaseServerV4Request
- type DatabaseServerV4Response
- type DatabaseServerV4Responses
- type DatabaseServerV4StackRequest
- type DatabaseTestV4Request
- type DatabaseTestV4Response
- type DatabaseV4Identifiers
- type DatabaseV4Request
- type DatabaseV4Response
- type DatabaseV4Responses
- type FlowCheckResponse
- type FlowLogResponse
- type NetworkV4StackRequest
- type SecretResponse
- type SecurityGroupV4StackRequest
Constants ¶
const ( // DatabaseServerStatusV4ResponseStatusREQUESTED captures enum value "REQUESTED" DatabaseServerStatusV4ResponseStatusREQUESTED string = "REQUESTED" // DatabaseServerStatusV4ResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusAVAILABLE captures enum value "AVAILABLE" DatabaseServerStatusV4ResponseStatusAVAILABLE string = "AVAILABLE" // DatabaseServerStatusV4ResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" DatabaseServerStatusV4ResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // DatabaseServerStatusV4ResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" DatabaseServerStatusV4ResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // DatabaseServerStatusV4ResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" DatabaseServerStatusV4ResponseStatusCREATEFAILED string = "CREATE_FAILED" // DatabaseServerStatusV4ResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" DatabaseServerStatusV4ResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // DatabaseServerStatusV4ResponseStatusDELETEREQUESTED captures enum value "DELETE_REQUESTED" DatabaseServerStatusV4ResponseStatusDELETEREQUESTED string = "DELETE_REQUESTED" // DatabaseServerStatusV4ResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" DatabaseServerStatusV4ResponseStatusDELETEFAILED string = "DELETE_FAILED" // DatabaseServerStatusV4ResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" DatabaseServerStatusV4ResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // DatabaseServerStatusV4ResponseStatusSTOPPED captures enum value "STOPPED" DatabaseServerStatusV4ResponseStatusSTOPPED string = "STOPPED" // DatabaseServerStatusV4ResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" DatabaseServerStatusV4ResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // DatabaseServerStatusV4ResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" DatabaseServerStatusV4ResponseStatusSTARTREQUESTED string = "START_REQUESTED" // DatabaseServerStatusV4ResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" DatabaseServerStatusV4ResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // DatabaseServerStatusV4ResponseStatusSTARTFAILED captures enum value "START_FAILED" DatabaseServerStatusV4ResponseStatusSTARTFAILED string = "START_FAILED" // DatabaseServerStatusV4ResponseStatusSTOPFAILED captures enum value "STOP_FAILED" DatabaseServerStatusV4ResponseStatusSTOPFAILED string = "STOP_FAILED" // DatabaseServerStatusV4ResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" DatabaseServerStatusV4ResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" // DatabaseServerStatusV4ResponseStatusMAINTENANCEMODEENABLED captures enum value "MAINTENANCE_MODE_ENABLED" DatabaseServerStatusV4ResponseStatusMAINTENANCEMODEENABLED string = "MAINTENANCE_MODE_ENABLED" // DatabaseServerStatusV4ResponseStatusUNKNOWN captures enum value "UNKNOWN" DatabaseServerStatusV4ResponseStatusUNKNOWN string = "UNKNOWN" )
const ( // DatabaseServerV4ResponseResourceStatusUNKNOWN captures enum value "UNKNOWN" DatabaseServerV4ResponseResourceStatusUNKNOWN string = "UNKNOWN" // DatabaseServerV4ResponseResourceStatusSERVICEMANAGED captures enum value "SERVICE_MANAGED" DatabaseServerV4ResponseResourceStatusSERVICEMANAGED string = "SERVICE_MANAGED" // DatabaseServerV4ResponseResourceStatusUSERMANAGED captures enum value "USER_MANAGED" DatabaseServerV4ResponseResourceStatusUSERMANAGED string = "USER_MANAGED" )
const ( // DatabaseServerV4ResponseStatusREQUESTED captures enum value "REQUESTED" DatabaseServerV4ResponseStatusREQUESTED string = "REQUESTED" // DatabaseServerV4ResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" DatabaseServerV4ResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // DatabaseServerV4ResponseStatusAVAILABLE captures enum value "AVAILABLE" DatabaseServerV4ResponseStatusAVAILABLE string = "AVAILABLE" // DatabaseServerV4ResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" DatabaseServerV4ResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // DatabaseServerV4ResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" DatabaseServerV4ResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // DatabaseServerV4ResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" DatabaseServerV4ResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // DatabaseServerV4ResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" DatabaseServerV4ResponseStatusCREATEFAILED string = "CREATE_FAILED" // DatabaseServerV4ResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" DatabaseServerV4ResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // DatabaseServerV4ResponseStatusDELETEREQUESTED captures enum value "DELETE_REQUESTED" DatabaseServerV4ResponseStatusDELETEREQUESTED string = "DELETE_REQUESTED" // DatabaseServerV4ResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" DatabaseServerV4ResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // DatabaseServerV4ResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" DatabaseServerV4ResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // DatabaseServerV4ResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" DatabaseServerV4ResponseStatusDELETEFAILED string = "DELETE_FAILED" // DatabaseServerV4ResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" DatabaseServerV4ResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // DatabaseServerV4ResponseStatusSTOPPED captures enum value "STOPPED" DatabaseServerV4ResponseStatusSTOPPED string = "STOPPED" // DatabaseServerV4ResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" DatabaseServerV4ResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // DatabaseServerV4ResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" DatabaseServerV4ResponseStatusSTARTREQUESTED string = "START_REQUESTED" // DatabaseServerV4ResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" DatabaseServerV4ResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // DatabaseServerV4ResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" DatabaseServerV4ResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // DatabaseServerV4ResponseStatusSTARTFAILED captures enum value "START_FAILED" DatabaseServerV4ResponseStatusSTARTFAILED string = "START_FAILED" // DatabaseServerV4ResponseStatusSTOPFAILED captures enum value "STOP_FAILED" DatabaseServerV4ResponseStatusSTOPFAILED string = "STOP_FAILED" // DatabaseServerV4ResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" DatabaseServerV4ResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" // DatabaseServerV4ResponseStatusMAINTENANCEMODEENABLED captures enum value "MAINTENANCE_MODE_ENABLED" DatabaseServerV4ResponseStatusMAINTENANCEMODEENABLED string = "MAINTENANCE_MODE_ENABLED" // DatabaseServerV4ResponseStatusUNKNOWN captures enum value "UNKNOWN" DatabaseServerV4ResponseStatusUNKNOWN string = "UNKNOWN" )
const ( // DatabaseV4ResponseResourceStatusUNKNOWN captures enum value "UNKNOWN" DatabaseV4ResponseResourceStatusUNKNOWN string = "UNKNOWN" // DatabaseV4ResponseResourceStatusSERVICEMANAGED captures enum value "SERVICE_MANAGED" DatabaseV4ResponseResourceStatusSERVICEMANAGED string = "SERVICE_MANAGED" // DatabaseV4ResponseResourceStatusUSERMANAGED captures enum value "USER_MANAGED" DatabaseV4ResponseResourceStatusUSERMANAGED string = "USER_MANAGED" )
const ( // FlowLogResponseStateStatusPENDING captures enum value "PENDING" FlowLogResponseStateStatusPENDING string = "PENDING" // FlowLogResponseStateStatusSUCCESSFUL captures enum value "SUCCESSFUL" FlowLogResponseStateStatusSUCCESSFUL string = "SUCCESSFUL" // FlowLogResponseStateStatusFAILED captures enum value "FAILED" FlowLogResponseStateStatusFAILED string = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocateDatabaseServerV4Request ¶
type AllocateDatabaseServerV4Request struct { // AWS-specific parameters for the database stack Aws AwsDBStackV4Parameters `json:"aws,omitempty"` // Database server information for the database stack // Required: true DatabaseServer *DatabaseServerV4StackRequest `json:"databaseServer"` // CRN of the environment of the database server // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Name of the database stack // Max Length: 40 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name string `json:"name,omitempty"` // Network information for the database stack Network *NetworkV4StackRequest `json:"network,omitempty"` }
AllocateDatabaseServerV4Request Request for allocating a new database server in a provider swagger:model AllocateDatabaseServerV4Request
func (*AllocateDatabaseServerV4Request) MarshalBinary ¶
func (m *AllocateDatabaseServerV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AllocateDatabaseServerV4Request) UnmarshalBinary ¶
func (m *AllocateDatabaseServerV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsDBStackV4Parameters ¶
type AwsDBStackV4Parameters interface{}
AwsDBStackV4Parameters aws d b stack v4 parameters swagger:model AwsDBStackV4Parameters
type AwsDatabaseServerV4Parameters ¶
type AwsDatabaseServerV4Parameters struct { // Time to retain backups, in days BackupRetentionPeriod int32 `json:"backupRetentionPeriod,omitempty"` // Version of the database engine (vendor) EngineVersion string `json:"engineVersion,omitempty"` // Whether to use a multi-AZ deployment MultiAZ string `json:"multiAZ,omitempty"` // Storage type StorageType string `json:"storageType,omitempty"` }
AwsDatabaseServerV4Parameters aws database server v4 parameters swagger:model AwsDatabaseServerV4Parameters
func (*AwsDatabaseServerV4Parameters) MarshalBinary ¶
func (m *AwsDatabaseServerV4Parameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsDatabaseServerV4Parameters) UnmarshalBinary ¶
func (m *AwsDatabaseServerV4Parameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsNetworkV4Parameters ¶
type AwsNetworkV4Parameters struct { // Subnet ID(s) of the specified AWS network SubnetID string `json:"subnetId,omitempty"` }
AwsNetworkV4Parameters aws network v4 parameters swagger:model AwsNetworkV4Parameters
func (*AwsNetworkV4Parameters) MarshalBinary ¶
func (m *AwsNetworkV4Parameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsNetworkV4Parameters) UnmarshalBinary ¶
func (m *AwsNetworkV4Parameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureDatabaseServerV4Parameters ¶
type AzureDatabaseServerV4Parameters struct { // Time to retain backups, in days // Minimum: 7 BackupRetentionDays int32 `json:"backupRetentionDays,omitempty"` // The version of the database software to use // Pattern: \d+(?:\.\d)? DbVersion string `json:"dbVersion,omitempty"` // Whether backups are geographically redundant GeoRedundantBackup bool `json:"geoRedundantBackup,omitempty"` // The number of vCPUs assigned to the database server // Minimum: 2 SkuCapacity int32 `json:"skuCapacity,omitempty"` // The family of hardware used for the database server SkuFamily string `json:"skuFamily,omitempty"` // The tier of SKU for the database server // Pattern: Basic|GeneralPurpose|MemoryOptimized SkuTier string `json:"skuTier,omitempty"` // Whether the database server will automatically grow storage when necessary StorageAutoGrow bool `json:"storageAutoGrow,omitempty"` }
AzureDatabaseServerV4Parameters azure database server v4 parameters swagger:model AzureDatabaseServerV4Parameters
func (*AzureDatabaseServerV4Parameters) MarshalBinary ¶
func (m *AzureDatabaseServerV4Parameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureDatabaseServerV4Parameters) UnmarshalBinary ¶
func (m *AzureDatabaseServerV4Parameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureNetworkV4Parameters ¶
type AzureNetworkV4Parameters struct { // Comma-separated list of fully-qualified subnets with connectivity to the database server Subnets string `json:"subnets,omitempty"` }
AzureNetworkV4Parameters azure network v4 parameters swagger:model AzureNetworkV4Parameters
func (*AzureNetworkV4Parameters) MarshalBinary ¶
func (m *AzureNetworkV4Parameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureNetworkV4Parameters) UnmarshalBinary ¶
func (m *AzureNetworkV4Parameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDatabaseV4Request ¶
type CreateDatabaseV4Request struct { // Description of the database // Max Length: 1000000 // Min Length: 0 DatabaseDescription *string `json:"databaseDescription,omitempty"` // Name of the database // Required: true DatabaseName *string `json:"databaseName"` // CRN of the database server // Required: true ExistingDatabaseServerCrn *string `json:"existingDatabaseServerCrn"` // Type of database, i.e., the service name that will use the database (HIVE, DRUID, SUPERSET, RANGER, ...) // Required: true Type *string `json:"type"` }
CreateDatabaseV4Request Request for creating a new database on a registered database server swagger:model CreateDatabaseV4Request
func (*CreateDatabaseV4Request) MarshalBinary ¶
func (m *CreateDatabaseV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDatabaseV4Request) UnmarshalBinary ¶
func (m *CreateDatabaseV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDatabaseV4Response ¶
type CreateDatabaseV4Response struct { // Result of database creation // Required: true Result *string `json:"result"` }
CreateDatabaseV4Response Response for creating a new database on a registered database server swagger:model CreateDatabaseV4Response
func (*CreateDatabaseV4Response) MarshalBinary ¶
func (m *CreateDatabaseV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDatabaseV4Response) UnmarshalBinary ¶
func (m *CreateDatabaseV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerStatusV4Response ¶
type DatabaseServerStatusV4Response struct { // CRN of the environment of the database server // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Name of the database server // Required: true Name *string `json:"name"` // CRN of the database server // Required: true ResourceCrn *string `json:"resourceCrn"` // Status of the database server stack // Required: true // Enum: [REQUESTED CREATE_IN_PROGRESS AVAILABLE UPDATE_IN_PROGRESS UPDATE_REQUESTED UPDATE_FAILED CREATE_FAILED ENABLE_SECURITY_FAILED DELETE_REQUESTED PRE_DELETE_IN_PROGRESS DELETE_IN_PROGRESS DELETE_FAILED DELETE_COMPLETED STOPPED STOP_REQUESTED START_REQUESTED STOP_IN_PROGRESS START_IN_PROGRESS START_FAILED STOP_FAILED WAIT_FOR_SYNC MAINTENANCE_MODE_ENABLED UNKNOWN] Status *string `json:"status"` // Additional status information about the database server stack // Required: true StatusReason *string `json:"statusReason"` }
DatabaseServerStatusV4Response Response containing status information about a database server swagger:model DatabaseServerStatusV4Response
func (*DatabaseServerStatusV4Response) MarshalBinary ¶
func (m *DatabaseServerStatusV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerStatusV4Response) UnmarshalBinary ¶
func (m *DatabaseServerStatusV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerTestV4Request ¶
type DatabaseServerTestV4Request struct { // Information about an unregistered database server to be tested for connectivity DatabaseServer *DatabaseServerV4Request `json:"databaseServer,omitempty"` // CRN of registered database server to be tested for connectivity ExistingDatabaseServerCrn string `json:"existingDatabaseServerCrn,omitempty"` }
DatabaseServerTestV4Request Request for testing connectivity to a database server swagger:model DatabaseServerTestV4Request
func (*DatabaseServerTestV4Request) MarshalBinary ¶
func (m *DatabaseServerTestV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerTestV4Request) UnmarshalBinary ¶
func (m *DatabaseServerTestV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerTestV4Response ¶
type DatabaseServerTestV4Response struct { // Result of database server connection test // Required: true Result *string `json:"result"` }
DatabaseServerTestV4Response Response for testing connectivity to a database server swagger:model DatabaseServerTestV4Response
func (*DatabaseServerTestV4Response) MarshalBinary ¶
func (m *DatabaseServerTestV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerTestV4Response) UnmarshalBinary ¶
func (m *DatabaseServerTestV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerV4Request ¶
type DatabaseServerV4Request struct { // Name of the JDBC connection driver (for example: 'org.postgresql.Driver') ConnectionDriver string `json:"connectionDriver,omitempty"` // Password of the administrative user of the database server // Required: true ConnectionPassword *string `json:"connectionPassword"` // Username of the administrative user of the database server // Required: true ConnectionUserName *string `json:"connectionUserName"` // Name of the database vendor (MYSQL, POSTGRES, ...) // Required: true DatabaseVendor *string `json:"databaseVendor"` // Description of the database server // Max Length: 1000000 // Min Length: 0 Description *string `json:"description,omitempty"` // CRN of the environment of the database server // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Host of the database server // Required: true Host *string `json:"host"` // Name of the database server // Required: true // Max Length: 100 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name *string `json:"name"` // Port of the database server // Required: true Port *int32 `json:"port"` }
DatabaseServerV4Request Request containing information about a database server to be registered swagger:model DatabaseServerV4Request
func (*DatabaseServerV4Request) MarshalBinary ¶
func (m *DatabaseServerV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerV4Request) UnmarshalBinary ¶
func (m *DatabaseServerV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerV4Response ¶
type DatabaseServerV4Response struct { // Name of the JDBC connection driver (for example: 'org.postgresql.Driver') // Required: true ConnectionDriver *string `json:"connectionDriver"` // Password of the administrative user of the database server ConnectionPassword *SecretResponse `json:"connectionPassword,omitempty"` // Username of the administrative user of the database server ConnectionUserName *SecretResponse `json:"connectionUserName,omitempty"` // Creation date / time of the database server, in epoch milliseconds CreationDate int64 `json:"creationDate,omitempty"` // CRN of the database server Crn string `json:"crn,omitempty"` // Name of the database vendor (MYSQL, POSTGRES, ...) // Required: true DatabaseVendor *string `json:"databaseVendor"` // Display name of the database vendor (MySQL, PostgreSQL, ...) // Required: true DatabaseVendorDisplayName *string `json:"databaseVendorDisplayName"` // Description of the database server // Max Length: 1000000 // Min Length: 0 Description *string `json:"description,omitempty"` // CRN of the environment of the database server // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Host of the database server // Required: true Host *string `json:"host"` // Internal ID of the database server ID int64 `json:"id,omitempty"` // Name of the database server // Required: true // Max Length: 100 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name *string `json:"name"` // Port of the database server // Required: true Port *int32 `json:"port"` // Ownership status of the database server // Enum: [UNKNOWN SERVICE_MANAGED USER_MANAGED] ResourceStatus string `json:"resourceStatus,omitempty"` // Status of the database server stack // Enum: [REQUESTED CREATE_IN_PROGRESS AVAILABLE UPDATE_IN_PROGRESS UPDATE_REQUESTED UPDATE_FAILED CREATE_FAILED ENABLE_SECURITY_FAILED DELETE_REQUESTED PRE_DELETE_IN_PROGRESS DELETE_IN_PROGRESS DELETE_FAILED DELETE_COMPLETED STOPPED STOP_REQUESTED START_REQUESTED STOP_IN_PROGRESS START_IN_PROGRESS START_FAILED STOP_FAILED WAIT_FOR_SYNC MAINTENANCE_MODE_ENABLED UNKNOWN] Status string `json:"status,omitempty"` // Additional status information about the database server stack StatusReason string `json:"statusReason,omitempty"` }
DatabaseServerV4Response Response containing information about a database server that was acted upon, e.g., retrieved, deleted, listed swagger:model DatabaseServerV4Response
func (*DatabaseServerV4Response) MarshalBinary ¶
func (m *DatabaseServerV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerV4Response) UnmarshalBinary ¶
func (m *DatabaseServerV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerV4Responses ¶
type DatabaseServerV4Responses struct { // responses Responses []*DatabaseServerV4Response `json:"responses"` }
DatabaseServerV4Responses A set of multiple database server responses swagger:model DatabaseServerV4Responses
func (*DatabaseServerV4Responses) MarshalBinary ¶
func (m *DatabaseServerV4Responses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerV4Responses) UnmarshalBinary ¶
func (m *DatabaseServerV4Responses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseServerV4StackRequest ¶
type DatabaseServerV4StackRequest struct { // AWS-specific parameters for the database server Aws *AwsDatabaseServerV4Parameters `json:"aws,omitempty"` // Azure-specific parameters for the database server Azure *AzureDatabaseServerV4Parameters `json:"azure,omitempty"` // Name of the JDBC connection driver (for example: 'org.postgresql.Driver') ConnectionDriver string `json:"connectionDriver,omitempty"` // Name of the database vendor (MYSQL, POSTGRES, ...) DatabaseVendor string `json:"databaseVendor,omitempty"` // Instance type of the database server InstanceType string `json:"instanceType,omitempty"` // Port of the database server // Maximum: 65535 // Minimum: 1 Port int32 `json:"port,omitempty"` // Username of the administrative user of the database server RootUserName string `json:"rootUserName,omitempty"` // Password of the administrative user of the database server RootUserPassword string `json:"rootUserPassword,omitempty"` // Security group of the database server SecurityGroup *SecurityGroupV4StackRequest `json:"securityGroup,omitempty"` // Storage size of the database server, in GB StorageSize int64 `json:"storageSize,omitempty"` }
DatabaseServerV4StackRequest database server v4 stack request swagger:model DatabaseServerV4StackRequest
func (*DatabaseServerV4StackRequest) MarshalBinary ¶
func (m *DatabaseServerV4StackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseServerV4StackRequest) UnmarshalBinary ¶
func (m *DatabaseServerV4StackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseTestV4Request ¶
type DatabaseTestV4Request struct { // Information about a unregistered database to be tested for connectivity Database *DatabaseV4Request `json:"database,omitempty"` // Identifiers of registered database to be tested for connectivity ExistingDatabase *DatabaseV4Identifiers `json:"existingDatabase,omitempty"` }
DatabaseTestV4Request Request for testing connectivity to a database swagger:model DatabaseTestV4Request
func (*DatabaseTestV4Request) MarshalBinary ¶
func (m *DatabaseTestV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseTestV4Request) UnmarshalBinary ¶
func (m *DatabaseTestV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseTestV4Response ¶
type DatabaseTestV4Response struct { // Result of database connection test // Required: true Result *string `json:"result"` }
DatabaseTestV4Response Response for testing connectivity to a database swagger:model DatabaseTestV4Response
func (*DatabaseTestV4Response) MarshalBinary ¶
func (m *DatabaseTestV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseTestV4Response) UnmarshalBinary ¶
func (m *DatabaseTestV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseV4Identifiers ¶
type DatabaseV4Identifiers struct { // CRN of the environment of the database // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Name of the database // Required: true // Max Length: 100 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name *string `json:"name"` }
DatabaseV4Identifiers Identifiers that together identify a database in an environment swagger:model DatabaseV4Identifiers
func (*DatabaseV4Identifiers) MarshalBinary ¶
func (m *DatabaseV4Identifiers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseV4Identifiers) UnmarshalBinary ¶
func (m *DatabaseV4Identifiers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseV4Request ¶
type DatabaseV4Request struct { // Name of the JDBC connection driver (for example: 'org.postgresql.Driver') ConnectionDriver string `json:"connectionDriver,omitempty"` // Password to use for authentication // Required: true ConnectionPassword *string `json:"connectionPassword"` // JDBC connection URL in the form of jdbc:<db-type>:<driver-specific-part> // Required: true ConnectionURL *string `json:"connectionURL"` // Username to use for authentication // Required: true ConnectionUserName *string `json:"connectionUserName"` // Description of the database // Max Length: 1000000 // Min Length: 0 Description *string `json:"description,omitempty"` // CRN of the environment of the database // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Name of the database // Required: true // Max Length: 100 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name *string `json:"name"` // Type of database, i.e., the service name that will use the database (HIVE, DRUID, SUPERSET, RANGER, ...) // Required: true // Max Length: 56 // Min Length: 3 // Pattern: (^[a-zA-Z_][-a-zA-Z0-9_]*[a-zA-Z0-9_]$) Type *string `json:"type"` }
DatabaseV4Request Request containing information about a database to be registered swagger:model DatabaseV4Request
func (*DatabaseV4Request) MarshalBinary ¶
func (m *DatabaseV4Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseV4Request) UnmarshalBinary ¶
func (m *DatabaseV4Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseV4Response ¶
type DatabaseV4Response struct { // Name of the JDBC connection driver (for example: 'org.postgresql.Driver') // Required: true ConnectionDriver *string `json:"connectionDriver"` // Password to use for authentication ConnectionPassword *SecretResponse `json:"connectionPassword,omitempty"` // JDBC connection URL in the form of jdbc:<db-type>:<driver-specific-part> // Required: true ConnectionURL *string `json:"connectionURL"` // Username to use for authentication ConnectionUserName *SecretResponse `json:"connectionUserName,omitempty"` // Creation date / time of the database, in epoch milliseconds CreationDate int64 `json:"creationDate,omitempty"` // CRN of the database Crn string `json:"crn,omitempty"` // Name of the database vendor (MYSQL, POSTGRES...) // Required: true DatabaseEngine *string `json:"databaseEngine"` // Display name of the database vendor (MySQL, PostgreSQL, ...) // Required: true DatabaseEngineDisplayName *string `json:"databaseEngineDisplayName"` // Description of the database // Max Length: 1000000 // Min Length: 0 Description *string `json:"description,omitempty"` // CRN of the environment of the database // Required: true EnvironmentCrn *string `json:"environmentCrn"` // Name of the database // Required: true // Max Length: 100 // Min Length: 5 // Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$) Name *string `json:"name"` // Ownership status of the database // Enum: [UNKNOWN SERVICE_MANAGED USER_MANAGED] ResourceStatus string `json:"resourceStatus,omitempty"` // Type of database, i.e., the service name that will use the database (HIVE, DRUID, SUPERSET, RANGER, ...) // Required: true // Max Length: 56 // Min Length: 3 // Pattern: (^[a-zA-Z_][-a-zA-Z0-9_]*[a-zA-Z0-9_]$) Type *string `json:"type"` }
DatabaseV4Response Response containing information about a database that was acted upon, e.g., retrieved, deleted, listed swagger:model DatabaseV4Response
func (*DatabaseV4Response) MarshalBinary ¶
func (m *DatabaseV4Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseV4Response) UnmarshalBinary ¶
func (m *DatabaseV4Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseV4Responses ¶
type DatabaseV4Responses struct { // responses Responses []*DatabaseV4Response `json:"responses"` }
DatabaseV4Responses A set of multiple database responses swagger:model DatabaseV4Responses
func (*DatabaseV4Responses) MarshalBinary ¶
func (m *DatabaseV4Responses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseV4Responses) UnmarshalBinary ¶
func (m *DatabaseV4Responses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlowCheckResponse ¶
type FlowCheckResponse struct { // flow chain Id FlowChainID string `json:"flowChainId,omitempty"` // flow Id FlowID string `json:"flowId,omitempty"` // has active flow HasActiveFlow bool `json:"hasActiveFlow,omitempty"` }
FlowCheckResponse flow check response swagger:model FlowCheckResponse
func (*FlowCheckResponse) MarshalBinary ¶
func (m *FlowCheckResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlowCheckResponse) UnmarshalBinary ¶
func (m *FlowCheckResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlowLogResponse ¶
type FlowLogResponse struct { // created Created int64 `json:"created,omitempty"` // current state CurrentState string `json:"currentState,omitempty"` // finalized Finalized bool `json:"finalized,omitempty"` // flow chain Id FlowChainID string `json:"flowChainId,omitempty"` // flow Id FlowID string `json:"flowId,omitempty"` // flow trigger user crn FlowTriggerUserCrn string `json:"flowTriggerUserCrn,omitempty"` // next event NextEvent string `json:"nextEvent,omitempty"` // node Id NodeID string `json:"nodeId,omitempty"` // resource Id ResourceID int64 `json:"resourceId,omitempty"` // state status // Enum: [PENDING SUCCESSFUL FAILED] StateStatus string `json:"stateStatus,omitempty"` }
FlowLogResponse flow log response swagger:model FlowLogResponse
func (*FlowLogResponse) MarshalBinary ¶
func (m *FlowLogResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlowLogResponse) UnmarshalBinary ¶
func (m *FlowLogResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkV4StackRequest ¶
type NetworkV4StackRequest struct { // AWS-specific parameters for the network Aws *AwsNetworkV4Parameters `json:"aws,omitempty"` // Azure-specific parameters for the network Azure *AzureNetworkV4Parameters `json:"azure,omitempty"` }
NetworkV4StackRequest network v4 stack request swagger:model NetworkV4StackRequest
func (*NetworkV4StackRequest) MarshalBinary ¶
func (m *NetworkV4StackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkV4StackRequest) UnmarshalBinary ¶
func (m *NetworkV4StackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecretResponse ¶
type SecretResponse struct { // Engine path of the secret. EnginePath string `json:"enginePath,omitempty"` // Path of the secret. SecretPath string `json:"secretPath,omitempty"` }
SecretResponse secret response swagger:model SecretResponse
func (*SecretResponse) MarshalBinary ¶
func (m *SecretResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretResponse) UnmarshalBinary ¶
func (m *SecretResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityGroupV4StackRequest ¶
type SecurityGroupV4StackRequest struct { // Exisiting security group ID(s) for the database server // Unique: true SecurityGroupIds []string `json:"securityGroupIds"` }
SecurityGroupV4StackRequest security group v4 stack request swagger:model SecurityGroupV4StackRequest
func (*SecurityGroupV4StackRequest) MarshalBinary ¶
func (m *SecurityGroupV4StackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityGroupV4StackRequest) UnmarshalBinary ¶
func (m *SecurityGroupV4StackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- allocate_database_server_v4_request.go
- aws_d_b_stack_v4_parameters.go
- aws_database_server_v4_parameters.go
- aws_network_v4_parameters.go
- azure_database_server_v4_parameters.go
- azure_network_v4_parameters.go
- create_database_v4_request.go
- create_database_v4_response.go
- database_server_status_v4_response.go
- database_server_test_v4_request.go
- database_server_test_v4_response.go
- database_server_v4_request.go
- database_server_v4_response.go
- database_server_v4_responses.go
- database_server_v4_stack_request.go
- database_test_v4_request.go
- database_test_v4_response.go
- database_v4_identifiers.go
- database_v4_request.go
- database_v4_response.go
- database_v4_responses.go
- flow_check_response.go
- flow_log_response.go
- network_v4_stack_request.go
- secret_response.go
- security_group_v4_stack_request.go