Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Aug 19, 2024
1 parent 74c4f1d commit 82e7209
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 56 deletions.
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/CertificateDnsChallengeArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ namespace Pulumiverse.Acme.Inputs
public sealed class CertificateDnsChallengeArgs : global::Pulumi.ResourceArgs
{
[Input("config")]
private InputMap<object>? _config;
public InputMap<object> Config
private InputMap<string>? _config;
public InputMap<string> Config
{
get => _config ?? (_config = new InputMap<object>());
get => _config ?? (_config = new InputMap<string>());
set
{
var emptySecret = Output.CreateSecret(ImmutableDictionary.Create<string, object>());
var emptySecret = Output.CreateSecret(ImmutableDictionary.Create<string, string>());
_config = Output.All(value, emptySecret).Apply(v => v[0]);
}
}
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/CertificateDnsChallengeGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ namespace Pulumiverse.Acme.Inputs
public sealed class CertificateDnsChallengeGetArgs : global::Pulumi.ResourceArgs
{
[Input("config")]
private InputMap<object>? _config;
public InputMap<object> Config
private InputMap<string>? _config;
public InputMap<string> Config
{
get => _config ?? (_config = new InputMap<object>());
get => _config ?? (_config = new InputMap<string>());
set
{
var emptySecret = Output.CreateSecret(ImmutableDictionary.Create<string, object>());
var emptySecret = Output.CreateSecret(ImmutableDictionary.Create<string, string>());
_config = Output.All(value, emptySecret).Apply(v => v[0]);
}
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Outputs/CertificateDnsChallenge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ namespace Pulumiverse.Acme.Outputs
[OutputType]
public sealed class CertificateDnsChallenge
{
public readonly ImmutableDictionary<string, object>? Config;
public readonly ImmutableDictionary<string, string>? Config;
public readonly string Provider;

[OutputConstructor]
private CertificateDnsChallenge(
ImmutableDictionary<string, object>? config,
ImmutableDictionary<string, string>? config,

string provider)
{
Expand Down
12 changes: 6 additions & 6 deletions sdk/go/acme/pulumiTypes.go

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

2 changes: 1 addition & 1 deletion sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as inputs from "../types/input";
import * as outputs from "../types/output";

export interface CertificateDnsChallenge {
config?: pulumi.Input<{[key: string]: any}>;
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
provider: pulumi.Input<string>;
}

Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as inputs from "../types/input";
import * as outputs from "../types/output";

export interface CertificateDnsChallenge {
config?: {[key: string]: any};
config?: {[key: string]: string};
provider: string;
}

Expand Down
6 changes: 3 additions & 3 deletions sdk/python/pulumiverse_acme/_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class CertificateDnsChallengeArgs:
def __init__(__self__, *,
provider: pulumi.Input[str],
config: Optional[pulumi.Input[Mapping[str, Any]]] = None):
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
pulumi.set(__self__, "provider", provider)
if config is not None:
pulumi.set(__self__, "config", config)
Expand All @@ -39,11 +39,11 @@ def provider(self, value: pulumi.Input[str]):

@property
@pulumi.getter
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
return pulumi.get(self, "config")

@config.setter
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "config", value)


Expand Down
60 changes: 30 additions & 30 deletions sdk/python/pulumiverse_acme/certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,11 +1215,11 @@ def __init__(__self__,
certificate_request_pem: Optional[pulumi.Input[str]] = None,
common_name: Optional[pulumi.Input[str]] = None,
disable_complete_propagation: Optional[pulumi.Input[bool]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertificateDnsChallengeArgs']]]]] = None,
http_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpChallengeArgs']]] = None,
http_memcached_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpMemcachedChallengeArgs']]] = None,
http_s3_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpS3ChallengeArgs']]] = None,
http_webroot_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpWebrootChallengeArgs']]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertificateDnsChallengeArgs', 'CertificateDnsChallengeArgsDict']]]]] = None,
http_challenge: Optional[pulumi.Input[Union['CertificateHttpChallengeArgs', 'CertificateHttpChallengeArgsDict']]] = None,
http_memcached_challenge: Optional[pulumi.Input[Union['CertificateHttpMemcachedChallengeArgs', 'CertificateHttpMemcachedChallengeArgsDict']]] = None,
http_s3_challenge: Optional[pulumi.Input[Union['CertificateHttpS3ChallengeArgs', 'CertificateHttpS3ChallengeArgsDict']]] = None,
http_webroot_challenge: Optional[pulumi.Input[Union['CertificateHttpWebrootChallengeArgs', 'CertificateHttpWebrootChallengeArgsDict']]] = None,
key_type: Optional[pulumi.Input[str]] = None,
min_days_remaining: Optional[pulumi.Input[int]] = None,
must_staple: Optional[pulumi.Input[bool]] = None,
Expand All @@ -1229,7 +1229,7 @@ def __init__(__self__,
revoke_certificate_on_destroy: Optional[pulumi.Input[bool]] = None,
revoke_certificate_reason: Optional[pulumi.Input[str]] = None,
subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tls_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateTlsChallengeArgs']]] = None,
tls_challenge: Optional[pulumi.Input[Union['CertificateTlsChallengeArgs', 'CertificateTlsChallengeArgsDict']]] = None,
__props__=None):
"""
Create a Certificate resource with the given unique name, props, and options.
Expand Down Expand Up @@ -1260,17 +1260,17 @@ def __init__(__self__,
> See About DNS propagation checks for details
on the `recursive_nameservers` and `disable_complete_propagation` settings.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertificateDnsChallengeArgs']]]] dns_challenges: The DNS challenges to
:param pulumi.Input[Sequence[pulumi.Input[Union['CertificateDnsChallengeArgs', 'CertificateDnsChallengeArgsDict']]]] dns_challenges: The DNS challenges to
use in fulfilling the request.
:param pulumi.Input[pulumi.InputType['CertificateHttpChallengeArgs']] http_challenge: Defines an HTTP challenge to use in fulfilling
:param pulumi.Input[Union['CertificateHttpChallengeArgs', 'CertificateHttpChallengeArgsDict']] http_challenge: Defines an HTTP challenge to use in fulfilling
the request.
:param pulumi.Input[pulumi.InputType['CertificateHttpMemcachedChallengeArgs']] http_memcached_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpMemcachedChallengeArgs', 'CertificateHttpMemcachedChallengeArgsDict']] http_memcached_challenge: Defines an alternate type of HTTP
challenge that can be used to serve up challenges to a
[Memcached](https://memcached.org/) cluster.
:param pulumi.Input[pulumi.InputType['CertificateHttpS3ChallengeArgs']] http_s3_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpS3ChallengeArgs', 'CertificateHttpS3ChallengeArgsDict']] http_s3_challenge: Defines an alternate type of HTTP
challenge that can be used to serve up challenges to a
[S3](https://aws.amazon.com/s3/) bucket.
:param pulumi.Input[pulumi.InputType['CertificateHttpWebrootChallengeArgs']] http_webroot_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpWebrootChallengeArgs', 'CertificateHttpWebrootChallengeArgsDict']] http_webroot_challenge: Defines an alternate type of HTTP
challenge that can be used to place a file at a location that can be served by
an out-of-band webserver.
:param pulumi.Input[str] key_type: The key type for the certificate's private key. Can be one of:
Expand Down Expand Up @@ -1341,7 +1341,7 @@ def __init__(__self__,
:param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alternative_names: The certificate's subject alternative names,
domains that this certificate will also be recognized for. Only valid when not
specifying a CSR. Forces a new resource when changed.
:param pulumi.Input[pulumi.InputType['CertificateTlsChallengeArgs']] tls_challenge: Defines a TLS challenge to use in fulfilling the
:param pulumi.Input[Union['CertificateTlsChallengeArgs', 'CertificateTlsChallengeArgsDict']] tls_challenge: Defines a TLS challenge to use in fulfilling the
request.
> Only one of `http_challenge`, `http_webroot_challenge`, `http_s3_challenge`
Expand Down Expand Up @@ -1378,11 +1378,11 @@ def _internal_init(__self__,
certificate_request_pem: Optional[pulumi.Input[str]] = None,
common_name: Optional[pulumi.Input[str]] = None,
disable_complete_propagation: Optional[pulumi.Input[bool]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertificateDnsChallengeArgs']]]]] = None,
http_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpChallengeArgs']]] = None,
http_memcached_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpMemcachedChallengeArgs']]] = None,
http_s3_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpS3ChallengeArgs']]] = None,
http_webroot_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpWebrootChallengeArgs']]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertificateDnsChallengeArgs', 'CertificateDnsChallengeArgsDict']]]]] = None,
http_challenge: Optional[pulumi.Input[Union['CertificateHttpChallengeArgs', 'CertificateHttpChallengeArgsDict']]] = None,
http_memcached_challenge: Optional[pulumi.Input[Union['CertificateHttpMemcachedChallengeArgs', 'CertificateHttpMemcachedChallengeArgsDict']]] = None,
http_s3_challenge: Optional[pulumi.Input[Union['CertificateHttpS3ChallengeArgs', 'CertificateHttpS3ChallengeArgsDict']]] = None,
http_webroot_challenge: Optional[pulumi.Input[Union['CertificateHttpWebrootChallengeArgs', 'CertificateHttpWebrootChallengeArgsDict']]] = None,
key_type: Optional[pulumi.Input[str]] = None,
min_days_remaining: Optional[pulumi.Input[int]] = None,
must_staple: Optional[pulumi.Input[bool]] = None,
Expand All @@ -1392,7 +1392,7 @@ def _internal_init(__self__,
revoke_certificate_on_destroy: Optional[pulumi.Input[bool]] = None,
revoke_certificate_reason: Optional[pulumi.Input[str]] = None,
subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tls_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateTlsChallengeArgs']]] = None,
tls_challenge: Optional[pulumi.Input[Union['CertificateTlsChallengeArgs', 'CertificateTlsChallengeArgsDict']]] = None,
__props__=None):
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
if not isinstance(opts, pulumi.ResourceOptions):
Expand Down Expand Up @@ -1455,11 +1455,11 @@ def get(resource_name: str,
certificate_url: Optional[pulumi.Input[str]] = None,
common_name: Optional[pulumi.Input[str]] = None,
disable_complete_propagation: Optional[pulumi.Input[bool]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertificateDnsChallengeArgs']]]]] = None,
http_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpChallengeArgs']]] = None,
http_memcached_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpMemcachedChallengeArgs']]] = None,
http_s3_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpS3ChallengeArgs']]] = None,
http_webroot_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateHttpWebrootChallengeArgs']]] = None,
dns_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertificateDnsChallengeArgs', 'CertificateDnsChallengeArgsDict']]]]] = None,
http_challenge: Optional[pulumi.Input[Union['CertificateHttpChallengeArgs', 'CertificateHttpChallengeArgsDict']]] = None,
http_memcached_challenge: Optional[pulumi.Input[Union['CertificateHttpMemcachedChallengeArgs', 'CertificateHttpMemcachedChallengeArgsDict']]] = None,
http_s3_challenge: Optional[pulumi.Input[Union['CertificateHttpS3ChallengeArgs', 'CertificateHttpS3ChallengeArgsDict']]] = None,
http_webroot_challenge: Optional[pulumi.Input[Union['CertificateHttpWebrootChallengeArgs', 'CertificateHttpWebrootChallengeArgsDict']]] = None,
issuer_pem: Optional[pulumi.Input[str]] = None,
key_type: Optional[pulumi.Input[str]] = None,
min_days_remaining: Optional[pulumi.Input[int]] = None,
Expand All @@ -1471,7 +1471,7 @@ def get(resource_name: str,
revoke_certificate_on_destroy: Optional[pulumi.Input[bool]] = None,
revoke_certificate_reason: Optional[pulumi.Input[str]] = None,
subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tls_challenge: Optional[pulumi.Input[pulumi.InputType['CertificateTlsChallengeArgs']]] = None) -> 'Certificate':
tls_challenge: Optional[pulumi.Input[Union['CertificateTlsChallengeArgs', 'CertificateTlsChallengeArgsDict']]] = None) -> 'Certificate':
"""
Get an existing Certificate resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
Expand Down Expand Up @@ -1516,17 +1516,17 @@ def get(resource_name: str,
> See About DNS propagation checks for details
on the `recursive_nameservers` and `disable_complete_propagation` settings.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertificateDnsChallengeArgs']]]] dns_challenges: The DNS challenges to
:param pulumi.Input[Sequence[pulumi.Input[Union['CertificateDnsChallengeArgs', 'CertificateDnsChallengeArgsDict']]]] dns_challenges: The DNS challenges to
use in fulfilling the request.
:param pulumi.Input[pulumi.InputType['CertificateHttpChallengeArgs']] http_challenge: Defines an HTTP challenge to use in fulfilling
:param pulumi.Input[Union['CertificateHttpChallengeArgs', 'CertificateHttpChallengeArgsDict']] http_challenge: Defines an HTTP challenge to use in fulfilling
the request.
:param pulumi.Input[pulumi.InputType['CertificateHttpMemcachedChallengeArgs']] http_memcached_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpMemcachedChallengeArgs', 'CertificateHttpMemcachedChallengeArgsDict']] http_memcached_challenge: Defines an alternate type of HTTP
challenge that can be used to serve up challenges to a
[Memcached](https://memcached.org/) cluster.
:param pulumi.Input[pulumi.InputType['CertificateHttpS3ChallengeArgs']] http_s3_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpS3ChallengeArgs', 'CertificateHttpS3ChallengeArgsDict']] http_s3_challenge: Defines an alternate type of HTTP
challenge that can be used to serve up challenges to a
[S3](https://aws.amazon.com/s3/) bucket.
:param pulumi.Input[pulumi.InputType['CertificateHttpWebrootChallengeArgs']] http_webroot_challenge: Defines an alternate type of HTTP
:param pulumi.Input[Union['CertificateHttpWebrootChallengeArgs', 'CertificateHttpWebrootChallengeArgsDict']] http_webroot_challenge: Defines an alternate type of HTTP
challenge that can be used to place a file at a location that can be served by
an out-of-band webserver.
:param pulumi.Input[str] issuer_pem: The intermediate certificates of the issuer. Multiple
Expand Down Expand Up @@ -1604,7 +1604,7 @@ def get(resource_name: str,
:param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alternative_names: The certificate's subject alternative names,
domains that this certificate will also be recognized for. Only valid when not
specifying a CSR. Forces a new resource when changed.
:param pulumi.Input[pulumi.InputType['CertificateTlsChallengeArgs']] tls_challenge: Defines a TLS challenge to use in fulfilling the
:param pulumi.Input[Union['CertificateTlsChallengeArgs', 'CertificateTlsChallengeArgsDict']] tls_challenge: Defines a TLS challenge to use in fulfilling the
request.
> Only one of `http_challenge`, `http_webroot_challenge`, `http_s3_challenge`
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/pulumiverse_acme/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class CertificateDnsChallenge(dict):
def __init__(__self__, *,
provider: str,
config: Optional[Mapping[str, Any]] = None):
config: Optional[Mapping[str, str]] = None):
pulumi.set(__self__, "provider", provider)
if config is not None:
pulumi.set(__self__, "config", config)
Expand All @@ -35,7 +35,7 @@ def provider(self) -> str:

@property
@pulumi.getter
def config(self) -> Optional[Mapping[str, Any]]:
def config(self) -> Optional[Mapping[str, str]]:
return pulumi.get(self, "config")


Expand Down
Loading

0 comments on commit 82e7209

Please sign in to comment.