exoscale.DbaasOpensearchUser
Manage service users for an Opensearch Exoscale Database Services (DBaaS).
Create DbaasOpensearchUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbaasOpensearchUser(name: string, args: DbaasOpensearchUserArgs, opts?: CustomResourceOptions);@overload
def DbaasOpensearchUser(resource_name: str,
args: DbaasOpensearchUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbaasOpensearchUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
service: Optional[str] = None,
username: Optional[str] = None,
zone: Optional[str] = None,
timeouts: Optional[DbaasOpensearchUserTimeoutsArgs] = None)func NewDbaasOpensearchUser(ctx *Context, name string, args DbaasOpensearchUserArgs, opts ...ResourceOption) (*DbaasOpensearchUser, error)public DbaasOpensearchUser(string name, DbaasOpensearchUserArgs args, CustomResourceOptions? opts = null)
public DbaasOpensearchUser(String name, DbaasOpensearchUserArgs args)
public DbaasOpensearchUser(String name, DbaasOpensearchUserArgs args, CustomResourceOptions options)
type: exoscale:DbaasOpensearchUser
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 DbaasOpensearchUserArgs
- 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 DbaasOpensearchUserArgs
- 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 DbaasOpensearchUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbaasOpensearchUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbaasOpensearchUserArgs
- 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 dbaasOpensearchUserResource = new Exoscale.DbaasOpensearchUser("dbaasOpensearchUserResource", new()
{
Service = "string",
Username = "string",
Zone = "string",
Timeouts = new Exoscale.Inputs.DbaasOpensearchUserTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := exoscale.NewDbaasOpensearchUser(ctx, "dbaasOpensearchUserResource", &exoscale.DbaasOpensearchUserArgs{
Service: pulumi.String("string"),
Username: pulumi.String("string"),
Zone: pulumi.String("string"),
Timeouts: &exoscale.DbaasOpensearchUserTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var dbaasOpensearchUserResource = new DbaasOpensearchUser("dbaasOpensearchUserResource", DbaasOpensearchUserArgs.builder()
.service("string")
.username("string")
.zone("string")
.timeouts(DbaasOpensearchUserTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
dbaas_opensearch_user_resource = exoscale.DbaasOpensearchUser("dbaasOpensearchUserResource",
service="string",
username="string",
zone="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const dbaasOpensearchUserResource = new exoscale.DbaasOpensearchUser("dbaasOpensearchUserResource", {
service: "string",
username: "string",
zone: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: exoscale:DbaasOpensearchUser
properties:
service: string
timeouts:
create: string
delete: string
read: string
update: string
username: string
zone: string
DbaasOpensearchUser 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 DbaasOpensearchUser resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the DbaasOpensearchUser resource produces the following output properties:
Look up Existing DbaasOpensearchUser Resource
Get an existing DbaasOpensearchUser 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?: DbaasOpensearchUserState, opts?: CustomResourceOptions): DbaasOpensearchUser@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
password: Optional[str] = None,
service: Optional[str] = None,
timeouts: Optional[DbaasOpensearchUserTimeoutsArgs] = None,
type: Optional[str] = None,
username: Optional[str] = None,
zone: Optional[str] = None) -> DbaasOpensearchUserfunc GetDbaasOpensearchUser(ctx *Context, name string, id IDInput, state *DbaasOpensearchUserState, opts ...ResourceOption) (*DbaasOpensearchUser, error)public static DbaasOpensearchUser Get(string name, Input<string> id, DbaasOpensearchUserState? state, CustomResourceOptions? opts = null)public static DbaasOpensearchUser get(String name, Output<String> id, DbaasOpensearchUserState state, CustomResourceOptions options)resources: _: type: exoscale:DbaasOpensearchUser 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.
Supporting Types
DbaasOpensearchUserTimeouts, DbaasOpensearchUserTimeoutsArgs
- 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
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
exoscaleTerraform Provider.
