1. Packages
  2. Aiven Provider
  3. API Docs
  4. OrganizationAddress
Aiven v6.39.0 published on Tuesday, Jun 3, 2025 by Pulumi

aiven.OrganizationAddress

Explore with Pulumi AI

aiven logo
Aiven v6.39.0 published on Tuesday, Jun 3, 2025 by Pulumi

    Creates and manages an organization address.

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

    Create OrganizationAddress Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationAddress(name: string, args: OrganizationAddressArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationAddress(resource_name: str,
                            args: OrganizationAddressArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationAddress(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            address_lines: Optional[Sequence[str]] = None,
                            city: Optional[str] = None,
                            country_code: Optional[str] = None,
                            organization_id: Optional[str] = None,
                            name: Optional[str] = None,
                            state: Optional[str] = None,
                            timeouts: Optional[OrganizationAddressTimeoutsArgs] = None,
                            zip_code: Optional[str] = None)
    func NewOrganizationAddress(ctx *Context, name string, args OrganizationAddressArgs, opts ...ResourceOption) (*OrganizationAddress, error)
    public OrganizationAddress(string name, OrganizationAddressArgs args, CustomResourceOptions? opts = null)
    public OrganizationAddress(String name, OrganizationAddressArgs args)
    public OrganizationAddress(String name, OrganizationAddressArgs args, CustomResourceOptions options)
    
    type: aiven:OrganizationAddress
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OrganizationAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OrganizationAddressArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OrganizationAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationAddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var organizationAddressResource = new Aiven.OrganizationAddress("organizationAddressResource", new()
    {
        AddressLines = new[]
        {
            "string",
        },
        City = "string",
        CountryCode = "string",
        OrganizationId = "string",
        Name = "string",
        State = "string",
        Timeouts = new Aiven.Inputs.OrganizationAddressTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        ZipCode = "string",
    });
    
    example, err := aiven.NewOrganizationAddress(ctx, "organizationAddressResource", &aiven.OrganizationAddressArgs{
    	AddressLines: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	City:           pulumi.String("string"),
    	CountryCode:    pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	State:          pulumi.String("string"),
    	Timeouts: &aiven.OrganizationAddressTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	ZipCode: pulumi.String("string"),
    })
    
    var organizationAddressResource = new OrganizationAddress("organizationAddressResource", OrganizationAddressArgs.builder()
        .addressLines("string")
        .city("string")
        .countryCode("string")
        .organizationId("string")
        .name("string")
        .state("string")
        .timeouts(OrganizationAddressTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .zipCode("string")
        .build());
    
    organization_address_resource = aiven.OrganizationAddress("organizationAddressResource",
        address_lines=["string"],
        city="string",
        country_code="string",
        organization_id="string",
        name="string",
        state="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        zip_code="string")
    
    const organizationAddressResource = new aiven.OrganizationAddress("organizationAddressResource", {
        addressLines: ["string"],
        city: "string",
        countryCode: "string",
        organizationId: "string",
        name: "string",
        state: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        zipCode: "string",
    });
    
    type: aiven:OrganizationAddress
    properties:
        addressLines:
            - string
        city: string
        countryCode: string
        name: string
        organizationId: string
        state: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        zipCode: string
    

    OrganizationAddress Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OrganizationAddress resource accepts the following input properties:

    AddressLines List<string>
    Address Lines.
    City string
    City.
    CountryCode string
    Country Code.
    OrganizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    Name string
    Name of a company. Maximum length: 128.
    State string
    State. Maximum length: 128.
    Timeouts OrganizationAddressTimeouts
    ZipCode string
    Zip Code. Maximum length: 32.
    AddressLines []string
    Address Lines.
    City string
    City.
    CountryCode string
    Country Code.
    OrganizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    Name string
    Name of a company. Maximum length: 128.
    State string
    State. Maximum length: 128.
    Timeouts OrganizationAddressTimeoutsArgs
    ZipCode string
    Zip Code. Maximum length: 32.
    addressLines List<String>
    Address Lines.
    city String
    City.
    countryCode String
    Country Code.
    organizationId String
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    name String
    Name of a company. Maximum length: 128.
    state String
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeouts
    zipCode String
    Zip Code. Maximum length: 32.
    addressLines string[]
    Address Lines.
    city string
    City.
    countryCode string
    Country Code.
    organizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    name string
    Name of a company. Maximum length: 128.
    state string
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeouts
    zipCode string
    Zip Code. Maximum length: 32.
    address_lines Sequence[str]
    Address Lines.
    city str
    City.
    country_code str
    Country Code.
    organization_id str
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    name str
    Name of a company. Maximum length: 128.
    state str
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeoutsArgs
    zip_code str
    Zip Code. Maximum length: 32.
    addressLines List<String>
    Address Lines.
    city String
    City.
    countryCode String
    Country Code.
    organizationId String
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    name String
    Name of a company. Maximum length: 128.
    state String
    State. Maximum length: 128.
    timeouts Property Map
    zipCode String
    Zip Code. Maximum length: 32.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationAddress resource produces the following output properties:

    AddressId string
    Address ID.
    CreateTime string
    Create Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Update Time.
    AddressId string
    Address ID.
    CreateTime string
    Create Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Update Time.
    addressId String
    Address ID.
    createTime String
    Create Time.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Update Time.
    addressId string
    Address ID.
    createTime string
    Create Time.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Update Time.
    address_id str
    Address ID.
    create_time str
    Create Time.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Update Time.
    addressId String
    Address ID.
    createTime String
    Create Time.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Update Time.

    Look up Existing OrganizationAddress Resource

    Get an existing OrganizationAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OrganizationAddressState, opts?: CustomResourceOptions): OrganizationAddress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_id: Optional[str] = None,
            address_lines: Optional[Sequence[str]] = None,
            city: Optional[str] = None,
            country_code: Optional[str] = None,
            create_time: Optional[str] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            state: Optional[str] = None,
            timeouts: Optional[OrganizationAddressTimeoutsArgs] = None,
            update_time: Optional[str] = None,
            zip_code: Optional[str] = None) -> OrganizationAddress
    func GetOrganizationAddress(ctx *Context, name string, id IDInput, state *OrganizationAddressState, opts ...ResourceOption) (*OrganizationAddress, error)
    public static OrganizationAddress Get(string name, Input<string> id, OrganizationAddressState? state, CustomResourceOptions? opts = null)
    public static OrganizationAddress get(String name, Output<String> id, OrganizationAddressState state, CustomResourceOptions options)
    resources:  _:    type: aiven:OrganizationAddress    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AddressId string
    Address ID.
    AddressLines List<string>
    Address Lines.
    City string
    City.
    CountryCode string
    Country Code.
    CreateTime string
    Create Time.
    Name string
    Name of a company. Maximum length: 128.
    OrganizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    State string
    State. Maximum length: 128.
    Timeouts OrganizationAddressTimeouts
    UpdateTime string
    Update Time.
    ZipCode string
    Zip Code. Maximum length: 32.
    AddressId string
    Address ID.
    AddressLines []string
    Address Lines.
    City string
    City.
    CountryCode string
    Country Code.
    CreateTime string
    Create Time.
    Name string
    Name of a company. Maximum length: 128.
    OrganizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    State string
    State. Maximum length: 128.
    Timeouts OrganizationAddressTimeoutsArgs
    UpdateTime string
    Update Time.
    ZipCode string
    Zip Code. Maximum length: 32.
    addressId String
    Address ID.
    addressLines List<String>
    Address Lines.
    city String
    City.
    countryCode String
    Country Code.
    createTime String
    Create Time.
    name String
    Name of a company. Maximum length: 128.
    organizationId String
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    state String
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeouts
    updateTime String
    Update Time.
    zipCode String
    Zip Code. Maximum length: 32.
    addressId string
    Address ID.
    addressLines string[]
    Address Lines.
    city string
    City.
    countryCode string
    Country Code.
    createTime string
    Create Time.
    name string
    Name of a company. Maximum length: 128.
    organizationId string
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    state string
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeouts
    updateTime string
    Update Time.
    zipCode string
    Zip Code. Maximum length: 32.
    address_id str
    Address ID.
    address_lines Sequence[str]
    Address Lines.
    city str
    City.
    country_code str
    Country Code.
    create_time str
    Create Time.
    name str
    Name of a company. Maximum length: 128.
    organization_id str
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    state str
    State. Maximum length: 128.
    timeouts OrganizationAddressTimeoutsArgs
    update_time str
    Update Time.
    zip_code str
    Zip Code. Maximum length: 32.
    addressId String
    Address ID.
    addressLines List<String>
    Address Lines.
    city String
    City.
    countryCode String
    Country Code.
    createTime String
    Create Time.
    name String
    Name of a company. Maximum length: 128.
    organizationId String
    ID of an organization. Maximum length: 36. Changing this property forces recreation of the resource.
    state String
    State. Maximum length: 128.
    timeouts Property Map
    updateTime String
    Update Time.
    zipCode String
    Zip Code. Maximum length: 32.

    Supporting Types

    OrganizationAddressTimeouts, OrganizationAddressTimeoutsArgs

    Create 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).
    Delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    Update 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).
    Create 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).
    Delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    Update 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).
    create 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).
    delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    update 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).
    create 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).
    delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    update 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).
    create 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).
    delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    update 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).
    create 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).
    delete 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    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 operations occur during any refresh or planning operation when refresh is enabled.
    update 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.39.0 published on Tuesday, Jun 3, 2025 by Pulumi