aiven.getAlloydbomniDatabase
Explore with Pulumi AI
Gets information about a database in an Aiven for AlloyDB Omni service.
This resource is in the beta stage and may change without notice. Set
the PROVIDER_AIVEN_ENABLE_BETA
environment variable to use the resource.
!> End of life notice Aiven for AlloyDB Omni is entering its end-of-life cycle. From 5 September 2025, you can no longer create new Aiven for AlloyDB Omni services. Existing services continue to operate until the end of life (EOL) date but you cannot change plans for these services. On 5 December 2025, all active Aiven for AlloyDB Omni services are powered off and deleted, making data from these services inaccessible. The recommended alternatives to Aiven for AlloyDB Omni are: Aiven for PostgreSQL®, Aiven for ClickHouse®, and Aiven for MySQL®. To ensure uninterrupted service, complete your migration before December 5, 2025. For further assistance, contact the Aiven support team or your account team.
Using getAlloydbomniDatabase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlloydbomniDatabase(args: GetAlloydbomniDatabaseArgs, opts?: InvokeOptions): Promise<GetAlloydbomniDatabaseResult>
function getAlloydbomniDatabaseOutput(args: GetAlloydbomniDatabaseOutputArgs, opts?: InvokeOptions): Output<GetAlloydbomniDatabaseResult>
def get_alloydbomni_database(database_name: Optional[str] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlloydbomniDatabaseResult
def get_alloydbomni_database_output(database_name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlloydbomniDatabaseResult]
func LookupAlloydbomniDatabase(ctx *Context, args *LookupAlloydbomniDatabaseArgs, opts ...InvokeOption) (*LookupAlloydbomniDatabaseResult, error)
func LookupAlloydbomniDatabaseOutput(ctx *Context, args *LookupAlloydbomniDatabaseOutputArgs, opts ...InvokeOption) LookupAlloydbomniDatabaseResultOutput
> Note: This function is named LookupAlloydbomniDatabase
in the Go SDK.
public static class GetAlloydbomniDatabase
{
public static Task<GetAlloydbomniDatabaseResult> InvokeAsync(GetAlloydbomniDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetAlloydbomniDatabaseResult> Invoke(GetAlloydbomniDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlloydbomniDatabaseResult> getAlloydbomniDatabase(GetAlloydbomniDatabaseArgs args, InvokeOptions options)
public static Output<GetAlloydbomniDatabaseResult> getAlloydbomniDatabase(GetAlloydbomniDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getAlloydbomniDatabase:getAlloydbomniDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name String - The name of the service database. Changing this property forces recreation of the resource.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database_
name str - The name of the service database. Changing this property forces recreation of the resource.
- project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name str - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name String - The name of the service database. Changing this property forces recreation of the resource.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
getAlloydbomniDatabase Result
The following output properties are available:
- Database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lc
Collate string - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - Lc
Ctype string - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lc
Collate string - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - Lc
Ctype string - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name String - The name of the service database. Changing this property forces recreation of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- lc
Collate String - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - lc
Ctype String - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name string - The name of the service database. Changing this property forces recreation of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- lc
Collate string - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - lc
Ctype string - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name string - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database_
name str - The name of the service database. Changing this property forces recreation of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- lc_
collate str - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - lc_
ctype str - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name str - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- database
Name String - The name of the service database. Changing this property forces recreation of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- lc
Collate String - Default string sort order (
LC_COLLATE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - lc
Ctype String - Default character classification (
LC_CTYPE
) of the database. The default value isen_US.UTF-8
. Changing this property forces recreation of the resource. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.