From 9232ba630a1864a4b409ccc45897dc5407e4a4d3 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Mon, 9 Dec 2024 23:38:07 +0000 Subject: [PATCH] make build_sdks --- sdk/java/build.gradle | 4 ++-- sdk/nodejs/getDNSSec.ts | 2 +- sdk/nodejs/getMonitoringRegions.ts | 2 +- sdk/nodejs/getNetworks.ts | 2 +- sdk/nodejs/getRecord.ts | 2 +- sdk/nodejs/getZone.ts | 2 +- sdk/python/pulumi_ns1/get_dns_sec.py | 4 ++-- sdk/python/pulumi_ns1/get_monitoring_regions.py | 4 ++-- sdk/python/pulumi_ns1/get_networks.py | 4 ++-- sdk/python/pulumi_ns1/get_record.py | 4 ++-- sdk/python/pulumi_ns1/get_zone.py | 4 ++-- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index c87225d..0f0d059 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/getDNSSec.ts b/sdk/nodejs/getDNSSec.ts index f1f5d50..de34363 100644 --- a/sdk/nodejs/getDNSSec.ts +++ b/sdk/nodejs/getDNSSec.ts @@ -80,7 +80,7 @@ export interface GetDNSSecResult { * }); * ``` */ -export function getDNSSecOutput(args: GetDNSSecOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDNSSecOutput(args: GetDNSSecOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("ns1:index/getDNSSec:getDNSSec", { "zone": args.zone, diff --git a/sdk/nodejs/getMonitoringRegions.ts b/sdk/nodejs/getMonitoringRegions.ts index 1c69783..f72105a 100644 --- a/sdk/nodejs/getMonitoringRegions.ts +++ b/sdk/nodejs/getMonitoringRegions.ts @@ -65,7 +65,7 @@ export interface GetMonitoringRegionsResult { * const example = ns1.getMonitoringRegions({}); * ``` */ -export function getMonitoringRegionsOutput(args?: GetMonitoringRegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMonitoringRegionsOutput(args?: GetMonitoringRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("ns1:index/getMonitoringRegions:getMonitoringRegions", { diff --git a/sdk/nodejs/getNetworks.ts b/sdk/nodejs/getNetworks.ts index b966cd7..a554093 100644 --- a/sdk/nodejs/getNetworks.ts +++ b/sdk/nodejs/getNetworks.ts @@ -56,7 +56,7 @@ export interface GetNetworksResult { * const example = ns1.getNetworks({}); * ``` */ -export function getNetworksOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNetworksOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("ns1:index/getNetworks:getNetworks", { }, opts); diff --git a/sdk/nodejs/getRecord.ts b/sdk/nodejs/getRecord.ts index 067cc37..3f6f9ce 100644 --- a/sdk/nodejs/getRecord.ts +++ b/sdk/nodejs/getRecord.ts @@ -115,7 +115,7 @@ export interface GetRecordResult { * }); * ``` */ -export function getRecordOutput(args: GetRecordOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRecordOutput(args: GetRecordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("ns1:index/getRecord:getRecord", { "domain": args.domain, diff --git a/sdk/nodejs/getZone.ts b/sdk/nodejs/getZone.ts index 153b41b..b49b4e9 100644 --- a/sdk/nodejs/getZone.ts +++ b/sdk/nodejs/getZone.ts @@ -135,7 +135,7 @@ export interface GetZoneResult { * }); * ``` */ -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("ns1:index/getZone:getZone", { "additionalPorts": args.additionalPorts, diff --git a/sdk/python/pulumi_ns1/get_dns_sec.py b/sdk/python/pulumi_ns1/get_dns_sec.py index 42b459b..733bd84 100644 --- a/sdk/python/pulumi_ns1/get_dns_sec.py +++ b/sdk/python/pulumi_ns1/get_dns_sec.py @@ -116,7 +116,7 @@ def get_dns_sec(zone: Optional[str] = None, keys=pulumi.get(__ret__, 'keys'), zone=pulumi.get(__ret__, 'zone')) def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDNSSecResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDNSSecResult]: """ Provides DNSSEC details about a NS1 Zone. @@ -138,7 +138,7 @@ def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['zone'] = zone - 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('ns1:index/getDNSSec:getDNSSec', __args__, opts=opts, typ=GetDNSSecResult) return __ret__.apply(lambda __response__: GetDNSSecResult( delegations=pulumi.get(__response__, 'delegations'), diff --git a/sdk/python/pulumi_ns1/get_monitoring_regions.py b/sdk/python/pulumi_ns1/get_monitoring_regions.py index 86a80ee..0942952 100644 --- a/sdk/python/pulumi_ns1/get_monitoring_regions.py +++ b/sdk/python/pulumi_ns1/get_monitoring_regions.py @@ -92,7 +92,7 @@ def get_monitoring_regions(regions: Optional[Sequence[Union['GetMonitoringRegion id=pulumi.get(__ret__, 'id'), regions=pulumi.get(__ret__, 'regions')) def get_monitoring_regions_output(regions: Optional[pulumi.Input[Optional[Sequence[Union['GetMonitoringRegionsRegionArgs', 'GetMonitoringRegionsRegionArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringRegionsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitoringRegionsResult]: """ Provides details of all available monitoring regions. @@ -112,7 +112,7 @@ def get_monitoring_regions_output(regions: Optional[pulumi.Input[Optional[Sequen """ __args__ = dict() __args__['regions'] = regions - 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('ns1:index/getMonitoringRegions:getMonitoringRegions', __args__, opts=opts, typ=GetMonitoringRegionsResult) return __ret__.apply(lambda __response__: GetMonitoringRegionsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_ns1/get_networks.py b/sdk/python/pulumi_ns1/get_networks.py index 20c20ae..1aa3346 100644 --- a/sdk/python/pulumi_ns1/get_networks.py +++ b/sdk/python/pulumi_ns1/get_networks.py @@ -86,7 +86,7 @@ def get_networks(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNet return AwaitableGetNetworksResult( id=pulumi.get(__ret__, 'id'), networks=pulumi.get(__ret__, 'networks')) -def get_networks_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworksResult]: +def get_networks_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworksResult]: """ Provides details about NS1 Networks. Use this if you would simply like to read information from NS1 into your configurations. For read/write operations, you @@ -103,7 +103,7 @@ def get_networks_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.O ``` """ __args__ = dict() - 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('ns1:index/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult) return __ret__.apply(lambda __response__: GetNetworksResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_ns1/get_record.py b/sdk/python/pulumi_ns1/get_record.py index 747b44c..cc8f790 100644 --- a/sdk/python/pulumi_ns1/get_record.py +++ b/sdk/python/pulumi_ns1/get_record.py @@ -249,7 +249,7 @@ def get_record(domain: Optional[str] = None, def get_record_output(domain: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRecordResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecordResult]: """ Provides details about a NS1 Record. Use this if you would simply like to read information from NS1 into your configurations. For read/write operations, you @@ -276,7 +276,7 @@ def get_record_output(domain: Optional[pulumi.Input[str]] = None, __args__['domain'] = domain __args__['type'] = type __args__['zone'] = zone - 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('ns1:index/getRecord:getRecord', __args__, opts=opts, typ=GetRecordResult) return __ret__.apply(lambda __response__: GetRecordResult( answers=pulumi.get(__response__, 'answers'), diff --git a/sdk/python/pulumi_ns1/get_zone.py b/sdk/python/pulumi_ns1/get_zone.py index 3472e49..44a89eb 100644 --- a/sdk/python/pulumi_ns1/get_zone.py +++ b/sdk/python/pulumi_ns1/get_zone.py @@ -301,7 +301,7 @@ def get_zone_output(additional_ports: Optional[pulumi.Input[Optional[Sequence[in additional_primaries: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, primary_port: Optional[pulumi.Input[Optional[int]]] = None, zone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZoneResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]: """ Provides details about a NS1 Zone. Use this if you would simply like to read information from NS1 into your configurations. For read/write operations, you @@ -327,7 +327,7 @@ def get_zone_output(additional_ports: Optional[pulumi.Input[Optional[Sequence[in __args__['additionalPrimaries'] = additional_primaries __args__['primaryPort'] = primary_port __args__['zone'] = zone - 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('ns1:index/getZone:getZone', __args__, opts=opts, typ=GetZoneResult) return __ret__.apply(lambda __response__: GetZoneResult( additional_ports=pulumi.get(__response__, 'additional_ports'),