diff --git a/CHANGELOG.md b/CHANGELOG.md index cecb4fea..173043bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ CHANGELOG ========= ## HEAD (Unreleased) -* Upgrade to v0.20.2 of the Fastly Terraform Provider +* Upgrade to v0.20.3 of the Fastly Terraform Provider * Upgrade to pulumi-terraform-bridge v2.8.0 * Upgrade to Pulumi v2.10.0 diff --git a/provider/cmd/pulumi-resource-fastly/schema.json b/provider/cmd/pulumi-resource-fastly/schema.json index c7c9c944..2463c464 100644 --- a/provider/cmd/pulumi-resource-fastly/schema.json +++ b/provider/cmd/pulumi-resource-fastly/schema.json @@ -390,8 +390,10 @@ "type": "object", "required": [ "dataset", + "email", "name", "projectId", + "secretKey", "table" ] }, @@ -2787,8 +2789,10 @@ "type": "object", "required": [ "dataset", + "email", "name", "projectId", + "secretKey", "table" ] }, diff --git a/provider/go.mod b/provider/go.mod index 604deadb..c29c9855 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -11,5 +11,5 @@ require ( replace ( github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible - github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677 + github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e ) diff --git a/provider/go.sum b/provider/go.sum index d31ff442..6a967672 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -556,6 +556,8 @@ github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200722200456-eec8223c0d2 github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200722200456-eec8223c0d29/go.mod h1:7GcoJbLHPr3908ptQflj34YsMmz0YqyByryMr/RK6GE= github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677 h1:rSPhJKXvhJBpghK/c38HoR+e7KO7P9mlmk1VJ6sHNAw= github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677/go.mod h1:WFquAmxJ0qakdrv6TJu/q/kxlJvf90KWtrU++Ou8PRw= +github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e h1:3QVksQ3+IrWwm6KbiR0X/r1mnKpwWs56+g3sMZv85Lo= +github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e/go.mod h1:WFquAmxJ0qakdrv6TJu/q/kxlJvf90KWtrU++Ou8PRw= github.com/pulumi/tf2pulumi v0.8.1-0.20200519092335-cb56a4dfa88d h1:1JtzB9Gx0YX2UgKKkqJwTgBXxfg2cbLUEqTJKwKBK7s= github.com/pulumi/tf2pulumi v0.8.1-0.20200519092335-cb56a4dfa88d/go.mod h1:yv9XozKsue9ZELHQbrBGgIaFtE3OX3Q4m7koTzTqgpE= github.com/pulumi/tf2pulumi v0.8.1-0.20200528170746-c1234defe2b5 h1:h+pUwgEser1Ole6TMCc66njRPcw7SEVXpeoClG+ihEM= diff --git a/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingArgs.cs b/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingArgs.cs index 4bc721d5..64875047 100644 --- a/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingArgs.cs +++ b/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingArgs.cs @@ -21,8 +21,8 @@ public sealed class ServiceComputeBigqueryloggingArgs : Pulumi.ResourceArgs /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - [Input("email")] - public Input? Email { get; set; } + [Input("email", required: true)] + public Input Email { get; set; } = null!; /// /// The unique name of the Rackspace Cloud Files logging endpoint. @@ -39,8 +39,8 @@ public sealed class ServiceComputeBigqueryloggingArgs : Pulumi.ResourceArgs /// /// Your DigitalOcean Spaces account secret key. /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + [Input("secretKey", required: true)] + public Input SecretKey { get; set; } = null!; /// /// The ID of your BigQuery table. diff --git a/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingGetArgs.cs b/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingGetArgs.cs index 8b63d182..af38feac 100644 --- a/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceComputeBigqueryloggingGetArgs.cs @@ -21,8 +21,8 @@ public sealed class ServiceComputeBigqueryloggingGetArgs : Pulumi.ResourceArgs /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - [Input("email")] - public Input? Email { get; set; } + [Input("email", required: true)] + public Input Email { get; set; } = null!; /// /// The unique name of the Rackspace Cloud Files logging endpoint. @@ -39,8 +39,8 @@ public sealed class ServiceComputeBigqueryloggingGetArgs : Pulumi.ResourceArgs /// /// Your DigitalOcean Spaces account secret key. /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + [Input("secretKey", required: true)] + public Input SecretKey { get; set; } = null!; /// /// The ID of your BigQuery table. diff --git a/sdk/dotnet/Inputs/Servicev1BigqueryloggingArgs.cs b/sdk/dotnet/Inputs/Servicev1BigqueryloggingArgs.cs index 9a377f43..d132cd1e 100644 --- a/sdk/dotnet/Inputs/Servicev1BigqueryloggingArgs.cs +++ b/sdk/dotnet/Inputs/Servicev1BigqueryloggingArgs.cs @@ -21,8 +21,8 @@ public sealed class Servicev1BigqueryloggingArgs : Pulumi.ResourceArgs /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - [Input("email")] - public Input? Email { get; set; } + [Input("email", required: true)] + public Input Email { get; set; } = null!; /// /// Apache style log formatting. @@ -57,8 +57,8 @@ public sealed class Servicev1BigqueryloggingArgs : Pulumi.ResourceArgs /// /// Your DigitalOcean Spaces account secret key. /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + [Input("secretKey", required: true)] + public Input SecretKey { get; set; } = null!; /// /// The ID of your BigQuery table. diff --git a/sdk/dotnet/Inputs/Servicev1BigqueryloggingGetArgs.cs b/sdk/dotnet/Inputs/Servicev1BigqueryloggingGetArgs.cs index d12fe2b1..b3929950 100644 --- a/sdk/dotnet/Inputs/Servicev1BigqueryloggingGetArgs.cs +++ b/sdk/dotnet/Inputs/Servicev1BigqueryloggingGetArgs.cs @@ -21,8 +21,8 @@ public sealed class Servicev1BigqueryloggingGetArgs : Pulumi.ResourceArgs /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - [Input("email")] - public Input? Email { get; set; } + [Input("email", required: true)] + public Input Email { get; set; } = null!; /// /// Apache style log formatting. @@ -57,8 +57,8 @@ public sealed class Servicev1BigqueryloggingGetArgs : Pulumi.ResourceArgs /// /// Your DigitalOcean Spaces account secret key. /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + [Input("secretKey", required: true)] + public Input SecretKey { get; set; } = null!; /// /// The ID of your BigQuery table. diff --git a/sdk/dotnet/Outputs/ServiceComputeBigquerylogging.cs b/sdk/dotnet/Outputs/ServiceComputeBigquerylogging.cs index e8102b39..870e5bb5 100644 --- a/sdk/dotnet/Outputs/ServiceComputeBigquerylogging.cs +++ b/sdk/dotnet/Outputs/ServiceComputeBigquerylogging.cs @@ -20,7 +20,7 @@ public sealed class ServiceComputeBigquerylogging /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - public readonly string? Email; + public readonly string Email; /// /// The unique name of the Rackspace Cloud Files logging endpoint. /// @@ -32,7 +32,7 @@ public sealed class ServiceComputeBigquerylogging /// /// Your DigitalOcean Spaces account secret key. /// - public readonly string? SecretKey; + public readonly string SecretKey; /// /// The ID of your BigQuery table. /// @@ -43,13 +43,13 @@ public sealed class ServiceComputeBigquerylogging private ServiceComputeBigquerylogging( string dataset, - string? email, + string email, string name, string projectId, - string? secretKey, + string secretKey, string table, diff --git a/sdk/dotnet/Outputs/Servicev1Bigquerylogging.cs b/sdk/dotnet/Outputs/Servicev1Bigquerylogging.cs index cdeef27c..3005e146 100644 --- a/sdk/dotnet/Outputs/Servicev1Bigquerylogging.cs +++ b/sdk/dotnet/Outputs/Servicev1Bigquerylogging.cs @@ -20,7 +20,7 @@ public sealed class Servicev1Bigquerylogging /// /// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. /// - public readonly string? Email; + public readonly string Email; /// /// Apache style log formatting. /// @@ -44,7 +44,7 @@ public sealed class Servicev1Bigquerylogging /// /// Your DigitalOcean Spaces account secret key. /// - public readonly string? SecretKey; + public readonly string SecretKey; /// /// The ID of your BigQuery table. /// @@ -58,7 +58,7 @@ public sealed class Servicev1Bigquerylogging private Servicev1Bigquerylogging( string dataset, - string? email, + string email, string? format, @@ -70,7 +70,7 @@ private Servicev1Bigquerylogging( string? responseCondition, - string? secretKey, + string secretKey, string table, diff --git a/sdk/go/fastly/pulumiTypes.go b/sdk/go/fastly/pulumiTypes.go index 1f2c9d9d..aa77e294 100644 --- a/sdk/go/fastly/pulumiTypes.go +++ b/sdk/go/fastly/pulumiTypes.go @@ -466,13 +466,13 @@ type ServiceComputeBigquerylogging struct { // The Honeycomb Dataset you want to log to. Dataset string `pulumi:"dataset"` // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - Email *string `pulumi:"email"` + Email string `pulumi:"email"` // The unique name of the Rackspace Cloud Files logging endpoint. Name string `pulumi:"name"` // The ID of your Google Cloud Platform project. ProjectId string `pulumi:"projectId"` // Your DigitalOcean Spaces account secret key. - SecretKey *string `pulumi:"secretKey"` + SecretKey string `pulumi:"secretKey"` // The ID of your BigQuery table. Table string `pulumi:"table"` Template *string `pulumi:"template"` @@ -493,13 +493,13 @@ type ServiceComputeBigqueryloggingArgs struct { // The Honeycomb Dataset you want to log to. Dataset pulumi.StringInput `pulumi:"dataset"` // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - Email pulumi.StringPtrInput `pulumi:"email"` + Email pulumi.StringInput `pulumi:"email"` // The unique name of the Rackspace Cloud Files logging endpoint. Name pulumi.StringInput `pulumi:"name"` // The ID of your Google Cloud Platform project. ProjectId pulumi.StringInput `pulumi:"projectId"` // Your DigitalOcean Spaces account secret key. - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` + SecretKey pulumi.StringInput `pulumi:"secretKey"` // The ID of your BigQuery table. Table pulumi.StringInput `pulumi:"table"` Template pulumi.StringPtrInput `pulumi:"template"` @@ -562,8 +562,8 @@ func (o ServiceComputeBigqueryloggingOutput) Dataset() pulumi.StringOutput { } // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. -func (o ServiceComputeBigqueryloggingOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceComputeBigquerylogging) *string { return v.Email }).(pulumi.StringPtrOutput) +func (o ServiceComputeBigqueryloggingOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v ServiceComputeBigquerylogging) string { return v.Email }).(pulumi.StringOutput) } // The unique name of the Rackspace Cloud Files logging endpoint. @@ -577,8 +577,8 @@ func (o ServiceComputeBigqueryloggingOutput) ProjectId() pulumi.StringOutput { } // Your DigitalOcean Spaces account secret key. -func (o ServiceComputeBigqueryloggingOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceComputeBigquerylogging) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +func (o ServiceComputeBigqueryloggingOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v ServiceComputeBigquerylogging) string { return v.SecretKey }).(pulumi.StringOutput) } // The ID of your BigQuery table. @@ -5304,7 +5304,7 @@ type Servicev1Bigquerylogging struct { // The Honeycomb Dataset you want to log to. Dataset string `pulumi:"dataset"` // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - Email *string `pulumi:"email"` + Email string `pulumi:"email"` // Apache style log formatting. Format *string `pulumi:"format"` // A unique name to identify this dictionary. @@ -5316,7 +5316,7 @@ type Servicev1Bigquerylogging struct { // The name of an existing condition in the configured endpoint, or leave blank to always execute. ResponseCondition *string `pulumi:"responseCondition"` // Your DigitalOcean Spaces account secret key. - SecretKey *string `pulumi:"secretKey"` + SecretKey string `pulumi:"secretKey"` // The ID of your BigQuery table. Table string `pulumi:"table"` // Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables). @@ -5338,7 +5338,7 @@ type Servicev1BigqueryloggingArgs struct { // The Honeycomb Dataset you want to log to. Dataset pulumi.StringInput `pulumi:"dataset"` // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - Email pulumi.StringPtrInput `pulumi:"email"` + Email pulumi.StringInput `pulumi:"email"` // Apache style log formatting. Format pulumi.StringPtrInput `pulumi:"format"` // A unique name to identify this dictionary. @@ -5350,7 +5350,7 @@ type Servicev1BigqueryloggingArgs struct { // The name of an existing condition in the configured endpoint, or leave blank to always execute. ResponseCondition pulumi.StringPtrInput `pulumi:"responseCondition"` // Your DigitalOcean Spaces account secret key. - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` + SecretKey pulumi.StringInput `pulumi:"secretKey"` // The ID of your BigQuery table. Table pulumi.StringInput `pulumi:"table"` // Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables). @@ -5414,8 +5414,8 @@ func (o Servicev1BigqueryloggingOutput) Dataset() pulumi.StringOutput { } // The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. -func (o Servicev1BigqueryloggingOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v Servicev1Bigquerylogging) *string { return v.Email }).(pulumi.StringPtrOutput) +func (o Servicev1BigqueryloggingOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v Servicev1Bigquerylogging) string { return v.Email }).(pulumi.StringOutput) } // Apache style log formatting. @@ -5444,8 +5444,8 @@ func (o Servicev1BigqueryloggingOutput) ResponseCondition() pulumi.StringPtrOutp } // Your DigitalOcean Spaces account secret key. -func (o Servicev1BigqueryloggingOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v Servicev1Bigquerylogging) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +func (o Servicev1BigqueryloggingOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v Servicev1Bigquerylogging) string { return v.SecretKey }).(pulumi.StringOutput) } // The ID of your BigQuery table. diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 334594bc..f772e7d8 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -138,7 +138,7 @@ export interface ServiceComputeBigquerylogging { /** * The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. */ - email?: pulumi.Input; + email: pulumi.Input; /** * The unique name of the Rackspace Cloud Files logging endpoint. */ @@ -150,7 +150,7 @@ export interface ServiceComputeBigquerylogging { /** * Your DigitalOcean Spaces account secret key. */ - secretKey?: pulumi.Input; + secretKey: pulumi.Input; /** * The ID of your BigQuery table. */ @@ -1139,7 +1139,7 @@ export interface Servicev1Bigquerylogging { /** * The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. */ - email?: pulumi.Input; + email: pulumi.Input; /** * Apache style log formatting. */ @@ -1163,7 +1163,7 @@ export interface Servicev1Bigquerylogging { /** * Your DigitalOcean Spaces account secret key. */ - secretKey?: pulumi.Input; + secretKey: pulumi.Input; /** * The ID of your BigQuery table. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 7b023ac3..07adfe1f 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -153,7 +153,7 @@ export interface ServiceComputeBigquerylogging { /** * The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. */ - email?: string; + email: string; /** * The unique name of the Rackspace Cloud Files logging endpoint. */ @@ -165,7 +165,7 @@ export interface ServiceComputeBigquerylogging { /** * Your DigitalOcean Spaces account secret key. */ - secretKey?: string; + secretKey: string; /** * The ID of your BigQuery table. */ @@ -1154,7 +1154,7 @@ export interface Servicev1Bigquerylogging { /** * The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. */ - email?: string; + email: string; /** * Apache style log formatting. */ @@ -1178,7 +1178,7 @@ export interface Servicev1Bigquerylogging { /** * Your DigitalOcean Spaces account secret key. */ - secretKey?: string; + secretKey: string; /** * The ID of your BigQuery table. */ diff --git a/sdk/python/pulumi_fastly/_inputs.py b/sdk/python/pulumi_fastly/_inputs.py index ca3a1a8b..a8c5b6bf 100644 --- a/sdk/python/pulumi_fastly/_inputs.py +++ b/sdk/python/pulumi_fastly/_inputs.py @@ -569,28 +569,26 @@ def weight(self, value: Optional[pulumi.Input[float]]): class ServiceComputeBigqueryloggingArgs: def __init__(__self__, *, dataset: pulumi.Input[str], + email: pulumi.Input[str], name: pulumi.Input[str], project_id: pulumi.Input[str], + secret_key: pulumi.Input[str], table: pulumi.Input[str], - email: Optional[pulumi.Input[str]] = None, - secret_key: Optional[pulumi.Input[str]] = None, template: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] dataset: The Honeycomb Dataset you want to log to. + :param pulumi.Input[str] email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param pulumi.Input[str] name: The unique name of the Rackspace Cloud Files logging endpoint. :param pulumi.Input[str] project_id: The ID of your Google Cloud Platform project. - :param pulumi.Input[str] table: The ID of your BigQuery table. - :param pulumi.Input[str] email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param pulumi.Input[str] secret_key: Your DigitalOcean Spaces account secret key. + :param pulumi.Input[str] table: The ID of your BigQuery table. """ pulumi.set(__self__, "dataset", dataset) + pulumi.set(__self__, "email", email) pulumi.set(__self__, "name", name) pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "secret_key", secret_key) pulumi.set(__self__, "table", table) - if email is not None: - pulumi.set(__self__, "email", email) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) if template is not None: pulumi.set(__self__, "template", template) @@ -606,6 +604,18 @@ def dataset(self) -> pulumi.Input[str]: def dataset(self, value: pulumi.Input[str]): pulumi.set(self, "dataset", value) + @property + @pulumi.getter + def email(self) -> pulumi.Input[str]: + """ + The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) + @property @pulumi.getter def name(self) -> pulumi.Input[str]: @@ -630,6 +640,18 @@ def project_id(self) -> pulumi.Input[str]: def project_id(self, value: pulumi.Input[str]): pulumi.set(self, "project_id", value) + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> pulumi.Input[str]: + """ + Your DigitalOcean Spaces account secret key. + """ + return pulumi.get(self, "secret_key") + + @secret_key.setter + def secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_key", value) + @property @pulumi.getter def table(self) -> pulumi.Input[str]: @@ -642,30 +664,6 @@ def table(self) -> pulumi.Input[str]: def table(self, value: pulumi.Input[str]): pulumi.set(self, "table", value) - @property - @pulumi.getter - def email(self) -> Optional[pulumi.Input[str]]: - """ - The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - """ - return pulumi.get(self, "email") - - @email.setter - def email(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "email", value) - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[pulumi.Input[str]]: - """ - Your DigitalOcean Spaces account secret key. - """ - return pulumi.get(self, "secret_key") - - @secret_key.setter - def secret_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret_key", value) - @property @pulumi.getter def template(self) -> Optional[pulumi.Input[str]]: @@ -4338,41 +4336,39 @@ def weight(self, value: Optional[pulumi.Input[float]]): class Servicev1BigqueryloggingArgs: def __init__(__self__, *, dataset: pulumi.Input[str], + email: pulumi.Input[str], name: pulumi.Input[str], project_id: pulumi.Input[str], + secret_key: pulumi.Input[str], table: pulumi.Input[str], - email: Optional[pulumi.Input[str]] = None, format: Optional[pulumi.Input[str]] = None, placement: Optional[pulumi.Input[str]] = None, response_condition: Optional[pulumi.Input[str]] = None, - secret_key: Optional[pulumi.Input[str]] = None, template: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] dataset: The Honeycomb Dataset you want to log to. + :param pulumi.Input[str] email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param pulumi.Input[str] name: A unique name to identify this dictionary. :param pulumi.Input[str] project_id: The ID of your Google Cloud Platform project. + :param pulumi.Input[str] secret_key: Your DigitalOcean Spaces account secret key. :param pulumi.Input[str] table: The ID of your BigQuery table. - :param pulumi.Input[str] email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param pulumi.Input[str] format: Apache style log formatting. :param pulumi.Input[str] placement: Where in the generated VCL the logging call should be placed. Can be `none` or `waf_debug`. :param pulumi.Input[str] response_condition: The name of an existing condition in the configured endpoint, or leave blank to always execute. - :param pulumi.Input[str] secret_key: Your DigitalOcean Spaces account secret key. :param pulumi.Input[str] template: Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables). """ pulumi.set(__self__, "dataset", dataset) + pulumi.set(__self__, "email", email) pulumi.set(__self__, "name", name) pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "secret_key", secret_key) pulumi.set(__self__, "table", table) - if email is not None: - pulumi.set(__self__, "email", email) if format is not None: pulumi.set(__self__, "format", format) if placement is not None: pulumi.set(__self__, "placement", placement) if response_condition is not None: pulumi.set(__self__, "response_condition", response_condition) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) if template is not None: pulumi.set(__self__, "template", template) @@ -4388,6 +4384,18 @@ def dataset(self) -> pulumi.Input[str]: def dataset(self, value: pulumi.Input[str]): pulumi.set(self, "dataset", value) + @property + @pulumi.getter + def email(self) -> pulumi.Input[str]: + """ + The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) + @property @pulumi.getter def name(self) -> pulumi.Input[str]: @@ -4412,6 +4420,18 @@ def project_id(self) -> pulumi.Input[str]: def project_id(self, value: pulumi.Input[str]): pulumi.set(self, "project_id", value) + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> pulumi.Input[str]: + """ + Your DigitalOcean Spaces account secret key. + """ + return pulumi.get(self, "secret_key") + + @secret_key.setter + def secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_key", value) + @property @pulumi.getter def table(self) -> pulumi.Input[str]: @@ -4424,18 +4444,6 @@ def table(self) -> pulumi.Input[str]: def table(self, value: pulumi.Input[str]): pulumi.set(self, "table", value) - @property - @pulumi.getter - def email(self) -> Optional[pulumi.Input[str]]: - """ - The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - """ - return pulumi.get(self, "email") - - @email.setter - def email(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "email", value) - @property @pulumi.getter def format(self) -> Optional[pulumi.Input[str]]: @@ -4472,18 +4480,6 @@ def response_condition(self) -> Optional[pulumi.Input[str]]: def response_condition(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "response_condition", value) - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[pulumi.Input[str]]: - """ - Your DigitalOcean Spaces account secret key. - """ - return pulumi.get(self, "secret_key") - - @secret_key.setter - def secret_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret_key", value) - @property @pulumi.getter def template(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_fastly/outputs.py b/sdk/python/pulumi_fastly/outputs.py index d44f8479..abe02602 100644 --- a/sdk/python/pulumi_fastly/outputs.py +++ b/sdk/python/pulumi_fastly/outputs.py @@ -457,28 +457,26 @@ def _translate_property(self, prop): class ServiceComputeBigquerylogging(dict): def __init__(__self__, *, dataset: str, + email: str, name: str, project_id: str, + secret_key: str, table: str, - email: Optional[str] = None, - secret_key: Optional[str] = None, template: Optional[str] = None): """ :param str dataset: The Honeycomb Dataset you want to log to. + :param str email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param str name: The unique name of the Rackspace Cloud Files logging endpoint. :param str project_id: The ID of your Google Cloud Platform project. - :param str table: The ID of your BigQuery table. - :param str email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param str secret_key: Your DigitalOcean Spaces account secret key. + :param str table: The ID of your BigQuery table. """ pulumi.set(__self__, "dataset", dataset) + pulumi.set(__self__, "email", email) pulumi.set(__self__, "name", name) pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "secret_key", secret_key) pulumi.set(__self__, "table", table) - if email is not None: - pulumi.set(__self__, "email", email) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) if template is not None: pulumi.set(__self__, "template", template) @@ -490,6 +488,14 @@ def dataset(self) -> str: """ return pulumi.get(self, "dataset") + @property + @pulumi.getter + def email(self) -> str: + """ + The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. + """ + return pulumi.get(self, "email") + @property @pulumi.getter def name(self) -> str: @@ -507,28 +513,20 @@ def project_id(self) -> str: return pulumi.get(self, "project_id") @property - @pulumi.getter - def table(self) -> str: + @pulumi.getter(name="secretKey") + def secret_key(self) -> str: """ - The ID of your BigQuery table. + Your DigitalOcean Spaces account secret key. """ - return pulumi.get(self, "table") + return pulumi.get(self, "secret_key") @property @pulumi.getter - def email(self) -> Optional[str]: - """ - The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. - """ - return pulumi.get(self, "email") - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[str]: + def table(self) -> str: """ - Your DigitalOcean Spaces account secret key. + The ID of your BigQuery table. """ - return pulumi.get(self, "secret_key") + return pulumi.get(self, "table") @property @pulumi.getter @@ -3408,41 +3406,39 @@ def _translate_property(self, prop): class Servicev1Bigquerylogging(dict): def __init__(__self__, *, dataset: str, + email: str, name: str, project_id: str, + secret_key: str, table: str, - email: Optional[str] = None, format: Optional[str] = None, placement: Optional[str] = None, response_condition: Optional[str] = None, - secret_key: Optional[str] = None, template: Optional[str] = None): """ :param str dataset: The Honeycomb Dataset you want to log to. + :param str email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param str name: A unique name to identify this dictionary. :param str project_id: The ID of your Google Cloud Platform project. + :param str secret_key: Your DigitalOcean Spaces account secret key. :param str table: The ID of your BigQuery table. - :param str email: The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. :param str format: Apache style log formatting. :param str placement: Where in the generated VCL the logging call should be placed. Can be `none` or `waf_debug`. :param str response_condition: The name of an existing condition in the configured endpoint, or leave blank to always execute. - :param str secret_key: Your DigitalOcean Spaces account secret key. :param str template: Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables). """ pulumi.set(__self__, "dataset", dataset) + pulumi.set(__self__, "email", email) pulumi.set(__self__, "name", name) pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "secret_key", secret_key) pulumi.set(__self__, "table", table) - if email is not None: - pulumi.set(__self__, "email", email) if format is not None: pulumi.set(__self__, "format", format) if placement is not None: pulumi.set(__self__, "placement", placement) if response_condition is not None: pulumi.set(__self__, "response_condition", response_condition) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) if template is not None: pulumi.set(__self__, "template", template) @@ -3454,6 +3450,14 @@ def dataset(self) -> str: """ return pulumi.get(self, "dataset") + @property + @pulumi.getter + def email(self) -> str: + """ + The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. + """ + return pulumi.get(self, "email") + @property @pulumi.getter def name(self) -> str: @@ -3471,20 +3475,20 @@ def project_id(self) -> str: return pulumi.get(self, "project_id") @property - @pulumi.getter - def table(self) -> str: + @pulumi.getter(name="secretKey") + def secret_key(self) -> str: """ - The ID of your BigQuery table. + Your DigitalOcean Spaces account secret key. """ - return pulumi.get(self, "table") + return pulumi.get(self, "secret_key") @property @pulumi.getter - def email(self) -> Optional[str]: + def table(self) -> str: """ - The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable. + The ID of your BigQuery table. """ - return pulumi.get(self, "email") + return pulumi.get(self, "table") @property @pulumi.getter @@ -3510,14 +3514,6 @@ def response_condition(self) -> Optional[str]: """ return pulumi.get(self, "response_condition") - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[str]: - """ - Your DigitalOcean Spaces account secret key. - """ - return pulumi.get(self, "secret_key") - @property @pulumi.getter def template(self) -> Optional[str]: