1. Packages
  2. Aiven Provider
  3. API Docs
  4. OrganizationAddress
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.OrganizationAddress

Explore with Pulumi AI

aiven logo
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

    Creates and manages an organization address.

    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,
                            company_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",
        CompanyName = "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"),
    	CompanyName:    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")
        .companyName("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",
        company_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",
        companyName: "string",
        state: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        zipCode: "string",
    });
    
    type: aiven:OrganizationAddress
    properties:
        addressLines:
            - string
        city: string
        companyName: string
        countryCode: 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>
    Array of address lines.
    City string
    City name.
    CountryCode string
    Country code.
    OrganizationId string
    ID of organization.
    CompanyName string
    Name of the company.
    State string
    State name.
    Timeouts OrganizationAddressTimeouts
    ZipCode string
    Zip code.
    AddressLines []string
    Array of address lines.
    City string
    City name.
    CountryCode string
    Country code.
    OrganizationId string
    ID of organization.
    CompanyName string
    Name of the company.
    State string
    State name.
    Timeouts OrganizationAddressTimeoutsArgs
    ZipCode string
    Zip code.
    addressLines List<String>
    Array of address lines.
    city String
    City name.
    countryCode String
    Country code.
    organizationId String
    ID of organization.
    companyName String
    Name of the company.
    state String
    State name.
    timeouts OrganizationAddressTimeouts
    zipCode String
    Zip code.
    addressLines string[]
    Array of address lines.
    city string
    City name.
    countryCode string
    Country code.
    organizationId string
    ID of organization.
    companyName string
    Name of the company.
    state string
    State name.
    timeouts OrganizationAddressTimeouts
    zipCode string
    Zip code.
    address_lines Sequence[str]
    Array of address lines.
    city str
    City name.
    country_code str
    Country code.
    organization_id str
    ID of organization.
    company_name str
    Name of the company.
    state str
    State name.
    timeouts OrganizationAddressTimeoutsArgs
    zip_code str
    Zip code.
    addressLines List<String>
    Array of address lines.
    city String
    City name.
    countryCode String
    Country code.
    organizationId String
    ID of organization.
    companyName String
    Name of the company.
    state String
    State name.
    timeouts Property Map
    zipCode String
    Zip code.

    Outputs

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

    AddressId string
    ID of the address.
    CreateTime string
    Timestamp of the creation.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Timestamp of the last update.
    AddressId string
    ID of the address.
    CreateTime string
    Timestamp of the creation.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Timestamp of the last update.
    addressId String
    ID of the address.
    createTime String
    Timestamp of the creation.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Timestamp of the last update.
    addressId string
    ID of the address.
    createTime string
    Timestamp of the creation.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Timestamp of the last update.
    address_id str
    ID of the address.
    create_time str
    Timestamp of the creation.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Timestamp of the last update.
    addressId String
    ID of the address.
    createTime String
    Timestamp of the creation.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Timestamp of the last update.

    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,
            company_name: Optional[str] = None,
            country_code: Optional[str] = None,
            create_time: 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
    ID of the address.
    AddressLines List<string>
    Array of address lines.
    City string
    City name.
    CompanyName string
    Name of the company.
    CountryCode string
    Country code.
    CreateTime string
    Timestamp of the creation.
    OrganizationId string
    ID of organization.
    State string
    State name.
    Timeouts OrganizationAddressTimeouts
    UpdateTime string
    Timestamp of the last update.
    ZipCode string
    Zip code.
    AddressId string
    ID of the address.
    AddressLines []string
    Array of address lines.
    City string
    City name.
    CompanyName string
    Name of the company.
    CountryCode string
    Country code.
    CreateTime string
    Timestamp of the creation.
    OrganizationId string
    ID of organization.
    State string
    State name.
    Timeouts OrganizationAddressTimeoutsArgs
    UpdateTime string
    Timestamp of the last update.
    ZipCode string
    Zip code.
    addressId String
    ID of the address.
    addressLines List<String>
    Array of address lines.
    city String
    City name.
    companyName String
    Name of the company.
    countryCode String
    Country code.
    createTime String
    Timestamp of the creation.
    organizationId String
    ID of organization.
    state String
    State name.
    timeouts OrganizationAddressTimeouts
    updateTime String
    Timestamp of the last update.
    zipCode String
    Zip code.
    addressId string
    ID of the address.
    addressLines string[]
    Array of address lines.
    city string
    City name.
    companyName string
    Name of the company.
    countryCode string
    Country code.
    createTime string
    Timestamp of the creation.
    organizationId string
    ID of organization.
    state string
    State name.
    timeouts OrganizationAddressTimeouts
    updateTime string
    Timestamp of the last update.
    zipCode string
    Zip code.
    address_id str
    ID of the address.
    address_lines Sequence[str]
    Array of address lines.
    city str
    City name.
    company_name str
    Name of the company.
    country_code str
    Country code.
    create_time str
    Timestamp of the creation.
    organization_id str
    ID of organization.
    state str
    State name.
    timeouts OrganizationAddressTimeoutsArgs
    update_time str
    Timestamp of the last update.
    zip_code str
    Zip code.
    addressId String
    ID of the address.
    addressLines List<String>
    Array of address lines.
    city String
    City name.
    companyName String
    Name of the company.
    countryCode String
    Country code.
    createTime String
    Timestamp of the creation.
    organizationId String
    ID of organization.
    state String
    State name.
    timeouts Property Map
    updateTime String
    Timestamp of the last update.
    zipCode String
    Zip code.

    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.37.0 published on Thursday, Apr 10, 2025 by Pulumi