Viewing docs for Aiven v6.54.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Viewing docs for Aiven v6.54.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Lists payment methods for an organization.
This resource is in the beta stage and may change without notice. Set
the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getOrganizationPaymentMethodList({
organizationId: "org1a23f456789",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_organization_payment_method_list(organization_id="org1a23f456789")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetOrganizationPaymentMethodList(ctx, &aiven.GetOrganizationPaymentMethodListArgs{
OrganizationId: "org1a23f456789",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetOrganizationPaymentMethodList.Invoke(new()
{
OrganizationId = "org1a23f456789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetOrganizationPaymentMethodListArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AivenFunctions.getOrganizationPaymentMethodList(GetOrganizationPaymentMethodListArgs.builder()
.organizationId("org1a23f456789")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getOrganizationPaymentMethodList
arguments:
organizationId: org1a23f456789
Example coming soon!
Using getOrganizationPaymentMethodList
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 getOrganizationPaymentMethodList(args: GetOrganizationPaymentMethodListArgs, opts?: InvokeOptions): Promise<GetOrganizationPaymentMethodListResult>
function getOrganizationPaymentMethodListOutput(args: GetOrganizationPaymentMethodListOutputArgs, opts?: InvokeOptions): Output<GetOrganizationPaymentMethodListResult>def get_organization_payment_method_list(organization_id: Optional[str] = None,
payment_methods: Optional[Sequence[GetOrganizationPaymentMethodListPaymentMethod]] = None,
timeouts: Optional[GetOrganizationPaymentMethodListTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationPaymentMethodListResult
def get_organization_payment_method_list_output(organization_id: pulumi.Input[Optional[str]] = None,
payment_methods: pulumi.Input[Optional[Sequence[pulumi.Input[GetOrganizationPaymentMethodListPaymentMethodArgs]]]] = None,
timeouts: pulumi.Input[Optional[GetOrganizationPaymentMethodListTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationPaymentMethodListResult]func GetOrganizationPaymentMethodList(ctx *Context, args *GetOrganizationPaymentMethodListArgs, opts ...InvokeOption) (*GetOrganizationPaymentMethodListResult, error)
func GetOrganizationPaymentMethodListOutput(ctx *Context, args *GetOrganizationPaymentMethodListOutputArgs, opts ...InvokeOption) GetOrganizationPaymentMethodListResultOutput> Note: This function is named GetOrganizationPaymentMethodList in the Go SDK.
public static class GetOrganizationPaymentMethodList
{
public static Task<GetOrganizationPaymentMethodListResult> InvokeAsync(GetOrganizationPaymentMethodListArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationPaymentMethodListResult> Invoke(GetOrganizationPaymentMethodListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationPaymentMethodListResult> getOrganizationPaymentMethodList(GetOrganizationPaymentMethodListArgs args, InvokeOptions options)
public static Output<GetOrganizationPaymentMethodListResult> getOrganizationPaymentMethodList(GetOrganizationPaymentMethodListArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getOrganizationPaymentMethodList:getOrganizationPaymentMethodList
arguments:
# arguments dictionarydata "aiven_getorganizationpaymentmethodlist" "name" {
# arguments
}The following arguments are supported:
- Organization
Id string - ID of an organization.
- Payment
Methods List<GetOrganization Payment Method List Payment Method> - Payment Methods.
- Timeouts
Get
Organization Payment Method List Timeouts
- Organization
Id string - ID of an organization.
- Payment
Methods []GetOrganization Payment Method List Payment Method - Payment Methods.
- Timeouts
Get
Organization Payment Method List Timeouts
- organization_
id string - ID of an organization.
- payment_
methods list(object) - Payment Methods.
- timeouts object
- organization
Id String - ID of an organization.
- payment
Methods List<GetOrganization Payment Method List Payment Method> - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- organization
Id string - ID of an organization.
- payment
Methods GetOrganization Payment Method List Payment Method[] - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- organization_
id str - ID of an organization.
- payment_
methods Sequence[GetOrganization Payment Method List Payment Method] - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- organization
Id String - ID of an organization.
- payment
Methods List<Property Map> - Payment Methods.
- timeouts Property Map
getOrganizationPaymentMethodList Result
The following output properties are available:
- Id string
- Resource ID, equal to
organizationId. - Organization
Id string - ID of an organization.
- Payment
Methods List<GetOrganization Payment Method List Payment Method> - Payment Methods.
- Timeouts
Get
Organization Payment Method List Timeouts
- Id string
- Resource ID, equal to
organizationId. - Organization
Id string - ID of an organization.
- Payment
Methods []GetOrganization Payment Method List Payment Method - Payment Methods.
- Timeouts
Get
Organization Payment Method List Timeouts
- id string
- Resource ID, equal to
organizationId. - organization_
id string - ID of an organization.
- payment_
methods list(object) - Payment Methods.
- timeouts object
- id String
- Resource ID, equal to
organizationId. - organization
Id String - ID of an organization.
- payment
Methods List<GetOrganization Payment Method List Payment Method> - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- id string
- Resource ID, equal to
organizationId. - organization
Id string - ID of an organization.
- payment
Methods GetOrganization Payment Method List Payment Method[] - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- id str
- Resource ID, equal to
organizationId. - organization_
id str - ID of an organization.
- payment_
methods Sequence[GetOrganization Payment Method List Payment Method] - Payment Methods.
- timeouts
Get
Organization Payment Method List Timeouts
- id String
- Resource ID, equal to
organizationId. - organization
Id String - ID of an organization.
- payment
Methods List<Property Map> - Payment Methods.
- timeouts Property Map
Supporting Types
GetOrganizationPaymentMethodListPaymentMethod
- Payment
Method stringId - Payment method ID.
- Payment
Method stringType - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- Payment
Method stringId - Payment method ID.
- Payment
Method stringType - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- payment_
method_ stringid - Payment method ID.
- payment_
method_ stringtype - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- payment
Method StringId - Payment method ID.
- payment
Method StringType - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- payment
Method stringId - Payment method ID.
- payment
Method stringType - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- payment_
method_ strid - Payment method ID.
- payment_
method_ strtype - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
- payment
Method StringId - Payment method ID.
- payment
Method StringType - An enumeration. The possible values are
awsSubscription,azureSubscription,bankTransfer,creditCard,customandgcpSubscription.
GetOrganizationPaymentMethodListTimeouts
- 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 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.
Viewing docs for Aiven v6.54.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi