diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 071cfb6..7a9c129 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -5,7 +5,7 @@ plugins { id("signing") id("java-library") id("maven-publish") - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } group = "com.pulumi" @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.17.0") + implementation("com.pulumi:pulumi:0.18.0") } task sourcesJar(type: Jar) { diff --git a/sdk/nodejs/getCertificate.ts b/sdk/nodejs/getCertificate.ts index 14bf7d5..b89ee63 100644 --- a/sdk/nodejs/getCertificate.ts +++ b/sdk/nodejs/getCertificate.ts @@ -86,7 +86,7 @@ export interface GetCertificateResult { * }); * ``` */ -export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getCertificate:getCertificate", { "certificateId": args.certificateId, diff --git a/sdk/nodejs/getRegistrantChangeCheck.ts b/sdk/nodejs/getRegistrantChangeCheck.ts index dc753dc..5b78386 100644 --- a/sdk/nodejs/getRegistrantChangeCheck.ts +++ b/sdk/nodejs/getRegistrantChangeCheck.ts @@ -95,7 +95,7 @@ export interface GetRegistrantChangeCheckResult { * * */ -export function getRegistrantChangeCheckOutput(args: GetRegistrantChangeCheckOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRegistrantChangeCheckOutput(args: GetRegistrantChangeCheckOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck", { "contactId": args.contactId, diff --git a/sdk/nodejs/getZone.ts b/sdk/nodejs/getZone.ts index 1382d71..bf5bbab 100644 --- a/sdk/nodejs/getZone.ts +++ b/sdk/nodejs/getZone.ts @@ -79,7 +79,7 @@ export interface GetZoneResult { * * `accountId` - The account ID * * `reverse` - True for a reverse zone, false for a forward zone. */ -export function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getZone:getZone", { "name": args.name, diff --git a/sdk/python/pulumi_dnsimple/get_certificate.py b/sdk/python/pulumi_dnsimple/get_certificate.py index ef57b55..9ac552c 100644 --- a/sdk/python/pulumi_dnsimple/get_certificate.py +++ b/sdk/python/pulumi_dnsimple/get_certificate.py @@ -163,7 +163,7 @@ def get_certificate(certificate_id: Optional[int] = None, def get_certificate_output(certificate_id: Optional[pulumi.Input[int]] = None, domain: Optional[pulumi.Input[str]] = None, timeouts: Optional[pulumi.Input[Optional[Union['GetCertificateTimeoutsArgs', 'GetCertificateTimeoutsArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCertificateResult]: """ Provides a DNSimple certificate data source. @@ -185,7 +185,7 @@ def get_certificate_output(certificate_id: Optional[pulumi.Input[int]] = None, __args__['certificateId'] = certificate_id __args__['domain'] = domain __args__['timeouts'] = timeouts - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) return __ret__.apply(lambda __response__: GetCertificateResult( certificate_chains=pulumi.get(__response__, 'certificate_chains'), diff --git a/sdk/python/pulumi_dnsimple/get_registrant_change_check.py b/sdk/python/pulumi_dnsimple/get_registrant_change_check.py index f9c3bad..4fd7e8c 100644 --- a/sdk/python/pulumi_dnsimple/get_registrant_change_check.py +++ b/sdk/python/pulumi_dnsimple/get_registrant_change_check.py @@ -129,7 +129,7 @@ def get_registrant_change_check(contact_id: Optional[str] = None, registry_owner_change=pulumi.get(__ret__, 'registry_owner_change')) def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[str]] = None, domain_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistrantChangeCheckResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegistrantChangeCheckResult]: """ Get information on the requirements of a registrant change. @@ -162,7 +162,7 @@ def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[str]] = __args__ = dict() __args__['contactId'] = contact_id __args__['domainId'] = domain_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck', __args__, opts=opts, typ=GetRegistrantChangeCheckResult) return __ret__.apply(lambda __response__: GetRegistrantChangeCheckResult( contact_id=pulumi.get(__response__, 'contact_id'), diff --git a/sdk/python/pulumi_dnsimple/get_zone.py b/sdk/python/pulumi_dnsimple/get_zone.py index 6283806..d8d43e4 100644 --- a/sdk/python/pulumi_dnsimple/get_zone.py +++ b/sdk/python/pulumi_dnsimple/get_zone.py @@ -110,7 +110,7 @@ def get_zone(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), reverse=pulumi.get(__ret__, 'reverse')) def get_zone_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZoneResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]: """ Get information about a DNSimple zone. @@ -137,7 +137,7 @@ def get_zone_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getZone:getZone', __args__, opts=opts, typ=GetZoneResult) return __ret__.apply(lambda __response__: GetZoneResult( account_id=pulumi.get(__response__, 'account_id'),