aiven.OrganizationAddress
Explore with Pulumi AI
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:
- Address
Lines List<string> - Array of address lines.
- City string
- City name.
- Country
Code string - Country code.
- Organization
Id string - ID of organization.
- Company
Name string - Name of the company.
- State string
- State name.
- Timeouts
Organization
Address Timeouts - Zip
Code string - Zip code.
- Address
Lines []string - Array of address lines.
- City string
- City name.
- Country
Code string - Country code.
- Organization
Id string - ID of organization.
- Company
Name string - Name of the company.
- State string
- State name.
- Timeouts
Organization
Address Timeouts Args - Zip
Code string - Zip code.
- address
Lines List<String> - Array of address lines.
- city String
- City name.
- country
Code String - Country code.
- organization
Id String - ID of organization.
- company
Name String - Name of the company.
- state String
- State name.
- timeouts
Organization
Address Timeouts - zip
Code String - Zip code.
- address
Lines string[] - Array of address lines.
- city string
- City name.
- country
Code string - Country code.
- organization
Id string - ID of organization.
- company
Name string - Name of the company.
- state string
- State name.
- timeouts
Organization
Address Timeouts - zip
Code 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
Organization
Address Timeouts Args - zip_
code str - Zip code.
- address
Lines List<String> - Array of address lines.
- city String
- City name.
- country
Code String - Country code.
- organization
Id String - ID of organization.
- company
Name String - Name of the company.
- state String
- State name.
- timeouts Property Map
- zip
Code String - Zip code.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationAddress resource produces the following output properties:
- Address
Id string - ID of the address.
- Create
Time string - Timestamp of the creation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Timestamp of the last update.
- Address
Id string - ID of the address.
- Create
Time string - Timestamp of the creation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Timestamp of the last update.
- address
Id String - ID of the address.
- create
Time String - Timestamp of the creation.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Timestamp of the last update.
- address
Id string - ID of the address.
- create
Time string - Timestamp of the creation.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time 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.
- address
Id String - ID of the address.
- create
Time String - Timestamp of the creation.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time 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.
- Address
Id string - ID of the address.
- Address
Lines List<string> - Array of address lines.
- City string
- City name.
- Company
Name string - Name of the company.
- Country
Code string - Country code.
- Create
Time string - Timestamp of the creation.
- Organization
Id string - ID of organization.
- State string
- State name.
- Timeouts
Organization
Address Timeouts - Update
Time string - Timestamp of the last update.
- Zip
Code string - Zip code.
- Address
Id string - ID of the address.
- Address
Lines []string - Array of address lines.
- City string
- City name.
- Company
Name string - Name of the company.
- Country
Code string - Country code.
- Create
Time string - Timestamp of the creation.
- Organization
Id string - ID of organization.
- State string
- State name.
- Timeouts
Organization
Address Timeouts Args - Update
Time string - Timestamp of the last update.
- Zip
Code string - Zip code.
- address
Id String - ID of the address.
- address
Lines List<String> - Array of address lines.
- city String
- City name.
- company
Name String - Name of the company.
- country
Code String - Country code.
- create
Time String - Timestamp of the creation.
- organization
Id String - ID of organization.
- state String
- State name.
- timeouts
Organization
Address Timeouts - update
Time String - Timestamp of the last update.
- zip
Code String - Zip code.
- address
Id string - ID of the address.
- address
Lines string[] - Array of address lines.
- city string
- City name.
- company
Name string - Name of the company.
- country
Code string - Country code.
- create
Time string - Timestamp of the creation.
- organization
Id string - ID of organization.
- state string
- State name.
- timeouts
Organization
Address Timeouts - update
Time string - Timestamp of the last update.
- zip
Code 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
Organization
Address Timeouts Args - update_
time str - Timestamp of the last update.
- zip_
code str - Zip code.
- address
Id String - ID of the address.
- address
Lines List<String> - Array of address lines.
- city String
- City name.
- company
Name String - Name of the company.
- country
Code String - Country code.
- create
Time String - Timestamp of the creation.
- organization
Id String - ID of organization.
- state String
- State name.
- timeouts Property Map
- update
Time String - Timestamp of the last update.
- zip
Code 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.