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 dictionaryThe following arguments are supported:
- Cloud
Name string - Cloud region name.
- Project string
- Project name.
- Service
Plan string - Service plan name.
- Service
Type string - Service type code.
- Backup
Configs List<GetService Plan Backup Config> - Backup configuration for this service plan.
- Timeouts
Get
Service Plan Timeouts
- Cloud
Name string - Cloud region name.
- Project string
- Project name.
- Service
Plan string - Service plan name.
- Service
Type string - Service type code.
- Backup
Configs []GetService Plan Backup Config - Backup configuration for this service plan.
- Timeouts
Get
Service Plan Timeouts
- cloud
Name String - Cloud region name.
- project String
- Project name.
- service
Plan String - Service plan name.
- service
Type String - Service type code.
- backup
Configs List<GetService Plan Backup Config> - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- cloud
Name string - Cloud region name.
- project string
- Project name.
- service
Plan string - Service plan name.
- service
Type string - Service type code.
- backup
Configs GetService Plan Backup Config[] - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- 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[GetService Plan Backup Config] - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- cloud
Name String - Cloud region name.
- project String
- Project name.
- service
Plan String - Service plan name.
- service
Type String - Service type code.
- backup
Configs List<Property Map> - Backup configuration for this service plan.
- timeouts Property Map
getServicePlan Result
The following output properties are available:
- Base
Price stringUsd - Hourly service price in this region in USD.
- Cloud
Name string - Cloud region name.
- Disk
Space intCap Mb - Maximum amount of disk space possible for the plan in the given region.
- Disk
Space intMb - Combined amount of service disk space of all service nodes in megabytes.
- Disk
Space intStep Mb - Disk space change step size.
- Id string
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - Max
Memory intPercent - 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 stringGb Price Usd - Hourly object storage price per GiB in this region in USD.
- Project string
- Project name.
- Service
Plan string - Service plan name.
- Service
Type string - Service type code.
- int
- Number of shards in this service plan.
- Backup
Configs List<GetService Plan Backup Config> - Backup configuration for this service plan.
- Timeouts
Get
Service Plan Timeouts
- Base
Price stringUsd - Hourly service price in this region in USD.
- Cloud
Name string - Cloud region name.
- Disk
Space intCap Mb - Maximum amount of disk space possible for the plan in the given region.
- Disk
Space intMb - Combined amount of service disk space of all service nodes in megabytes.
- Disk
Space intStep Mb - Disk space change step size.
- Id string
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - Max
Memory intPercent - 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 stringGb Price Usd - Hourly object storage price per GiB in this region in USD.
- Project string
- Project name.
- Service
Plan string - Service plan name.
- Service
Type string - Service type code.
- int
- Number of shards in this service plan.
- Backup
Configs []GetService Plan Backup Config - Backup configuration for this service plan.
- Timeouts
Get
Service Plan Timeouts
- base
Price StringUsd - Hourly service price in this region in USD.
- cloud
Name String - Cloud region name.
- disk
Space IntegerCap Mb - Maximum amount of disk space possible for the plan in the given region.
- disk
Space IntegerMb - Combined amount of service disk space of all service nodes in megabytes.
- disk
Space IntegerStep Mb - Disk space change step size.
- id String
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - max
Memory IntegerPercent - 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 Integer - Number of nodes in this service plan.
- object
Storage StringGb Price Usd - Hourly object storage price per GiB in this region in USD.
- project String
- Project name.
- service
Plan String - Service plan name.
- service
Type String - Service type code.
- Integer
- Number of shards in this service plan.
- backup
Configs List<GetService Plan Backup Config> - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- base
Price stringUsd - Hourly service price in this region in USD.
- cloud
Name string - Cloud region name.
- disk
Space numberCap Mb - Maximum amount of disk space possible for the plan in the given region.
- disk
Space numberMb - Combined amount of service disk space of all service nodes in megabytes.
- disk
Space numberStep Mb - Disk space change step size.
- id string
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - max
Memory numberPercent - 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 number - Number of nodes in this service plan.
- object
Storage stringGb Price Usd - Hourly object storage price per GiB in this region in USD.
- project string
- Project name.
- service
Plan string - Service plan name.
- service
Type string - Service type code.
- number
- Number of shards in this service plan.
- backup
Configs GetService Plan Backup Config[] - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- base_
price_ strusd - Hourly service price in this region in USD.
- cloud_
name str - Cloud region name.
- disk_
space_ intcap_ mb - Maximum amount of disk space possible for the plan in the given region.
- disk_
space_ intmb - Combined amount of service disk space of all service nodes in megabytes.
- disk_
space_ intstep_ mb - Disk space change step size.
- id str
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - max_
memory_ intpercent - 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_ strgb_ price_ usd - 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.
- int
- Number of shards in this service plan.
- backup_
configs Sequence[GetService Plan Backup Config] - Backup configuration for this service plan.
- timeouts
Get
Service Plan Timeouts
- base
Price StringUsd - Hourly service price in this region in USD.
- cloud
Name String - Cloud region name.
- disk
Space NumberCap Mb - Maximum amount of disk space possible for the plan in the given region.
- disk
Space NumberMb - Combined amount of service disk space of all service nodes in megabytes.
- disk
Space NumberStep Mb - Disk space change step size.
- id String
- Resource ID, a composite of
project,service_type,service_planandcloud_nameIDs. - max
Memory NumberPercent - 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 Number - Number of nodes in this service plan.
- object
Storage StringGb Price Usd - Hourly object storage price per GiB in this region in USD.
- project String
- Project name.
- service
Plan String - Service plan name.
- service
Type String - Service type code.
- Number
- Number of shards in this service plan.
- backup
Configs List<Property Map> - Backup configuration for this service plan.
- timeouts Property Map
Supporting Types
GetServicePlanBackupConfig
- Frequent
Interval intMinutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- Frequent
Oldest intAge Minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- Infrequent
Interval intMinutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- Infrequent
Oldest intAge Minutes - 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 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
basicandpitr.
- Frequent
Interval intMinutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- Frequent
Oldest intAge Minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- Infrequent
Interval intMinutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- Infrequent
Oldest intAge Minutes - 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 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
basicandpitr.
- frequent
Interval IntegerMinutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- frequent
Oldest IntegerAge Minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- infrequent
Interval IntegerMinutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- infrequent
Oldest IntegerAge Minutes - 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.
- max
Count Integer - Maximum number of backups to keep. Zero when no backups are created.
- recovery
Mode 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
basicandpitr.
- frequent
Interval numberMinutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- frequent
Oldest numberAge Minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- infrequent
Interval numberMinutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- infrequent
Oldest numberAge Minutes - 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.
- max
Count number - Maximum number of backups to keep. Zero when no backups are created.
- recovery
Mode 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
basicandpitr.
- frequent_
interval_ intminutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- frequent_
oldest_ intage_ minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- infrequent_
interval_ intminutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- infrequent_
oldest_ intage_ minutes - 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
basicandpitr.
- frequent
Interval NumberMinutes - Interval of taking a frequent backup in service types supporting different backup schedules.
- frequent
Oldest NumberAge Minutes - Maximum age of the oldest frequent backup in service types supporting different backup schedules.
- infrequent
Interval NumberMinutes - Interval of taking an infrequent backup in service types supporting different backup schedules.
- infrequent
Oldest NumberAge Minutes - 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.
- max
Count Number - Maximum number of backups to keep. Zero when no backups are created.
- recovery
Mode 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
basicandpitr.
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
aivenTerraform Provider.
