1. Packages
  2. Glesys Provider
  3. API Docs
  4. Emailaccount
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

glesys.Emailaccount

Explore with Pulumi AI

Create a GleSYS Email Account.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  bob:
    type: glesys:Emailaccount
    properties:
      autorespond: yes
      autorespondmessage: I'm away.
      emailaccount: bob@example.com
      password: SecretPassword123
      quotaingib: 2
  alice:
    type: glesys:Emailaccount
    properties:
      antispamlevel: 5
      emailaccount: alice@example.com
      password: PasswordSecret321
Copy

Create Emailaccount Resource

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

Constructor syntax

new Emailaccount(name: string, args: EmailaccountArgs, opts?: CustomResourceOptions);
@overload
def Emailaccount(resource_name: str,
                 args: EmailaccountArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def Emailaccount(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 emailaccount: Optional[str] = None,
                 antispamlevel: Optional[float] = None,
                 antivirus: Optional[str] = None,
                 autorespond: Optional[str] = None,
                 autorespondmessage: Optional[str] = None,
                 emailaccount_id: Optional[str] = None,
                 quotaingib: Optional[float] = None,
                 rejectspam: Optional[str] = None)
func NewEmailaccount(ctx *Context, name string, args EmailaccountArgs, opts ...ResourceOption) (*Emailaccount, error)
public Emailaccount(string name, EmailaccountArgs args, CustomResourceOptions? opts = null)
public Emailaccount(String name, EmailaccountArgs args)
public Emailaccount(String name, EmailaccountArgs args, CustomResourceOptions options)
type: glesys:Emailaccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EmailaccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EmailaccountArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EmailaccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EmailaccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EmailaccountArgs
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 emailaccountResource = new Glesys.Emailaccount("emailaccountResource", new()
{
    Emailaccount = "string",
    Antispamlevel = 0,
    Antivirus = "string",
    Autorespond = "string",
    Autorespondmessage = "string",
    EmailaccountId = "string",
    Quotaingib = 0,
    Rejectspam = "string",
});
Copy
example, err := glesys.NewEmailaccount(ctx, "emailaccountResource", &glesys.EmailaccountArgs{
Emailaccount: pulumi.String("string"),
Antispamlevel: pulumi.Float64(0),
Antivirus: pulumi.String("string"),
Autorespond: pulumi.String("string"),
Autorespondmessage: pulumi.String("string"),
EmailaccountId: pulumi.String("string"),
Quotaingib: pulumi.Float64(0),
Rejectspam: pulumi.String("string"),
})
Copy
var emailaccountResource = new Emailaccount("emailaccountResource", EmailaccountArgs.builder()
    .emailaccount("string")
    .antispamlevel(0)
    .antivirus("string")
    .autorespond("string")
    .autorespondmessage("string")
    .emailaccountId("string")
    .quotaingib(0)
    .rejectspam("string")
    .build());
Copy
emailaccount_resource = glesys.Emailaccount("emailaccountResource",
    emailaccount="string",
    antispamlevel=0,
    antivirus="string",
    autorespond="string",
    autorespondmessage="string",
    emailaccount_id="string",
    quotaingib=0,
    rejectspam="string")
Copy
const emailaccountResource = new glesys.Emailaccount("emailaccountResource", {
    emailaccount: "string",
    antispamlevel: 0,
    antivirus: "string",
    autorespond: "string",
    autorespondmessage: "string",
    emailaccountId: "string",
    quotaingib: 0,
    rejectspam: "string",
});
Copy
type: glesys:Emailaccount
properties:
    antispamlevel: 0
    antivirus: string
    autorespond: string
    autorespondmessage: string
    emailaccount: string
    emailaccountId: string
    quotaingib: 0
    rejectspam: string
Copy

Emailaccount 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 Emailaccount resource accepts the following input properties:

Emailaccount This property is required. string
Email account name
Antispamlevel double
Email Account antispam level. 0-5
Antivirus string
Email Account enable Antivirus. yes/no
Autorespond string
Email Account Autoresponse. yes/no
Autorespondmessage string
Email Account Autoresponse message.
EmailaccountId string
The ID of this resource.
Quotaingib double
Email Account Quota (GiB)
Rejectspam string
Email Account Reject spam setting. yes/no
Emailaccount This property is required. string
Email account name
Antispamlevel float64
Email Account antispam level. 0-5
Antivirus string
Email Account enable Antivirus. yes/no
Autorespond string
Email Account Autoresponse. yes/no
Autorespondmessage string
Email Account Autoresponse message.
EmailaccountId string
The ID of this resource.
Quotaingib float64
Email Account Quota (GiB)
Rejectspam string
Email Account Reject spam setting. yes/no
emailaccount This property is required. String
Email account name
antispamlevel Double
Email Account antispam level. 0-5
antivirus String
Email Account enable Antivirus. yes/no
autorespond String
Email Account Autoresponse. yes/no
autorespondmessage String
Email Account Autoresponse message.
emailaccountId String
The ID of this resource.
quotaingib Double
Email Account Quota (GiB)
rejectspam String
Email Account Reject spam setting. yes/no
emailaccount This property is required. string
Email account name
antispamlevel number
Email Account antispam level. 0-5
antivirus string
Email Account enable Antivirus. yes/no
autorespond string
Email Account Autoresponse. yes/no
autorespondmessage string
Email Account Autoresponse message.
emailaccountId string
The ID of this resource.
quotaingib number
Email Account Quota (GiB)
rejectspam string
Email Account Reject spam setting. yes/no
emailaccount This property is required. str
Email account name
antispamlevel float
Email Account antispam level. 0-5
antivirus str
Email Account enable Antivirus. yes/no
autorespond str
Email Account Autoresponse. yes/no
autorespondmessage str
Email Account Autoresponse message.
emailaccount_id str
The ID of this resource.
quotaingib float
Email Account Quota (GiB)
rejectspam str
Email Account Reject spam setting. yes/no
emailaccount This property is required. String
Email account name
antispamlevel Number
Email Account antispam level. 0-5
antivirus String
Email Account enable Antivirus. yes/no
autorespond String
Email Account Autoresponse. yes/no
autorespondmessage String
Email Account Autoresponse message.
emailaccountId String
The ID of this resource.
quotaingib Number
Email Account Quota (GiB)
rejectspam String
Email Account Reject spam setting. yes/no

Outputs

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

Autorespondsaveemail string
Email Account Save emails on autorespond.
Created string
Email Account created date
Displayname string
Email Account displayname
Id string
The provider-assigned unique ID for this managed resource.
Modified string
Email Account modification date
Password string
Email Account password
Autorespondsaveemail string
Email Account Save emails on autorespond.
Created string
Email Account created date
Displayname string
Email Account displayname
Id string
The provider-assigned unique ID for this managed resource.
Modified string
Email Account modification date
Password string
Email Account password
autorespondsaveemail String
Email Account Save emails on autorespond.
created String
Email Account created date
displayname String
Email Account displayname
id String
The provider-assigned unique ID for this managed resource.
modified String
Email Account modification date
password String
Email Account password
autorespondsaveemail string
Email Account Save emails on autorespond.
created string
Email Account created date
displayname string
Email Account displayname
id string
The provider-assigned unique ID for this managed resource.
modified string
Email Account modification date
password string
Email Account password
autorespondsaveemail str
Email Account Save emails on autorespond.
created str
Email Account created date
displayname str
Email Account displayname
id str
The provider-assigned unique ID for this managed resource.
modified str
Email Account modification date
password str
Email Account password
autorespondsaveemail String
Email Account Save emails on autorespond.
created String
Email Account created date
displayname String
Email Account displayname
id String
The provider-assigned unique ID for this managed resource.
modified String
Email Account modification date
password String
Email Account password

Look up Existing Emailaccount Resource

Get an existing Emailaccount 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?: EmailaccountState, opts?: CustomResourceOptions): Emailaccount
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        antispamlevel: Optional[float] = None,
        antivirus: Optional[str] = None,
        autorespond: Optional[str] = None,
        autorespondmessage: Optional[str] = None,
        autorespondsaveemail: Optional[str] = None,
        created: Optional[str] = None,
        displayname: Optional[str] = None,
        emailaccount: Optional[str] = None,
        emailaccount_id: Optional[str] = None,
        modified: Optional[str] = None,
        password: Optional[str] = None,
        quotaingib: Optional[float] = None,
        rejectspam: Optional[str] = None) -> Emailaccount
func GetEmailaccount(ctx *Context, name string, id IDInput, state *EmailaccountState, opts ...ResourceOption) (*Emailaccount, error)
public static Emailaccount Get(string name, Input<string> id, EmailaccountState? state, CustomResourceOptions? opts = null)
public static Emailaccount get(String name, Output<String> id, EmailaccountState state, CustomResourceOptions options)
resources:  _:    type: glesys:Emailaccount    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Antispamlevel double
Email Account antispam level. 0-5
Antivirus string
Email Account enable Antivirus. yes/no
Autorespond string
Email Account Autoresponse. yes/no
Autorespondmessage string
Email Account Autoresponse message.
Autorespondsaveemail string
Email Account Save emails on autorespond.
Created string
Email Account created date
Displayname string
Email Account displayname
Emailaccount string
Email account name
EmailaccountId string
The ID of this resource.
Modified string
Email Account modification date
Password string
Email Account password
Quotaingib double
Email Account Quota (GiB)
Rejectspam string
Email Account Reject spam setting. yes/no
Antispamlevel float64
Email Account antispam level. 0-5
Antivirus string
Email Account enable Antivirus. yes/no
Autorespond string
Email Account Autoresponse. yes/no
Autorespondmessage string
Email Account Autoresponse message.
Autorespondsaveemail string
Email Account Save emails on autorespond.
Created string
Email Account created date
Displayname string
Email Account displayname
Emailaccount string
Email account name
EmailaccountId string
The ID of this resource.
Modified string
Email Account modification date
Password string
Email Account password
Quotaingib float64
Email Account Quota (GiB)
Rejectspam string
Email Account Reject spam setting. yes/no
antispamlevel Double
Email Account antispam level. 0-5
antivirus String
Email Account enable Antivirus. yes/no
autorespond String
Email Account Autoresponse. yes/no
autorespondmessage String
Email Account Autoresponse message.
autorespondsaveemail String
Email Account Save emails on autorespond.
created String
Email Account created date
displayname String
Email Account displayname
emailaccount String
Email account name
emailaccountId String
The ID of this resource.
modified String
Email Account modification date
password String
Email Account password
quotaingib Double
Email Account Quota (GiB)
rejectspam String
Email Account Reject spam setting. yes/no
antispamlevel number
Email Account antispam level. 0-5
antivirus string
Email Account enable Antivirus. yes/no
autorespond string
Email Account Autoresponse. yes/no
autorespondmessage string
Email Account Autoresponse message.
autorespondsaveemail string
Email Account Save emails on autorespond.
created string
Email Account created date
displayname string
Email Account displayname
emailaccount string
Email account name
emailaccountId string
The ID of this resource.
modified string
Email Account modification date
password string
Email Account password
quotaingib number
Email Account Quota (GiB)
rejectspam string
Email Account Reject spam setting. yes/no
antispamlevel float
Email Account antispam level. 0-5
antivirus str
Email Account enable Antivirus. yes/no
autorespond str
Email Account Autoresponse. yes/no
autorespondmessage str
Email Account Autoresponse message.
autorespondsaveemail str
Email Account Save emails on autorespond.
created str
Email Account created date
displayname str
Email Account displayname
emailaccount str
Email account name
emailaccount_id str
The ID of this resource.
modified str
Email Account modification date
password str
Email Account password
quotaingib float
Email Account Quota (GiB)
rejectspam str
Email Account Reject spam setting. yes/no
antispamlevel Number
Email Account antispam level. 0-5
antivirus String
Email Account enable Antivirus. yes/no
autorespond String
Email Account Autoresponse. yes/no
autorespondmessage String
Email Account Autoresponse message.
autorespondsaveemail String
Email Account Save emails on autorespond.
created String
Email Account created date
displayname String
Email Account displayname
emailaccount String
Email account name
emailaccountId String
The ID of this resource.
modified String
Email Account modification date
password String
Email Account password
quotaingib Number
Email Account Quota (GiB)
rejectspam String
Email Account Reject spam setting. yes/no

Import

Email account import.

$ pulumi import glesys:index/emailaccount:Emailaccount alice alice@example.com
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
glesys glesys/terraform-provider-glesys
License
Notes
This Pulumi package is based on the glesys Terraform Provider.