1. Packages
  2. Aiven Provider
  3. API Docs
  4. getServicePlan
Aiven v6.45.0 published on Thursday, Nov 13, 2025 by Pulumi
aiven logo
Aiven v6.45.0 published on Thursday, Nov 13, 2025 by Pulumi

    Gets detailed information about a specific service plan, including specifications and pricing for a cloud region.

    This resource is in the beta stage and may change without notice. Set the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource.

    Using getServicePlan

    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 getServicePlan(args: GetServicePlanArgs, opts?: InvokeOptions): Promise<GetServicePlanResult>
    function getServicePlanOutput(args: GetServicePlanOutputArgs, opts?: InvokeOptions): Output<GetServicePlanResult>
    def get_service_plan(backup_configs: Optional[Sequence[GetServicePlanBackupConfig]] = None,
                         cloud_name: Optional[str] = None,
                         project: Optional[str] = None,
                         service_plan: Optional[str] = None,
                         service_type: Optional[str] = None,
                         timeouts: Optional[GetServicePlanTimeouts] = None,
                         opts: Optional[InvokeOptions] = None) -> GetServicePlanResult
    def get_service_plan_output(backup_configs: Optional[pulumi.Input[Sequence[pulumi.Input[GetServicePlanBackupConfigArgs]]]] = None,
                         cloud_name: Optional[pulumi.Input[str]] = None,
                         project: Optional[pulumi.Input[str]] = None,
                         service_plan: Optional[pulumi.Input[str]] = None,
                         service_type: Optional[pulumi.Input[str]] = None,
                         timeouts: Optional[pulumi.Input[GetServicePlanTimeoutsArgs]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetServicePlanResult]
    func GetServicePlan(ctx *Context, args *GetServicePlanArgs, opts ...InvokeOption) (*GetServicePlanResult, error)
    func GetServicePlanOutput(ctx *Context, args *GetServicePlanOutputArgs, opts ...InvokeOption) GetServicePlanResultOutput

    > Note: This function is named GetServicePlan in the Go SDK.

    public static class GetServicePlan 
    {
        public static Task<GetServicePlanResult> InvokeAsync(GetServicePlanArgs args, InvokeOptions? opts = null)
        public static Output<GetServicePlanResult> Invoke(GetServicePlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
    public static Output<GetServicePlanResult> getServicePlan(GetServicePlanArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aiven:index/getServicePlan:getServicePlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudName string
    Cloud region name.
    Project string
    Project name.
    ServicePlan string
    Service plan name.
    ServiceType string
    Service type code.
    BackupConfigs List<GetServicePlanBackupConfig>
    Backup configuration for this service plan.
    Timeouts GetServicePlanTimeouts
    CloudName string
    Cloud region name.
    Project string
    Project name.
    ServicePlan string
    Service plan name.
    ServiceType string
    Service type code.
    BackupConfigs []GetServicePlanBackupConfig
    Backup configuration for this service plan.
    Timeouts GetServicePlanTimeouts
    cloudName String
    Cloud region name.
    project String
    Project name.
    servicePlan String
    Service plan name.
    serviceType String
    Service type code.
    backupConfigs List<GetServicePlanBackupConfig>
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    cloudName string
    Cloud region name.
    project string
    Project name.
    servicePlan string
    Service plan name.
    serviceType string
    Service type code.
    backupConfigs GetServicePlanBackupConfig[]
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    cloud_name str
    Cloud region name.
    project str
    Project name.
    service_plan str
    Service plan name.
    service_type str
    Service type code.
    backup_configs Sequence[GetServicePlanBackupConfig]
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    cloudName String
    Cloud region name.
    project String
    Project name.
    servicePlan String
    Service plan name.
    serviceType String
    Service type code.
    backupConfigs List<Property Map>
    Backup configuration for this service plan.
    timeouts Property Map

    getServicePlan Result

    The following output properties are available:

    BasePriceUsd string
    Hourly service price in this region in USD.
    CloudName string
    Cloud region name.
    DiskSpaceCapMb int
    Maximum amount of disk space possible for the plan in the given region.
    DiskSpaceMb int
    Combined amount of service disk space of all service nodes in megabytes.
    DiskSpaceStepMb int
    Disk space change step size.
    Id string
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    MaxMemoryPercent int
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    NodeCount int
    Number of nodes in this service plan.
    ObjectStorageGbPriceUsd string
    Hourly object storage price per GiB in this region in USD.
    Project string
    Project name.
    ServicePlan string
    Service plan name.
    ServiceType string
    Service type code.
    ShardCount int
    Number of shards in this service plan.
    BackupConfigs List<GetServicePlanBackupConfig>
    Backup configuration for this service plan.
    Timeouts GetServicePlanTimeouts
    BasePriceUsd string
    Hourly service price in this region in USD.
    CloudName string
    Cloud region name.
    DiskSpaceCapMb int
    Maximum amount of disk space possible for the plan in the given region.
    DiskSpaceMb int
    Combined amount of service disk space of all service nodes in megabytes.
    DiskSpaceStepMb int
    Disk space change step size.
    Id string
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    MaxMemoryPercent int
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    NodeCount int
    Number of nodes in this service plan.
    ObjectStorageGbPriceUsd string
    Hourly object storage price per GiB in this region in USD.
    Project string
    Project name.
    ServicePlan string
    Service plan name.
    ServiceType string
    Service type code.
    ShardCount int
    Number of shards in this service plan.
    BackupConfigs []GetServicePlanBackupConfig
    Backup configuration for this service plan.
    Timeouts GetServicePlanTimeouts
    basePriceUsd String
    Hourly service price in this region in USD.
    cloudName String
    Cloud region name.
    diskSpaceCapMb Integer
    Maximum amount of disk space possible for the plan in the given region.
    diskSpaceMb Integer
    Combined amount of service disk space of all service nodes in megabytes.
    diskSpaceStepMb Integer
    Disk space change step size.
    id String
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    maxMemoryPercent Integer
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    nodeCount Integer
    Number of nodes in this service plan.
    objectStorageGbPriceUsd String
    Hourly object storage price per GiB in this region in USD.
    project String
    Project name.
    servicePlan String
    Service plan name.
    serviceType String
    Service type code.
    shardCount Integer
    Number of shards in this service plan.
    backupConfigs List<GetServicePlanBackupConfig>
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    basePriceUsd string
    Hourly service price in this region in USD.
    cloudName string
    Cloud region name.
    diskSpaceCapMb number
    Maximum amount of disk space possible for the plan in the given region.
    diskSpaceMb number
    Combined amount of service disk space of all service nodes in megabytes.
    diskSpaceStepMb number
    Disk space change step size.
    id string
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    maxMemoryPercent number
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    nodeCount number
    Number of nodes in this service plan.
    objectStorageGbPriceUsd string
    Hourly object storage price per GiB in this region in USD.
    project string
    Project name.
    servicePlan string
    Service plan name.
    serviceType string
    Service type code.
    shardCount number
    Number of shards in this service plan.
    backupConfigs GetServicePlanBackupConfig[]
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    base_price_usd str
    Hourly service price in this region in USD.
    cloud_name str
    Cloud region name.
    disk_space_cap_mb int
    Maximum amount of disk space possible for the plan in the given region.
    disk_space_mb int
    Combined amount of service disk space of all service nodes in megabytes.
    disk_space_step_mb int
    Disk space change step size.
    id str
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    max_memory_percent int
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    node_count int
    Number of nodes in this service plan.
    object_storage_gb_price_usd str
    Hourly object storage price per GiB in this region in USD.
    project str
    Project name.
    service_plan str
    Service plan name.
    service_type str
    Service type code.
    shard_count int
    Number of shards in this service plan.
    backup_configs Sequence[GetServicePlanBackupConfig]
    Backup configuration for this service plan.
    timeouts GetServicePlanTimeouts
    basePriceUsd String
    Hourly service price in this region in USD.
    cloudName String
    Cloud region name.
    diskSpaceCapMb Number
    Maximum amount of disk space possible for the plan in the given region.
    diskSpaceMb Number
    Combined amount of service disk space of all service nodes in megabytes.
    diskSpaceStepMb Number
    Disk space change step size.
    id String
    Resource ID, a composite of project, service_type, service_plan and cloud_name IDs.
    maxMemoryPercent Number
    Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
    nodeCount Number
    Number of nodes in this service plan.
    objectStorageGbPriceUsd String
    Hourly object storage price per GiB in this region in USD.
    project String
    Project name.
    servicePlan String
    Service plan name.
    serviceType String
    Service type code.
    shardCount Number
    Number of shards in this service plan.
    backupConfigs List<Property Map>
    Backup configuration for this service plan.
    timeouts Property Map

    Supporting Types

    GetServicePlanBackupConfig

    FrequentIntervalMinutes int
    Interval of taking a frequent backup in service types supporting different backup schedules.
    FrequentOldestAgeMinutes int
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    InfrequentIntervalMinutes int
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    InfrequentOldestAgeMinutes int
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    Interval int
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    MaxCount int
    Maximum number of backups to keep. Zero when no backups are created.
    RecoveryMode string
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.
    FrequentIntervalMinutes int
    Interval of taking a frequent backup in service types supporting different backup schedules.
    FrequentOldestAgeMinutes int
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    InfrequentIntervalMinutes int
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    InfrequentOldestAgeMinutes int
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    Interval int
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    MaxCount int
    Maximum number of backups to keep. Zero when no backups are created.
    RecoveryMode string
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.
    frequentIntervalMinutes Integer
    Interval of taking a frequent backup in service types supporting different backup schedules.
    frequentOldestAgeMinutes Integer
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    infrequentIntervalMinutes Integer
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    infrequentOldestAgeMinutes Integer
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    interval Integer
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    maxCount Integer
    Maximum number of backups to keep. Zero when no backups are created.
    recoveryMode String
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.
    frequentIntervalMinutes number
    Interval of taking a frequent backup in service types supporting different backup schedules.
    frequentOldestAgeMinutes number
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    infrequentIntervalMinutes number
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    infrequentOldestAgeMinutes number
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    interval number
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    maxCount number
    Maximum number of backups to keep. Zero when no backups are created.
    recoveryMode string
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.
    frequent_interval_minutes int
    Interval of taking a frequent backup in service types supporting different backup schedules.
    frequent_oldest_age_minutes int
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    infrequent_interval_minutes int
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    infrequent_oldest_age_minutes int
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    interval int
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    max_count int
    Maximum number of backups to keep. Zero when no backups are created.
    recovery_mode str
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.
    frequentIntervalMinutes Number
    Interval of taking a frequent backup in service types supporting different backup schedules.
    frequentOldestAgeMinutes Number
    Maximum age of the oldest frequent backup in service types supporting different backup schedules.
    infrequentIntervalMinutes Number
    Interval of taking an infrequent backup in service types supporting different backup schedules.
    infrequentOldestAgeMinutes Number
    Maximum age of the oldest infrequent backup in service types supporting different backup schedules.
    interval Number
    The interval, in hours, at which backups are generated. For some services, like PostgreSQL, this is the interval at which full snapshots are taken and continuous incremental backup stream is maintained in addition to that.
    maxCount Number
    Maximum number of backups to keep. Zero when no backups are created.
    recoveryMode String
    Mechanism how backups can be restored. 'basic' means a backup is restored as is so that the system is restored to the state it was when the backup was generated. 'pitr' means point-in-time-recovery, which allows restoring the system to any state since the first available full snapshot. The possible values are basic and pitr.

    GetServicePlanTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.45.0 published on Thursday, Nov 13, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate