From 7c6f7e098faf43a947381ca36934ad9e76b0df54 Mon Sep 17 00:00:00 2001
From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com>
Date: Wed, 1 May 2024 02:44:35 -0700
Subject: [PATCH] Upgrade terraform-provider-mailgun to v0.7.6 (#366)
This PR was generated via `$ upgrade-provider pulumi/pulumi-mailgun
--kind=all --target-bridge-version=latest`.
---
- Upgrading terraform-provider-mailgun from 0.7.5 to 0.7.6.
Fixes #365
---
.../cmd/pulumi-resource-mailgun/schema.json | 44 ++++++++-
provider/go.mod | 3 +-
provider/go.sum | 6 +-
sdk/dotnet/Domain.cs | 36 +++++++
sdk/dotnet/GetDomain.cs | 47 ++++++++++
sdk/go/mailgun/domain.go | 30 ++++++
sdk/go/mailgun/getDomain.go | 36 ++++++-
.../main/java/com/pulumi/mailgun/Domain.java | 28 ++++++
.../java/com/pulumi/mailgun/DomainArgs.java | 74 +++++++++++++++
.../pulumi/mailgun/inputs/DomainState.java | 74 +++++++++++++++
.../pulumi/mailgun/inputs/GetDomainArgs.java | 94 +++++++++++++++++++
.../mailgun/inputs/GetDomainPlainArgs.java | 68 ++++++++++++++
.../mailgun/outputs/GetDomainResult.java | 50 ++++++++++
sdk/nodejs/domain.ts | 28 ++++++
sdk/nodejs/getDomain.ts | 35 +++++++
sdk/python/pulumi_mailgun/domain.py | 94 +++++++++++++++++++
sdk/python/pulumi_mailgun/get_domain.py | 47 +++++++++-
upstream | 2 +-
18 files changed, 783 insertions(+), 13 deletions(-)
diff --git a/provider/cmd/pulumi-resource-mailgun/schema.json b/provider/cmd/pulumi-resource-mailgun/schema.json
index 937c376a..94e7be6b 100644
--- a/provider/cmd/pulumi-resource-mailgun/schema.json
+++ b/provider/cmd/pulumi-resource-mailgun/schema.json
@@ -370,6 +370,10 @@
"mailgun:index/domain:Domain": {
"description": "Provides a Mailgun App resource. This can be used to\ncreate and manage applications on Mailgun.\n\nAfter DNS records are set, domain verification should be triggered manually using [PUT /domains/\\\u003cdomain\\\u003e/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mailgun from \"@pulumi/mailgun\";\n\n// Create a new Mailgun domain\nconst _default = new mailgun.Domain(\"default\", {\n name: \"test.example.com\",\n region: \"us\",\n spamAction: \"disabled\",\n smtpPassword: \"supersecretpassword1234\",\n dkimKeySize: 1024,\n});\n```\n```python\nimport pulumi\nimport pulumi_mailgun as mailgun\n\n# Create a new Mailgun domain\ndefault = mailgun.Domain(\"default\",\n name=\"test.example.com\",\n region=\"us\",\n spam_action=\"disabled\",\n smtp_password=\"supersecretpassword1234\",\n dkim_key_size=1024)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Mailgun = Pulumi.Mailgun;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Mailgun domain\n var @default = new Mailgun.Domain(\"default\", new()\n {\n Name = \"test.example.com\",\n Region = \"us\",\n SpamAction = \"disabled\",\n SmtpPassword = \"supersecretpassword1234\",\n DkimKeySize = 1024,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-mailgun/sdk/v3/go/mailgun\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Mailgun domain\n\t\t_, err := mailgun.NewDomain(ctx, \"default\", \u0026mailgun.DomainArgs{\n\t\t\tName: pulumi.String(\"test.example.com\"),\n\t\t\tRegion: pulumi.String(\"us\"),\n\t\t\tSpamAction: pulumi.String(\"disabled\"),\n\t\t\tSmtpPassword: pulumi.String(\"supersecretpassword1234\"),\n\t\t\tDkimKeySize: pulumi.Int(1024),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mailgun.Domain;\nimport com.pulumi.mailgun.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Create a new Mailgun domain\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .name(\"test.example.com\")\n .region(\"us\")\n .spamAction(\"disabled\")\n .smtpPassword(\"supersecretpassword1234\")\n .dkimKeySize(1024)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Mailgun domain\n default:\n type: mailgun:Domain\n properties:\n name: test.example.com\n region: us\n spamAction: disabled\n smtpPassword: supersecretpassword1234\n dkimKeySize: 1024\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDomains can be imported using `region:domain_name` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied). \n\nhcl\n\n```sh\n$ pulumi import mailgun:index/domain:Domain test us:example.domain.com\n```\n\n",
"properties": {
+ "clickTracking": {
+ "type": "boolean",
+ "description": "(Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`\n"
+ },
"dkimKeySize": {
"type": "integer",
"description": "The length of your domain’s generated DKIM key. Default value is `1024`.\n"
@@ -437,6 +441,10 @@
"type": "string",
"description": "`disabled` or `tag` Disable, no spam\nfiltering will occur for inbound messages. Tag, messages\nwill be tagged with a spam header. Default value is `disabled`.\n"
},
+ "webScheme": {
+ "type": "string",
+ "description": "(`http` or `https`) The tracking web scheme. Default: `http`\n"
+ },
"wildcard": {
"type": "boolean",
"description": "Boolean that determines whether\nthe domain will accept email for sub-domains.\n"
@@ -451,6 +459,10 @@
"smtpLogin"
],
"inputProperties": {
+ "clickTracking": {
+ "type": "boolean",
+ "description": "(Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`\n"
+ },
"dkimKeySize": {
"type": "integer",
"description": "The length of your domain’s generated DKIM key. Default value is `1024`.\n",
@@ -490,6 +502,10 @@
"description": "`disabled` or `tag` Disable, no spam\nfiltering will occur for inbound messages. Tag, messages\nwill be tagged with a spam header. Default value is `disabled`.\n",
"willReplaceOnChanges": true
},
+ "webScheme": {
+ "type": "string",
+ "description": "(`http` or `https`) The tracking web scheme. Default: `http`\n"
+ },
"wildcard": {
"type": "boolean",
"description": "Boolean that determines whether\nthe domain will accept email for sub-domains.\n",
@@ -499,6 +515,10 @@
"stateInputs": {
"description": "Input properties used for looking up and filtering Domain resources.\n",
"properties": {
+ "clickTracking": {
+ "type": "boolean",
+ "description": "(Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`\n"
+ },
"dkimKeySize": {
"type": "integer",
"description": "The length of your domain’s generated DKIM key. Default value is `1024`.\n",
@@ -572,6 +592,10 @@
"description": "`disabled` or `tag` Disable, no spam\nfiltering will occur for inbound messages. Tag, messages\nwill be tagged with a spam header. Default value is `disabled`.\n",
"willReplaceOnChanges": true
},
+ "webScheme": {
+ "type": "string",
+ "description": "(`http` or `https`) The tracking web scheme. Default: `http`\n"
+ },
"wildcard": {
"type": "boolean",
"description": "Boolean that determines whether\nthe domain will accept email for sub-domains.\n",
@@ -842,6 +866,10 @@
"inputs": {
"description": "A collection of arguments for invoking getDomain.\n",
"properties": {
+ "clickTracking": {
+ "type": "boolean",
+ "description": "The click tracking setting.\n"
+ },
"dkimKeySize": {
"type": "integer",
"willReplaceOnChanges": true
@@ -860,7 +888,8 @@
"willReplaceOnChanges": true
},
"openTracking": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "The open tracking setting.\n"
},
"region": {
"type": "string",
@@ -877,6 +906,10 @@
"description": "The spam filtering setting.\n",
"willReplaceOnChanges": true
},
+ "webScheme": {
+ "type": "string",
+ "description": "The tracking web scheme.\n"
+ },
"wildcard": {
"type": "boolean",
"description": "Whether or not the domain will accept email for sub-domains.\n",
@@ -891,6 +924,10 @@
"outputs": {
"description": "A collection of values returned by getDomain.\n",
"properties": {
+ "clickTracking": {
+ "description": "The click tracking setting.\n",
+ "type": "boolean"
+ },
"dkimKeySize": {
"type": "integer"
},
@@ -909,6 +946,7 @@
"type": "string"
},
"openTracking": {
+ "description": "The open tracking setting.\n",
"type": "boolean"
},
"receivingRecords": {
@@ -955,6 +993,10 @@
"description": "The spam filtering setting.\n",
"type": "string"
},
+ "webScheme": {
+ "description": "The tracking web scheme.\n",
+ "type": "string"
+ },
"wildcard": {
"description": "Whether or not the domain will accept email for sub-domains.\n",
"type": "boolean"
diff --git a/provider/go.mod b/provider/go.mod
index b684cfa5..78a3f72c 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -74,6 +74,7 @@ require (
github.com/fatih/color v1.16.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect
+ github.com/go-chi/chi/v5 v5.0.8 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-git/go-git/v5 v5.11.0 // indirect
@@ -141,7 +142,7 @@ require (
github.com/klauspost/compress v1.15.11 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
- github.com/mailgun/mailgun-go/v4 v4.8.1 // indirect
+ github.com/mailgun/mailgun-go/v4 v4.12.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
diff --git a/provider/go.sum b/provider/go.sum
index 45ec72b7..1f0f59d2 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -1790,6 +1790,8 @@ github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
+github.com/go-chi/chi/v5 v5.0.8 h1:lD+NLqFcAi1ovnVZpsnObHGW4xb4J8lNmoYVfECH1Y0=
+github.com/go-chi/chi/v5 v5.0.8/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g=
github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks=
github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY=
@@ -2449,8 +2451,8 @@ github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLO
github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
-github.com/mailgun/mailgun-go/v4 v4.8.1 h1:1+MdKakJuXnW2JJDbyPdO1ngAANOyHyVPxQvFF8Sq6c=
-github.com/mailgun/mailgun-go/v4 v4.8.1/go.mod h1:FJlF9rI5cQT+mrwujtJjPMbIVy3Ebor9bKTVsJ0QU40=
+github.com/mailgun/mailgun-go/v4 v4.12.0 h1:TtuQCgqSp4cB6swPxP5VF/u4JeeBIAjTdpuQ+4Usd/w=
+github.com/mailgun/mailgun-go/v4 v4.12.0/go.mod h1:L9s941Lgk7iB3TgywTPz074pK2Ekkg4kgbnAaAyJ2z8=
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
diff --git a/sdk/dotnet/Domain.cs b/sdk/dotnet/Domain.cs
index 751d5251..93addf7e 100644
--- a/sdk/dotnet/Domain.cs
+++ b/sdk/dotnet/Domain.cs
@@ -51,6 +51,12 @@ namespace Pulumi.Mailgun
[MailgunResourceType("mailgun:index/domain:Domain")]
public partial class Domain : global::Pulumi.CustomResource
{
+ ///
+ /// (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ///
+ [Output("clickTracking")]
+ public Output ClickTracking { get; private set; } = null!;
+
///
/// The length of your domain’s generated DKIM key. Default value is `1024`.
///
@@ -131,6 +137,12 @@ public partial class Domain : global::Pulumi.CustomResource
[Output("spamAction")]
public Output SpamAction { get; private set; } = null!;
+ ///
+ /// (`http` or `https`) The tracking web scheme. Default: `http`
+ ///
+ [Output("webScheme")]
+ public Output WebScheme { get; private set; } = null!;
+
///
/// Boolean that determines whether
/// the domain will accept email for sub-domains.
@@ -188,6 +200,12 @@ public static Domain Get(string name, Input id, DomainState? state = nul
public sealed class DomainArgs : global::Pulumi.ResourceArgs
{
+ ///
+ /// (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ///
+ [Input("clickTracking")]
+ public Input? ClickTracking { get; set; }
+
///
/// The length of your domain’s generated DKIM key. Default value is `1024`.
///
@@ -248,6 +266,12 @@ public Input? SmtpPassword
[Input("spamAction")]
public Input? SpamAction { get; set; }
+ ///
+ /// (`http` or `https`) The tracking web scheme. Default: `http`
+ ///
+ [Input("webScheme")]
+ public Input? WebScheme { get; set; }
+
///
/// Boolean that determines whether
/// the domain will accept email for sub-domains.
@@ -263,6 +287,12 @@ public DomainArgs()
public sealed class DomainState : global::Pulumi.ResourceArgs
{
+ ///
+ /// (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ///
+ [Input("clickTracking")]
+ public Input? ClickTracking { get; set; }
+
///
/// The length of your domain’s generated DKIM key. Default value is `1024`.
///
@@ -379,6 +409,12 @@ public Input? SmtpPassword
[Input("spamAction")]
public Input? SpamAction { get; set; }
+ ///
+ /// (`http` or `https`) The tracking web scheme. Default: `http`
+ ///
+ [Input("webScheme")]
+ public Input? WebScheme { get; set; }
+
///
/// Boolean that determines whether
/// the domain will accept email for sub-domains.
diff --git a/sdk/dotnet/GetDomain.cs b/sdk/dotnet/GetDomain.cs
index 4fe064d0..ad10b87c 100644
--- a/sdk/dotnet/GetDomain.cs
+++ b/sdk/dotnet/GetDomain.cs
@@ -91,6 +91,12 @@ public static Output Invoke(GetDomainInvokeArgs args, InvokeOpt
public sealed class GetDomainArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// The click tracking setting.
+ ///
+ [Input("clickTracking")]
+ public bool? ClickTracking { get; set; }
+
[Input("dkimKeySize")]
public int? DkimKeySize { get; set; }
@@ -106,6 +112,9 @@ public sealed class GetDomainArgs : global::Pulumi.InvokeArgs
[Input("name", required: true)]
public string Name { get; set; } = null!;
+ ///
+ /// The open tracking setting.
+ ///
[Input("openTracking")]
public bool? OpenTracking { get; set; }
@@ -133,6 +142,12 @@ public string? SmtpPassword
[Input("spamAction")]
public string? SpamAction { get; set; }
+ ///
+ /// The tracking web scheme.
+ ///
+ [Input("webScheme")]
+ public string? WebScheme { get; set; }
+
///
/// Whether or not the domain will accept email for sub-domains.
///
@@ -147,6 +162,12 @@ public GetDomainArgs()
public sealed class GetDomainInvokeArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// The click tracking setting.
+ ///
+ [Input("clickTracking")]
+ public Input? ClickTracking { get; set; }
+
[Input("dkimKeySize")]
public Input? DkimKeySize { get; set; }
@@ -162,6 +183,9 @@ public sealed class GetDomainInvokeArgs : global::Pulumi.InvokeArgs
[Input("name", required: true)]
public Input Name { get; set; } = null!;
+ ///
+ /// The open tracking setting.
+ ///
[Input("openTracking")]
public Input? OpenTracking { get; set; }
@@ -193,6 +217,12 @@ public Input? SmtpPassword
[Input("spamAction")]
public Input? SpamAction { get; set; }
+ ///
+ /// The tracking web scheme.
+ ///
+ [Input("webScheme")]
+ public Input? WebScheme { get; set; }
+
///
/// Whether or not the domain will accept email for sub-domains.
///
@@ -209,6 +239,10 @@ public GetDomainInvokeArgs()
[OutputType]
public sealed class GetDomainResult
{
+ ///
+ /// The click tracking setting.
+ ///
+ public readonly bool? ClickTracking;
public readonly int? DkimKeySize;
public readonly string? DkimSelector;
public readonly bool? ForceDkimAuthority;
@@ -220,6 +254,9 @@ public sealed class GetDomainResult
/// The name of the record.
///
public readonly string Name;
+ ///
+ /// The open tracking setting.
+ ///
public readonly bool? OpenTracking;
///
/// A list of DNS records for receiving validation.
@@ -245,12 +282,18 @@ public sealed class GetDomainResult
///
public readonly string? SpamAction;
///
+ /// The tracking web scheme.
+ ///
+ public readonly string? WebScheme;
+ ///
/// Whether or not the domain will accept email for sub-domains.
///
public readonly bool? Wildcard;
[OutputConstructor]
private GetDomainResult(
+ bool? clickTracking,
+
int? dkimKeySize,
string? dkimSelector,
@@ -279,8 +322,11 @@ private GetDomainResult(
string? spamAction,
+ string? webScheme,
+
bool? wildcard)
{
+ ClickTracking = clickTracking;
DkimKeySize = dkimKeySize;
DkimSelector = dkimSelector;
ForceDkimAuthority = forceDkimAuthority;
@@ -295,6 +341,7 @@ private GetDomainResult(
SmtpLogin = smtpLogin;
SmtpPassword = smtpPassword;
SpamAction = spamAction;
+ WebScheme = webScheme;
Wildcard = wildcard;
}
}
diff --git a/sdk/go/mailgun/domain.go b/sdk/go/mailgun/domain.go
index 469f9258..3fada54e 100644
--- a/sdk/go/mailgun/domain.go
+++ b/sdk/go/mailgun/domain.go
@@ -59,6 +59,8 @@ import (
type Domain struct {
pulumi.CustomResourceState
+ // (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ClickTracking pulumi.BoolPtrOutput `pulumi:"clickTracking"`
// The length of your domain’s generated DKIM key. Default value is `1024`.
DkimKeySize pulumi.IntPtrOutput `pulumi:"dkimKeySize"`
// The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
@@ -91,6 +93,8 @@ type Domain struct {
// filtering will occur for inbound messages. Tag, messages
// will be tagged with a spam header. Default value is `disabled`.
SpamAction pulumi.StringPtrOutput `pulumi:"spamAction"`
+ // (`http` or `https`) The tracking web scheme. Default: `http`
+ WebScheme pulumi.StringPtrOutput `pulumi:"webScheme"`
// Boolean that determines whether
// the domain will accept email for sub-domains.
Wildcard pulumi.BoolPtrOutput `pulumi:"wildcard"`
@@ -133,6 +137,8 @@ func GetDomain(ctx *pulumi.Context,
// Input properties used for looking up and filtering Domain resources.
type domainState struct {
+ // (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ClickTracking *bool `pulumi:"clickTracking"`
// The length of your domain’s generated DKIM key. Default value is `1024`.
DkimKeySize *int `pulumi:"dkimKeySize"`
// The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
@@ -165,12 +171,16 @@ type domainState struct {
// filtering will occur for inbound messages. Tag, messages
// will be tagged with a spam header. Default value is `disabled`.
SpamAction *string `pulumi:"spamAction"`
+ // (`http` or `https`) The tracking web scheme. Default: `http`
+ WebScheme *string `pulumi:"webScheme"`
// Boolean that determines whether
// the domain will accept email for sub-domains.
Wildcard *bool `pulumi:"wildcard"`
}
type DomainState struct {
+ // (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ClickTracking pulumi.BoolPtrInput
// The length of your domain’s generated DKIM key. Default value is `1024`.
DkimKeySize pulumi.IntPtrInput
// The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
@@ -203,6 +213,8 @@ type DomainState struct {
// filtering will occur for inbound messages. Tag, messages
// will be tagged with a spam header. Default value is `disabled`.
SpamAction pulumi.StringPtrInput
+ // (`http` or `https`) The tracking web scheme. Default: `http`
+ WebScheme pulumi.StringPtrInput
// Boolean that determines whether
// the domain will accept email for sub-domains.
Wildcard pulumi.BoolPtrInput
@@ -213,6 +225,8 @@ func (DomainState) ElementType() reflect.Type {
}
type domainArgs struct {
+ // (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ClickTracking *bool `pulumi:"clickTracking"`
// The length of your domain’s generated DKIM key. Default value is `1024`.
DkimKeySize *int `pulumi:"dkimKeySize"`
// The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
@@ -231,6 +245,8 @@ type domainArgs struct {
// filtering will occur for inbound messages. Tag, messages
// will be tagged with a spam header. Default value is `disabled`.
SpamAction *string `pulumi:"spamAction"`
+ // (`http` or `https`) The tracking web scheme. Default: `http`
+ WebScheme *string `pulumi:"webScheme"`
// Boolean that determines whether
// the domain will accept email for sub-domains.
Wildcard *bool `pulumi:"wildcard"`
@@ -238,6 +254,8 @@ type domainArgs struct {
// The set of arguments for constructing a Domain resource.
type DomainArgs struct {
+ // (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ ClickTracking pulumi.BoolPtrInput
// The length of your domain’s generated DKIM key. Default value is `1024`.
DkimKeySize pulumi.IntPtrInput
// The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
@@ -256,6 +274,8 @@ type DomainArgs struct {
// filtering will occur for inbound messages. Tag, messages
// will be tagged with a spam header. Default value is `disabled`.
SpamAction pulumi.StringPtrInput
+ // (`http` or `https`) The tracking web scheme. Default: `http`
+ WebScheme pulumi.StringPtrInput
// Boolean that determines whether
// the domain will accept email for sub-domains.
Wildcard pulumi.BoolPtrInput
@@ -348,6 +368,11 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu
return o
}
+// (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+func (o DomainOutput) ClickTracking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *Domain) pulumi.BoolPtrOutput { return v.ClickTracking }).(pulumi.BoolPtrOutput)
+}
+
// The length of your domain’s generated DKIM key. Default value is `1024`.
func (o DomainOutput) DkimKeySize() pulumi.IntPtrOutput {
return o.ApplyT(func(v *Domain) pulumi.IntPtrOutput { return v.DkimKeySize }).(pulumi.IntPtrOutput)
@@ -419,6 +444,11 @@ func (o DomainOutput) SpamAction() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Domain) pulumi.StringPtrOutput { return v.SpamAction }).(pulumi.StringPtrOutput)
}
+// (`http` or `https`) The tracking web scheme. Default: `http`
+func (o DomainOutput) WebScheme() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Domain) pulumi.StringPtrOutput { return v.WebScheme }).(pulumi.StringPtrOutput)
+}
+
// Boolean that determines whether
// the domain will accept email for sub-domains.
func (o DomainOutput) Wildcard() pulumi.BoolPtrOutput {
diff --git a/sdk/go/mailgun/getDomain.go b/sdk/go/mailgun/getDomain.go
index 3ca936d1..f9c7f947 100644
--- a/sdk/go/mailgun/getDomain.go
+++ b/sdk/go/mailgun/getDomain.go
@@ -66,32 +66,40 @@ func LookupDomain(ctx *pulumi.Context, args *LookupDomainArgs, opts ...pulumi.In
// A collection of arguments for invoking getDomain.
type LookupDomainArgs struct {
+ // The click tracking setting.
+ ClickTracking *bool `pulumi:"clickTracking"`
DkimKeySize *int `pulumi:"dkimKeySize"`
DkimSelector *string `pulumi:"dkimSelector"`
ForceDkimAuthority *bool `pulumi:"forceDkimAuthority"`
// The name of the domain.
- Name string `pulumi:"name"`
- OpenTracking *bool `pulumi:"openTracking"`
+ Name string `pulumi:"name"`
+ // The open tracking setting.
+ OpenTracking *bool `pulumi:"openTracking"`
// The region where domain will be created. Default value is `us`.
Region *string `pulumi:"region"`
// The password to the SMTP server.
SmtpPassword *string `pulumi:"smtpPassword"`
// The spam filtering setting.
SpamAction *string `pulumi:"spamAction"`
+ // The tracking web scheme.
+ WebScheme *string `pulumi:"webScheme"`
// Whether or not the domain will accept email for sub-domains.
Wildcard *bool `pulumi:"wildcard"`
}
// A collection of values returned by getDomain.
type LookupDomainResult struct {
+ // The click tracking setting.
+ ClickTracking *bool `pulumi:"clickTracking"`
DkimKeySize *int `pulumi:"dkimKeySize"`
DkimSelector *string `pulumi:"dkimSelector"`
ForceDkimAuthority *bool `pulumi:"forceDkimAuthority"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The name of the record.
- Name string `pulumi:"name"`
- OpenTracking *bool `pulumi:"openTracking"`
+ Name string `pulumi:"name"`
+ // The open tracking setting.
+ OpenTracking *bool `pulumi:"openTracking"`
// A list of DNS records for receiving validation.
//
// Deprecated: Use `receivingRecordsSet` instead.
@@ -109,6 +117,8 @@ type LookupDomainResult struct {
SmtpPassword *string `pulumi:"smtpPassword"`
// The spam filtering setting.
SpamAction *string `pulumi:"spamAction"`
+ // The tracking web scheme.
+ WebScheme *string `pulumi:"webScheme"`
// Whether or not the domain will accept email for sub-domains.
Wildcard *bool `pulumi:"wildcard"`
}
@@ -128,11 +138,14 @@ func LookupDomainOutput(ctx *pulumi.Context, args LookupDomainOutputArgs, opts .
// A collection of arguments for invoking getDomain.
type LookupDomainOutputArgs struct {
+ // The click tracking setting.
+ ClickTracking pulumi.BoolPtrInput `pulumi:"clickTracking"`
DkimKeySize pulumi.IntPtrInput `pulumi:"dkimKeySize"`
DkimSelector pulumi.StringPtrInput `pulumi:"dkimSelector"`
ForceDkimAuthority pulumi.BoolPtrInput `pulumi:"forceDkimAuthority"`
// The name of the domain.
- Name pulumi.StringInput `pulumi:"name"`
+ Name pulumi.StringInput `pulumi:"name"`
+ // The open tracking setting.
OpenTracking pulumi.BoolPtrInput `pulumi:"openTracking"`
// The region where domain will be created. Default value is `us`.
Region pulumi.StringPtrInput `pulumi:"region"`
@@ -140,6 +153,8 @@ type LookupDomainOutputArgs struct {
SmtpPassword pulumi.StringPtrInput `pulumi:"smtpPassword"`
// The spam filtering setting.
SpamAction pulumi.StringPtrInput `pulumi:"spamAction"`
+ // The tracking web scheme.
+ WebScheme pulumi.StringPtrInput `pulumi:"webScheme"`
// Whether or not the domain will accept email for sub-domains.
Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"`
}
@@ -163,6 +178,11 @@ func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx cont
return o
}
+// The click tracking setting.
+func (o LookupDomainResultOutput) ClickTracking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LookupDomainResult) *bool { return v.ClickTracking }).(pulumi.BoolPtrOutput)
+}
+
func (o LookupDomainResultOutput) DkimKeySize() pulumi.IntPtrOutput {
return o.ApplyT(func(v LookupDomainResult) *int { return v.DkimKeySize }).(pulumi.IntPtrOutput)
}
@@ -185,6 +205,7 @@ func (o LookupDomainResultOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v LookupDomainResult) string { return v.Name }).(pulumi.StringOutput)
}
+// The open tracking setting.
func (o LookupDomainResultOutput) OpenTracking() pulumi.BoolPtrOutput {
return o.ApplyT(func(v LookupDomainResult) *bool { return v.OpenTracking }).(pulumi.BoolPtrOutput)
}
@@ -230,6 +251,11 @@ func (o LookupDomainResultOutput) SpamAction() pulumi.StringPtrOutput {
return o.ApplyT(func(v LookupDomainResult) *string { return v.SpamAction }).(pulumi.StringPtrOutput)
}
+// The tracking web scheme.
+func (o LookupDomainResultOutput) WebScheme() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupDomainResult) *string { return v.WebScheme }).(pulumi.StringPtrOutput)
+}
+
// Whether or not the domain will accept email for sub-domains.
func (o LookupDomainResultOutput) Wildcard() pulumi.BoolPtrOutput {
return o.ApplyT(func(v LookupDomainResult) *bool { return v.Wildcard }).(pulumi.BoolPtrOutput)
diff --git a/sdk/java/src/main/java/com/pulumi/mailgun/Domain.java b/sdk/java/src/main/java/com/pulumi/mailgun/Domain.java
index 64a4dd3b..93a4869d 100644
--- a/sdk/java/src/main/java/com/pulumi/mailgun/Domain.java
+++ b/sdk/java/src/main/java/com/pulumi/mailgun/Domain.java
@@ -78,6 +78,20 @@
*/
@ResourceType(type="mailgun:index/domain:Domain")
public class Domain extends com.pulumi.resources.CustomResource {
+ /**
+ * (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ *
+ */
+ @Export(name="clickTracking", refs={Boolean.class}, tree="[0]")
+ private Output* @Nullable */ Boolean> clickTracking;
+
+ /**
+ * @return (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ *
+ */
+ public Output> clickTracking() {
+ return Codegen.optional(this.clickTracking);
+ }
/**
* The length of your domain’s generated DKIM key. Default value is `1024`.
*
@@ -272,6 +286,20 @@ public Output> smtpPassword() {
public Output> spamAction() {
return Codegen.optional(this.spamAction);
}
+ /**
+ * (`http` or `https`) The tracking web scheme. Default: `http`
+ *
+ */
+ @Export(name="webScheme", refs={String.class}, tree="[0]")
+ private Output* @Nullable */ String> webScheme;
+
+ /**
+ * @return (`http` or `https`) The tracking web scheme. Default: `http`
+ *
+ */
+ public Output> webScheme() {
+ return Codegen.optional(this.webScheme);
+ }
/**
* Boolean that determines whether
* the domain will accept email for sub-domains.
diff --git a/sdk/java/src/main/java/com/pulumi/mailgun/DomainArgs.java b/sdk/java/src/main/java/com/pulumi/mailgun/DomainArgs.java
index 6128866f..8d575c28 100644
--- a/sdk/java/src/main/java/com/pulumi/mailgun/DomainArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/mailgun/DomainArgs.java
@@ -17,6 +17,21 @@ public final class DomainArgs extends com.pulumi.resources.ResourceArgs {
public static final DomainArgs Empty = new DomainArgs();
+ /**
+ * (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ *
+ */
+ @Import(name="clickTracking")
+ private @Nullable Output clickTracking;
+
+ /**
+ * @return (Enum: `yes` or `no`) The click tracking settings for the domain. Default: `no`
+ *
+ */
+ public Optional