Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Jul 15, 2024
1 parent 65e5e47 commit 9189833
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 0 deletions.
33 changes: 33 additions & 0 deletions sdk/dotnet/Certificate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ public partial class Certificate : global::Pulumi.CustomResource
[Output("accountKeyPem")]
public Output<string> AccountKeyPem { get; private set; } = null!;

/// <summary>
/// Controls the timeout in seconds for certificate requests
/// that are made after challenges are complete. Defaults to 30 seconds.
///
/// &gt; As mentioned, `cert_timeout` does nothing until all challenges are complete.
/// If you are looking to control timeouts related to a particular challenge (such
/// as a DNS challenge), see that challenge provider's specific options.
/// </summary>
[Output("certTimeout")]
public Output<int?> CertTimeout { get; private set; } = null!;

/// <summary>
/// The common name of the certificate.
/// </summary>
Expand Down Expand Up @@ -327,6 +338,17 @@ public Input<string>? AccountKeyPem
}
}

/// <summary>
/// Controls the timeout in seconds for certificate requests
/// that are made after challenges are complete. Defaults to 30 seconds.
///
/// &gt; As mentioned, `cert_timeout` does nothing until all challenges are complete.
/// If you are looking to control timeouts related to a particular challenge (such
/// as a DNS challenge), see that challenge provider's specific options.
/// </summary>
[Input("certTimeout")]
public Input<int>? CertTimeout { get; set; }

[Input("certificateP12Password")]
private Input<string>? _certificateP12Password;

Expand Down Expand Up @@ -562,6 +584,17 @@ public Input<string>? AccountKeyPem
}
}

/// <summary>
/// Controls the timeout in seconds for certificate requests
/// that are made after challenges are complete. Defaults to 30 seconds.
///
/// &gt; As mentioned, `cert_timeout` does nothing until all challenges are complete.
/// If you are looking to control timeouts related to a particular challenge (such
/// as a DNS challenge), see that challenge provider's specific options.
/// </summary>
[Input("certTimeout")]
public Input<int>? CertTimeout { get; set; }

/// <summary>
/// The common name of the certificate.
/// </summary>
Expand Down
45 changes: 45 additions & 0 deletions sdk/go/acme/certificate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions sdk/nodejs/certificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ export class Certificate extends pulumi.CustomResource {
* requesting the certificate. Forces a new resource when changed.
*/
public readonly accountKeyPem!: pulumi.Output<string>;
/**
* Controls the timeout in seconds for certificate requests
* that are made after challenges are complete. Defaults to 30 seconds.
*
* > As mentioned, `certTimeout` does nothing until all challenges are complete.
* If you are looking to control timeouts related to a particular challenge (such
* as a DNS challenge), see that challenge provider's specific options.
*/
public readonly certTimeout!: pulumi.Output<number | undefined>;
/**
* The common name of the certificate.
*/
Expand Down Expand Up @@ -240,6 +249,7 @@ export class Certificate extends pulumi.CustomResource {
if (opts.id) {
const state = argsOrState as CertificateState | undefined;
resourceInputs["accountKeyPem"] = state ? state.accountKeyPem : undefined;
resourceInputs["certTimeout"] = state ? state.certTimeout : undefined;
resourceInputs["certificateDomain"] = state ? state.certificateDomain : undefined;
resourceInputs["certificateNotAfter"] = state ? state.certificateNotAfter : undefined;
resourceInputs["certificateP12"] = state ? state.certificateP12 : undefined;
Expand Down Expand Up @@ -271,6 +281,7 @@ export class Certificate extends pulumi.CustomResource {
throw new Error("Missing required property 'accountKeyPem'");
}
resourceInputs["accountKeyPem"] = args?.accountKeyPem ? pulumi.secret(args.accountKeyPem) : undefined;
resourceInputs["certTimeout"] = args ? args.certTimeout : undefined;
resourceInputs["certificateP12Password"] = args?.certificateP12Password ? pulumi.secret(args.certificateP12Password) : undefined;
resourceInputs["certificateRequestPem"] = args ? args.certificateRequestPem : undefined;
resourceInputs["commonName"] = args ? args.commonName : undefined;
Expand Down Expand Up @@ -313,6 +324,15 @@ export interface CertificateState {
* requesting the certificate. Forces a new resource when changed.
*/
accountKeyPem?: pulumi.Input<string>;
/**
* Controls the timeout in seconds for certificate requests
* that are made after challenges are complete. Defaults to 30 seconds.
*
* > As mentioned, `certTimeout` does nothing until all challenges are complete.
* If you are looking to control timeouts related to a particular challenge (such
* as a DNS challenge), see that challenge provider's specific options.
*/
certTimeout?: pulumi.Input<number>;
/**
* The common name of the certificate.
*/
Expand Down Expand Up @@ -510,6 +530,15 @@ export interface CertificateArgs {
* requesting the certificate. Forces a new resource when changed.
*/
accountKeyPem: pulumi.Input<string>;
/**
* Controls the timeout in seconds for certificate requests
* that are made after challenges are complete. Defaults to 30 seconds.
*
* > As mentioned, `certTimeout` does nothing until all challenges are complete.
* If you are looking to control timeouts related to a particular challenge (such
* as a DNS challenge), see that challenge provider's specific options.
*/
certTimeout?: pulumi.Input<number>;
/**
* Password to be used when generating
* the PFX file stored in `certificateP12`. Defaults to an
Expand Down
Loading

0 comments on commit 9189833

Please sign in to comment.