1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. getPgVersions
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.getPgVersions

Explore with Pulumi AI

ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

Using getPgVersions

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 getPgVersions(args: GetPgVersionsArgs, opts?: InvokeOptions): Promise<GetPgVersionsResult>
function getPgVersionsOutput(args: GetPgVersionsOutputArgs, opts?: InvokeOptions): Output<GetPgVersionsResult>
Copy
def get_pg_versions(cluster_id: Optional[str] = None,
                    id: Optional[str] = None,
                    timeouts: Optional[GetPgVersionsTimeouts] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPgVersionsResult
def get_pg_versions_output(cluster_id: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    timeouts: Optional[pulumi.Input[GetPgVersionsTimeoutsArgs]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPgVersionsResult]
Copy
func GetPgVersions(ctx *Context, args *GetPgVersionsArgs, opts ...InvokeOption) (*GetPgVersionsResult, error)
func GetPgVersionsOutput(ctx *Context, args *GetPgVersionsOutputArgs, opts ...InvokeOption) GetPgVersionsResultOutput
Copy

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

public static class GetPgVersions 
{
    public static Task<GetPgVersionsResult> InvokeAsync(GetPgVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetPgVersionsResult> Invoke(GetPgVersionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPgVersionsResult> getPgVersions(GetPgVersionsArgs args, InvokeOptions options)
public static Output<GetPgVersionsResult> getPgVersions(GetPgVersionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ionoscloud:index/getPgVersions:getPgVersions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getPgVersions Result

The following output properties are available:

Supporting Types

GetPgVersionsTimeouts

Create string
Default string
Delete string
Update string
Create string
Default string
Delete string
Update string
create String
default_ String
delete String
update String
create string
default string
delete string
update string
create String
default String
delete String
update String

Package Details

Repository
ionoscloud ionos-cloud/terraform-provider-ionoscloud
License
Notes
This Pulumi package is based on the ionoscloud Terraform Provider.
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud